[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] problem with "MS Sans Serif" font
From: |
Werner LEMBERG |
Subject: |
Re: [ft] problem with "MS Sans Serif" font |
Date: |
Fri, 29 Jan 2010 16:12:42 +0100 (CET) |
> What does the "Invalid Pixel Size" indicate?
sserife is a bitmap font which can't be scaled. The error means that
at the selected size there isn't a proper face available.
> The below command fails with invalid pixel size (although on Windows
> the screen output resolution is 96dpi).
>
> ftview -r 96 11 sserife.fon
Don't mix up pixel size (which is absolute) and point size (which is
relative to the selected DPI value). 11pt for 72dpi means a glyph
height of 11 pixels; 11pt for 96dpi, however, is 15 pixels (rounded),
and this size isn't available in the font. At 72dpi, the font
contains faces for 11pt, 13pt, 16pt, 19pt, 24pt, and 32pt. At 96dpi,
you get faces for 8pt, 10pt, 12pt, 14pt, 18pt, and 24pt.
> Also, I'm able to use this font in WordPad, for example, and pick 8,
> 10, 11, etc. point sizes and it works.
If you select a font size in WordPad which is not in the font
(e.g. 11pt at 96dpi), you either get glyphs from a different, scalable
font, or Windows does indeed apply scaling to a bitmap font which
should produce horrible optical results.
Werner
- [ft] problem with "MS Sans Serif" font, Dave Calkins, 2010/01/28
- Re: [ft] problem with "MS Sans Serif" font,
Werner LEMBERG <=
- Re: [ft] problem with "MS Sans Serif" font, Dave Calkins, 2010/01/29
- Re: [ft] problem with "MS Sans Serif" font, Werner LEMBERG, 2010/01/29
- Re: [ft] problem with "MS Sans Serif" font, Dave Calkins, 2010/01/29
- Re: [ft] problem with "MS Sans Serif" font, Dave Calkins, 2010/01/29
- Re: [ft] problem with "MS Sans Serif" font, Dave Calkins, 2010/01/29
- Re: [ft] problem with "MS Sans Serif" font, Werner LEMBERG, 2010/01/29