-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Printing issues due to running TTF fonts through a PostScript 3 printer #412
Comments
From https://pypi.org/project/afdko/, 2.5.64958 (released 2015-11-22), there seems to be a reference to this issue:
Further, reliable sources have informed me that some printers use tx under the hood for some operations, and that once a printer ships with PostScript (or a clone of it), that version is never updated with bug patches. So, a problem that existed pre-2015 in tx could very well be lurking in printers or print software today and for many years to come. |
Finding: in almost every case of a glyph that is printed incorrectly, the thing that is misaligned is a nested component. Examples:
Not all rendering errors are due to nested components. On the “OpenType Features” page, glyphs subbed in with stylistic sets are also misaligned in a similar way – even though they are not nested components.
Still, because I am not using stylistic sets in the specimen often, about 99% of the issues are from nested components. And therefore, I will probably still find or make a script to un-nest components and run this on TTFs. |
Test 1: build without TTFautohintIt was suggested to me that TTFautohint may be getting misinterpreted by PostScript 3 (or similar code), and that I should try building the fonts without autohinting. I have done this in a branch and found that results are still bad on my home printer: Test 2: unnest components in buildI will edit the build to un-nest components – hopefully this will work with the ufo2ft filter. (Actually, I now realize that I could just edit this filter in a single UFO, then quickly generate that with FontMake, before running the full build. Obvious, yet it didn’t occur to me at first.) To be continued... |
Okay! Nice, it appears that the TTF prints well if I do two things:
These changes can be automated with ufo2ft filters, placed into a UFO’s lib.plist in this order:
I still need to test this in the full build and in actual specimen layouts, but this seems to solve the problems. Will report additional information when I can conclude all tests. |
Unexpected issue from flattening & decomposing steps: the The Update 1: even if I try to add both Update: After decomposing |
|
The static build is currently blocked on #427. Will explore this further to get things building with the updates. |
See PR #428 for details, but this is now working, as far as I can test at home! Will build a release with this update shortly. |
Printing issues have occurred from printing static TTF fonts via printers using PostScript 3. It seems that these issues can be solved by instead printing with static OTF fonts.
This is a WIP issue meant to document the issue and potential fixes that could be made in TTF files to prevent the issue in future releases.
Possible causes (and things to test):
High-res, offset-printed version:
Photos highlighting the issue:
The text was updated successfully, but these errors were encountered: