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

Bitmap font (bdf) does not display unicode/powerline symbols #29

Open
lfom opened this issue Sep 22, 2020 · 3 comments
Open

Bitmap font (bdf) does not display unicode/powerline symbols #29

lfom opened this issue Sep 22, 2020 · 3 comments
Labels

Comments

@lfom
Copy link

lfom commented Sep 22, 2020

First, thanks for the font and work maintaining it. I am trying to use TamzemForPowerline with uxrt/uxterm/xterm but I cannot get the powerline/unicode symbols to display. Maybe because the font is showing iso8859-1 again (bug #10)?

TamzenForPowerline10x20b.bdf -misc-tamzenforpowerline-bold-r-normal--20-145-100-100-c-100-iso8859-1
TamzenForPowerline10x20r.bdf -misc-tamzenforpowerline-medium-r-normal--20-145-100-100-c-100-iso8859-1
TamzenForPowerline5x9b.bdf -misc-tamzenforpowerline-bold-r-normal--9-65-100-100-c-50-iso8859-1
TamzenForPowerline5x9r.bdf -misc-tamzenforpowerline-medium-r-normal--9-65-100-100-c-50-iso8859-1
TamzenForPowerline6x12b.bdf -misc-tamzenforpowerline-bold-r-normal--12-87-100-100-c-60-iso8859-1
TamzenForPowerline6x12r.bdf -misc-tamzenforpowerline-medium-r-normal--12-87-100-100-c-60-iso8859-1
TamzenForPowerline7x13b.bdf -misc-tamzenforpowerline-bold-r-normal--13-94-100-100-c-70-iso8859-1
TamzenForPowerline7x13r.bdf -misc-tamzenforpowerline-medium-r-normal--13-94-100-100-c-70-iso8859-1
TamzenForPowerline7x14b.bdf -misc-tamzenforpowerline-bold-r-normal--14-101-100-100-c-70-iso8859-1
TamzenForPowerline7x14r.bdf -misc-tamzenforpowerline-medium-r-normal--14-101-100-100-c-70-iso8859-1
TamzenForPowerline8x15b.bdf -misc-tamzenforpowerline-bold-r-normal--15-108-100-100-c-80-iso8859-1
TamzenForPowerline8x15r.bdf -misc-tamzenforpowerline-medium-r-normal--15-108-100-100-c-80-iso8859-1
TamzenForPowerline8x16b.bdf -misc-tamzenforpowerline-bold-r-normal--16-116-100-100-c-80-iso8859-1
TamzenForPowerline8x16r.bdf -misc-tamzenforpowerline-medium-r-normal--16-116-100-100-c-80-iso8859-1

I will try pcf version soon, but if anyone has tips on how to use the bitmap version and display powerline (zsh + Powerlevel10k) fonts properly in uxterm/urxvt it would be awesome.

Regards

@sunaku
Copy link
Owner

sunaku commented Sep 22, 2020

Thanks for reporting this. 🤔 Please try changing iso8859 to iso10646 in the included bdf/fonts.dir file and see if that helps.

@lfom
Copy link
Author

lfom commented Sep 23, 2020

Thanks for reporting this. Please try changing iso8859 to iso10646 in the included bdf/fonts.dir file and see if that helps.

Thanks for the quick reply. Nope, it didn't work: I have changed the sequence in fonts.dir, called xset fp rehash and tried to use it in uxterm, no deal. I guess it is hard-coded in the font files themselves.

FYI, pcf version also is recognized as iso8859.

@sunaku
Copy link
Owner

sunaku commented Feb 25, 2023

You're right, the iso8859 value is indeed hard-coded in the BDF fonts (they're just plain text files) themselves:

$ head -2 bdf/Tamzen10x20r.bdf
STARTFONT 2.1
FONT -Misc-Tamzen-Medium-R-Normal--20-145-100-100-C-100-ISO8859-1

Please try changing the hard-coded values to your desired encoding and see if that solves the problem. Thanks.

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

2 participants