[LAD] Setting fonts in pixels rather than points

Paul Davis paul at linuxaudiosystems.com
Sat Dec 26 14:48:55 UTC 2009


On Sat, Dec 26, 2009 at 9:31 AM, Jens M Andreasen
<jens.andreasen at comhem.se> wrote:
> [Dots per inch makes little sense when the target could be a cinema
> sized 800x600 projector as well as a handheld with similar resolution]

the point size specification given to Pango is already "a lie". if you
ask for "Sans 10", you don't get "Sans 10", you get something that the
GUI toolkit believes looks roughly like "Sans 10" for the display
configuration you are using (precisely for the reason you noted).

There is a list of "standard" fonts that any given GUI toolkit can
expect to be able to use. I can't recall where it lives (its probably
toolkit specific), but AFAIR, the 5 that you listed are not on it.



More information about the Linux-audio-dev mailing list