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

Improve Black Font Contours #433

Open
RobertWinslow opened this issue Jan 14, 2023 · 2 comments
Open

Improve Black Font Contours #433

RobertWinslow opened this issue Jan 14, 2023 · 2 comments

Comments

@RobertWinslow
Copy link
Contributor

This is a followup to some of the side-discussion from #93

After #422, the quality of the fonts is vastly improved. And the black font in particular now uses a near-universally supported format. Fantastic!

But the fonts still are not perfect. I've generated a table for visually inspecting all the glyphs.
The comparison table can be found here: https://robertwinslow.github.io/openmoji/font/black-font-comparison-table

Preview:

Screen Shot 2023-01-14 at 11 17 28 AM

The first column contains the 72x72 PNG image of the glyph. The second column displays the character using the official black glyf font generated using NanoEmoji. The third column displays the glyph using an alternate version of the font, built using FontForge's (v20220308) importOutlines scripting functionality.

Here's an (atypical but striking) example demonstrating that neither contour generation method has results exactly as desired:
Screen Shot 2023-01-14 at 11 30 02 AM

In some cases, these imperfect contours may be the unavoidable result of bugs in the tools used to create them. In other cases, they may indicate fixable problems in the source SVG files.

@RobertWinslow
Copy link
Contributor Author

Some additional links:

This branch has the html comparison tables I generated, as well as the scripts I used to generate them:
https://github.com/RobertWinslow/openmoji/tree/black-font-comparison-ff-ne

I also generated tables for inspecting individual fonts. See EG:
https://robertwinslow.github.io/openmoji/font/OpenMoji-color-glyf_colr_0/font-comparison-table.html

The color fonts generated by NanoEmoji seem to have very few flaws.

@b-g
Copy link
Member

b-g commented Jan 16, 2023

Very nice comparison table! Thanks! Just as usual there is not a lot of glory in fixing these nitty gritty issues. Not sure whether this will happen soon ...

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

No branches or pull requests

2 participants