[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] BDF/PCF SetPixelSizes behavior changed?
From: |
Christian Demmer |
Subject: |
[ft] BDF/PCF SetPixelSizes behavior changed? |
Date: |
Fri, 01 Apr 2005 17:58:38 +0200 |
Hello,
I just updated to current CVS and observed a changed behavior in
err := FT.SetPixelSizes(font.face, 0, ptsize);
which fails and returns error 23 when called with ptsize = 12 for the
font below. ftview appears to have the same problem but can display the
font if the point size is adjusted to 15.
What is correct and why?
Thanks for your help,
Christian
Chicago.12.bdf header:
STARTFONT 2.1
FONT -Fondu-Chicago-Medium-R-Normal--12-120-72-72-P-79-MacRoman-1
SIZE 12 72 72
FONTBOUNDINGBOX 13 15 -1 -3
COMMENT Created by Fondu from a mac NFNT/FONT resource
STARTPROPERTIES 17
FOUNDRY "Fondu"
FAMILY_NAME "Chicago"
WEIGHT_NAME "Medium"
SLANT "R"
SETWIDTH_NAME "Normal"
ADD_STYLE_NAME ""
PIXEL_SIZE 12
POINT_SIZE 120
RESOLUTION_X 72
RESOLUTION_Y 72
SPACING "P"
AVERAGE_WIDTH 79
CHARSET_REGISTRY "MacRoman"
CHARSET_ENCODING "1"
FONT_ASCENT 12
FONT_DESCENT 3
FACE_NAME "Chicago"
ENDPROPERTIES
CHARS 243
STARTCHAR eth
ENCODING 2
SWIDTH 1000 0
DWIDTH 12 0
BBX 9 7 1 1
BITMAP
0080
...
- [ft] BDF/PCF SetPixelSizes behavior changed?,
Christian Demmer <=