line height multiline text
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Note that the hight of the font is different to the line spacing the font uses.
The line spacing is supossed to be determined solely by the pointsize of the font. That is actually what pointsize means! The hight of the font itself
is a graphical determination. That is whay you can get some fonts that look very small at a 'normal' pointsize.
For details of finding the various font metrics from the command line
see
http://www.cit.gu.edu.au/~anthony/graph ... #font_info
A more direct method is available from the program API's.
Does anyone have a small program to do this?
The line spacing is supossed to be determined solely by the pointsize of the font. That is actually what pointsize means! The hight of the font itself
is a graphical determination. That is whay you can get some fonts that look very small at a 'normal' pointsize.
For details of finding the various font metrics from the command line
see
http://www.cit.gu.edu.au/~anthony/graph ... #font_info
A more direct method is available from the program API's.
Does anyone have a small program to do this?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/