Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

\Omega is not rendered #2

Closed
zcysxy opened this issue May 27, 2022 · 4 comments
Closed

\Omega is not rendered #2

zcysxy opened this issue May 27, 2022 · 4 comments

Comments

@zcysxy
Copy link

zcysxy commented May 27, 2022

A super weird bug 馃ぃ: \Omega is not rendered. A minimal working example:

\begin{document}
\begin{tikzpicture}
\draw (0,0) node {$x\omega\Omega\Gamma$};
\end{tikzpicture}
\end{document}

The result is $x\omega\Gamma$, the $\Omega$ is missing 馃槀

@artisticat1
Copy link
Owner

Weird! I'll try to look into this when I have time.

@artisticat1
Copy link
Owner

Do you know whether this happens with any other symbols?

@zcysxy
Copy link
Author

zcysxy commented May 29, 2022

I tested common greek letters and math symbols, and found another one: \otimes.

Unlike wrong syntax or unsupported packages like \mathbb, which break the output image, \Omega and \otimes take up some space but are not rendered.

image

@artisticat1
Copy link
Owner

Thanks, that was useful info!

It turns out that \Omega and \otimes were represented by the "soft hyphen" character in unicode, which is invisible. I came up with a hacky workaround where I patch the fonts and move the soft hyphen glyph to a different character.

This is now solved in 0.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants