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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greeh phi symbol U+03D5 missing from TTF format #689

Closed
mdealencar opened this issue Sep 28, 2020 · 7 comments
Closed

Greeh phi symbol U+03D5 missing from TTF format #689

mdealencar opened this issue Sep 28, 2020 · 7 comments
Labels

Comments

@mdealencar
Copy link

From the issue #565, it seems like that there is a glyph for U+03D5 in Iosevka. But I'm using the ttf fonts and this symbol is not being found (some programs replace it with another fonts' glyph, others with a placeholder).


  • Your font version: 3.6.2
  • Your font variant:
  • Your operating system (name and version): Debian Linux testing
  • Your application using Iosevka: terminal, jupyter-lab, xelatex
@be5invis
Copy link
Owner

Tested the latest build and the glyph is there. Could you please perform a clean uninstall, clear font cache, and reinstall?

@zero00072
Copy link

zero00072 commented Sep 29, 2020

There is nothing wrong at mine, too.

I think this may help:
$ sudo fc-cache -r
$ sudo shutdown -r 0

man
result

@mdealencar
Copy link
Author

Thanks for the reply. I found the problem with another font that also has the glyph. It must be some problem in my system.

The other Greek letters work fine (such as the phi's at U+03C6 φ and U+03A6 Φ). As a workaround, I' using the phi at U+0278 ɸ.

I don't understand enough about the handling of unicode on Linux to figure this out.

@alerque
Copy link

alerque commented Sep 29, 2020

You probably have a special confutation stuffed in fontconfig to override the font for a specific character or range. Sometimes misguided package maintainers think it's cute to package things like this with fonts installation. Some Magic Greek Font™ that you installed packages for may have thought it in your best interest to hijack this symbol.

What Linux distro are you using? Edit: I see you mentioned this was Debian. I would first do an audit of what other fonts you've installed that cover Greek. Also scan your /etc/fonts/conf.d folder for any config files that look suspicious. The conf files in there can do different things some of which are good, but it's possible to do bad things like this too.

Emoji fonts and symbol packages are notorious for doing stuff like this.

@be5invis
Copy link
Owner

Closing as external.

@mdealencar
Copy link
Author

I apologize for the bogus bug report.

I got it sorted out now: when I was looking for the phi symbol ϕ (instead of the φ U+03C6 I was getting with the <dead_greek>+<f> combination), I used "\phi" with MathJax to get the desired phi shape (𝜙) and copy-pasted it. Later, when I started having problems, I found out about U+03D5 (ϕ) and I wrongly assumed I was using it, when 𝜙 is actually code U+1D719 (Mathematical Italic Phi Symbol) in the Mathematical Alphanumeric Symbols block.

I wish I knew a better way of converting from the character to its code, but I will leave here what finally got me on the right track:
In ipython (or jupyter):

In [1]: hex(ord('𝜙'))
Out[1]: '0x1d719'

@alerque
Copy link

alerque commented Sep 29, 2020

@mdealencar In vim you cat get the code for the character under the cursor with ga. Some plugins expand the information given with details from UCD or elsewhere. Many other editors have similar features (or plugins), I just don't know them off the top of my head. There are also quite a few tools online to do such lookups. Here is one

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

No branches or pull requests

4 participants