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

Fixup synthetic BoldItalic variants. #6

Open
flowchartsman opened this issue Aug 28, 2022 · 1 comment
Open

Fixup synthetic BoldItalic variants. #6

flowchartsman opened this issue Aug 28, 2022 · 1 comment

Comments

@flowchartsman
Copy link
Owner

Thanks to #5 Greybeard now has synthesized BoldItalic variants generated from the italic strikes using mkbold-mkitalic. Unfortunately, the algorithm does not take bounding boxes into account, so anywhere a thickened glyph would run over the edge (usually by a single pixel), it simply cuts off. This isn't too bad, but it's bothering me. I'm sure there's a way to expand the bounding boxes dynamically and to use the bdf analogue of kerning to account for it, but it requires some investigation and, likely, digging into the annals of old xfont utilities.

@flowchartsman
Copy link
Owner Author

Some of the glyphs also have some empty pixels as artifacts of the process. These stand out, and should be dealt with as well. I can't think of a good way to do this other than straight up manual patching, which would be simply awful to do for every glyph Greybeard supports, but might not be too bad for a more limited, more visible subset, such as ASCII.

If I was feeling particularly sassy, I might even backport the synthetic versions to the original .bdf templates, which would probably make dealing with similar characters easier, but let's not get ahead of ourselves here.

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