kohler / lcdf-typetools

Utilities for manipulating OpenType, PostScript Type 1, and Multiple Master fonts.
GNU General Public License v2.0
141 stars 17 forks source link

Wishlist: let utfinfo show the axes of variable fonts (i.e., dump the fvar table in a human readable form) #30

Closed callegar closed 10 months ago

callegar commented 3 years ago

Variable otf fonts are often not very well documented. LuaTeX has started supporting them, however the names of the axes and the boundaries of variation need to be known. Having otfinfo provide this data would be quite useful.

ousia commented 1 year ago

@callegar,

I wanted to request a feature show axes for variable fonts and I discovered your request.

How about simplifying at least the title?

@kohler, it would be great that otfinfo -a, --axes would display the names of the axes contained in variable fonts.

Many thanks for your help to you both.

kohler commented 10 months ago

0aee259378c3848ae9016cd204c4beb51d19cd24 adds a version of this feature. Sample output:

Axis 0:         wght Weight
Axis 0 range:   300 800
Axis 0 default: 400
Axis 1:         wdth Width
Axis 1 range:   75 100
Axis 1 default: 100
ousia commented 10 months ago

Many thanks for the implementation, @kohler.