You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the "Recommendations" for the 'hmtx' table, there's this sentence:
OpenType fonts that include CFF data must set numberOfHMetrics equal to the number of glyphs in the font and therefore cannot use the “repeat last width” optimization normally available within the 'hmtx' table.
But the specifications for the 'hmtx' and 'hhea' tables don't mention this restriction and implies that numberOfHMetrics works the same in CFF and TrueType flavoured fonts. Similarly, the recommendation for 'hhea' just above says:
It is suggested that monospaced fonts set numberOfHMetrics to three (see 'hmtx').
without any suggestion that this applies only to TrueType-flavoured fonts.
Either the recommendation should be removed, or there should be a statement in the specification of the 'hhea' table that fonts with CFF outlines can't reduce numberOfHMetrics. In the latter case, the situation with CFF2 fonts should also be made clear.
Both FontForge and TTX generate CFF-flavoured OpenType fonts with reduced numberOfHMetrics, which leads me to suspect that the correct resolution is to remove the recommendation.
Description
Under the "Recommendations" for the 'hmtx' table, there's this sentence:
But the specifications for the 'hmtx' and 'hhea' tables don't mention this restriction and implies that numberOfHMetrics works the same in CFF and TrueType flavoured fonts. Similarly, the recommendation for 'hhea' just above says:
without any suggestion that this applies only to TrueType-flavoured fonts.
Either the recommendation should be removed, or there should be a statement in the specification of the 'hhea' table that fonts with CFF outlines can't reduce numberOfHMetrics. In the latter case, the situation with CFF2 fonts should also be made clear.
Both FontForge and TTX generate CFF-flavoured OpenType fonts with reduced numberOfHMetrics, which leads me to suspect that the correct resolution is to remove the recommendation.
Page URL
https://learn.microsoft.com/en-us/typography/opentype/spec/recom
Content source URL
https://github.com/MicrosoftDocs/typography/blob/live/typographydocs/opentype/spec/recom.md
The text was updated successfully, but these errors were encountered: