![]() Why? I have not omited any useful information during regeneration, have I? Or are the new compression algorithms so much better or, perhaps, even lossy? I noticed that the XML files generated by fonttools ttx -o differ, but I'm not in a position to understand whether a loss of useful information is hidden somewhere in the diff. Failed Self Intersecting Glyph Wrong Direction Missing Points at Extrema You can see that while more than a single problem was reported, the essential one is really Missing required table: 'post' (Id really like FontForge repair all the defects, but didnt manage to get that). Anyway, the file got smaller by around 10 kb wrt. The second test is a sanity check on the number of points within any. check will look for missing extrema points. 6,073 views 31 Dislike Share Share vernnobile A short run through. What are the points of a font in FontForge Modern font formats strongly suggest that each path have a point at each of its horizontal and vertical extrema this makes life easier when the font is rendered on screen or on the page. Checking path direction, adding extrema points and removing overlap in FontForge. ![]() ![]() So, I ignore this list and press "Generate" to create the fonts and obtain a brand new TeXGyreTermesMath-Regular.otf of size 522156 b (later: 522148 I don't know why the contents changes between compilations: the file contains a lot of nontextual information, so it cannot be meaningfully inspected in a simple text editor). Fixing missing extrema adds points with non-integral coordinates, then fixing those coordinates causes the points to not be extrema. I use curve points throughout in the light of the enormous number of glyphs involved, I dont want to continuously switch between different types of points, and most hieroglyphs are curved in most places anyway. The detailed information would be too long to review in detail I don't understand it anyway. Two problems in particular: 1) Missing extrema. Next, check to make sure that you have not left any unclosed paths. Glyph containing overlapped hints (in the same hintmask) For sfd fonts it will also notice: Any open contours (more an issue in sfd files than in released fonts) Adjacent points too far apart in a glyph Unknown glyph referenced in GSUB/GPOS/MATH For PostScript fonts it will also notice: More points in a glyph than allowed by PostScript. Hit Control-Shift-D or choose 'Correct Direction' from the 'Element' menu. ![]() Starting with TeX Gyre Termes Math v 1.543, I open the file texgyretermes-math.otf of size 532404 b with fontforge, notice that "Compact" is not checked, press Ctrl+Shift+G to regenerate the fonts into file TeXGyreTermesMath-Regular.otf, leaving all the options at their defaults, and obtain a bunch of errors: ![]()
0 Comments
Leave a Reply. |