Replies: 3 comments 3 replies
-
Table tags are case sensitive in the font, so it makes sense for them to be case sensitive in a command line interface. While in the official set of tables there don't seem to be two table tags that would be same when case-folded, this isn't guaranteed for the future, and could also collide with any private tables. |
Beta Was this translation helpful? Give feedback.
-
In addition to what @justvanrossum and @anthrotype said, there is at least one existing case of two font tables with the same tag but different case: Apple’s AAT has |
Beta Was this translation helpful? Give feedback.
-
Thanks, learning something new every day! Nevertheless, I find the behavior somewhat cumbersome. I understand that a workaround would require checking for these edge cases, so I don’t expect this suggestion to get much traction. FWIW, a related issue: #972 |
Beta Was this translation helpful? Give feedback.
-
When using ttx on the command line, this works:
ttx -t OS/2 font.otf
but this doesn’t:
ttx -t os/2 font.otf
Of course, eventually I end up remembering which table tab is all-caps, and which isn’t – but I can see others making the same mistake. For example – why is it
avar
,fvar
, butMVAR
? My improvement suggestion would be to allow both upper-and lowercase spelling for all table tags.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions