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

fontforge 220308 test fail #110

Open
kilobyte opened this issue Jun 24, 2022 · 10 comments
Open

fontforge 220308 test fail #110

kilobyte opened this issue Jun 24, 2022 · 10 comments

Comments

@kilobyte
Copy link
Contributor

As reported in Debian:

CHECKING build/3270-Regular.otf
CHECKING 98 Self-intersecting glyph (issue #2) when FontForge is able to
correct this (overrides general setting)
ERROR 2 Self-intersecting glyph
ERROR 5 Missing points at extrema
FAIL build/3270-Regular.otf

@rbanffy
Copy link
Owner

rbanffy commented Jun 24, 2022

The export to OTF has been creating some low-quality fonts. Would it make sense to drop support to it and only package the TTF version instead?

@kilobyte
Copy link
Contributor Author

It seems to me that neither of the errors would be fixed by switching to TTF. I didn't test, though (not at home atm).

@rbanffy
Copy link
Owner

rbanffy commented Jun 25, 2022 via email

@rbanffy
Copy link
Owner

rbanffy commented Jun 25, 2022 via email

@kilobyte
Copy link
Contributor Author

I run only that test.

In the past, I called the upstream (yours) tests, but there's too much dependency on external network access, thus I gave up and hard-coded the above line.

@rbanffy
Copy link
Owner

rbanffy commented Jun 26, 2022 via email

@kilobyte
Copy link
Contributor Author

I've added -i for now, thanks for the explanations.

@davide125
Copy link

While updating this in Fedora to 3.0.0 I hit the same issue described here. After adding -i 2 -i 5 I have one last error:

+ fontlint -i 98 -i 2 -i 5 build/3270SemiCondensed-Regular.otf
Copyright (c) 2000-2022. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE.
 Version: 20220308
 Based on sources from 2022-06-13 00:00 UTC-ML-D-GDK3.
Attempt to unget two characters
CHECKING     build/3270SemiCondensed-Regular.otf
ERROR      3 Wrong direction
FAIL         build/3270SemiCondensed-Regular.otf

which I've worked around for now by adding -i 3.

@kilobyte
Copy link
Contributor Author

-i 3 ("Wrong direction") wasn't enough, there's also -i 34 ("Bad CFF table"), that's why I disabled all tests altogether in the Debian packaging.

@rbanffy
Copy link
Owner

rbanffy commented Jul 14, 2022

3 seems correctable in the build script. 34 seems more enigmatic (and why in hell would exporting the OTF corrupt a metadata table?!)

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

3 participants