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

bi-width fonts #48

Open
hackerb9 opened this issue Sep 16, 2019 · 1 comment
Open

bi-width fonts #48

hackerb9 opened this issue Sep 16, 2019 · 1 comment
Assignees

Comments

@hackerb9
Copy link

w3m sony.jp

The README states that multiple fonts can be used, but they must all be the same size. What's not mentioned is that if one uses a single font that is multiple sizes, yaft works correctly. [See example.]

biwidthfontexample

Here you can see I am editing a text file that has characters of different widths. I am using a bi-width font I downloaded from http://openlab.ring.gr.jp/efont/unicode/ called "b24.bdf". b24.bdf.gz

I suggest the README perhaps should mention the possibility of a using a bi-width font.

Also, it would be nice if mkfont_bdf would correctly merge two fonts (one narrow and one wide) into glyph.h. If that's not possible, please consider implementing an option like xterm has to specify a second font just for wide font characters.

Thank you.

@uobikiemukot uobikiemukot self-assigned this Sep 24, 2019
@uobikiemukot
Copy link
Owner

Yes, mkfont_bdf allows bi-width font (requires that narrow font has just half width of wide font).
Usually Japanese fonts is a bi-width font, So I forgot to mention it in README.
I'll update README.

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