8000 Improper Glyphs · Issue #21 · stark/siji · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

Improper Glyphs #21

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

Open
iyzg opened this issue Apr 29, 2018 · 3 comments
Open

Improper Glyphs #21

iyzg opened this issue Apr 29, 2018 · 3 comments

Comments

@iyzg
Copy link
iyzg commented Apr 29, 2018

I'm trying to use the glyphs but besides my polybar config where I specify the font, the fonts show up as something else entirely when I use them in scripts. For example, in my time script, the circle clock shows up as a curly a. How can I fix this?

@ghost
Copy link
ghost commented Apr 29, 2018

not sure if I understand your problem, but I'm betting you specified the font as "Siji" and it's not getting found. You can use the fc-list utility to see what fonts you have installed for X (fc-list | grep iji to specifically search for Siji).

output of above command for my Arch Linux install:
/usr/share/fonts/misc/siji.pcf: Wuncon Siji:style=regular

output of above command for my Void Linux install:
/usr/share/fonts/misc/siji.pcf: Siji:style=Regular

I cannot reason why this happens, I used the install script for both. Check the output of fc-list, you might be using the wrong font.

@iyzg
Copy link
Author
iyzg commented Apr 30, 2018

So I have it installed, but when I try using like the first 20 glyphs copied from gucharmap they show up as something else. In polybar it's fine because I haveSiji set as my first font, but I can't do that in a bash script. How do I get it so that the Wuncon Siji glyphs take priority over the ones included with Iosevka (Nerd Font Patched)?

@ghost
Copy link
ghost commented Apr 30, 2018

as far as my understanding for X fonts goes, X will always search for a character until it finds one. If a font doesn't cover a specific char, X will search for that char in all subsequent fonts, until it either finds one or defaults to some other char. This means that you could probably specify Siji as your first font, Iosevka as your second, as Siji only has glyphs, no chars of the latin alphabet. However, if Siji and Iosevka have conflicting glyphs, which means glyphs that map to the same char, the situation gets much more complicated. You'd have to create a non overlapping version of Siji and Iosevka. I don't have any expertise on that though.

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

1 participant
0