2 edited tags
| link
1
source | link

extract bounding box dimensions for TrueType font

On Linux, I can easily extract the height / width / ascent / descent dimensions of Xorg fonts via xlsfonts, e.g.

$ xlsfonts -ll -fn 9x15 | egrep 'bounds|max'
  bounds:               width left  right  asc  desc   attr   keysym
        max                9     4     9    12     3  0x0000

How can I extract the same information from a TrueType font I have installed?