Hi,
we have a pdf generator running with wine, started on an X Server the results are as we expected.
Running on a terminal without X, the fonts are rendered useless and acrobat complains about the file.
I found out, that GetOutlineTextMetrics delivers very different results with our test programm:
On an X Term:
Font Arial, 20, PixperInch 96
Font:Arial
OTM SIZE:246
OTM HEIGHT:1117
OTM ASCEND:905
OTM DESCEND:212
OTM INTLEAD:117
OTM EXTLEAD:33
OTM ACWIDTH:441
OTM MAXCW:2693
OTM WEIGHT:400
OTM OHANG:0
OTM DIGASPX:300
OTM DIGASPY:300
OTM ITALIC:0
OTM UL:0
OTM STRUCKO:0
OTM PFAMILY:39
OTM CSET:0
FILLER:0
FS SEL:64
FS TYPE:0
CSLOPERISE:1
CSLOPERUN:0
IT ANGLE:0
EMSQUARE:2048
ASCEND:728
DESENT:-210
LINEGAP:150
CAP EM HEIGHT:0
XHEIGHT:0
FONTBOX L:-665
FONTBOX T:1037
FONTBOX R:2028
FONTBOX B:-325
On a terminal without X:
Font:Arial
OTM SIZE:212
OTM HEIGHT:1
OTM ASCEND:0
OTM DESCEND:0
OTM INTLEAD:0
OTM EXTLEAD:0
OTM ACWIDTH:1
OTM MAXCW:1
OTM WEIGHT:500
OTM OHANG:0
OTM DIGASPX:1
OTM DIGASPY:1
OTM ITALIC:0
OTM UL:0
OTM STRUCKO:0
OTM PFAMILY:9
OTM CSET:0
FILLER:0
FS SEL:0
FS TYPE:0
CSLOPERISE:0
CSLOPERUN:0
IT ANGLE:0
EMSQUARE:0
ASCEND:0
DESENT:0
LINEGAP:0
CAP EM HEIGHT:0
XHEIGHT:0
FONTBOX L:0
FONTBOX T:0
FONTBOX R:0
FONTBOX B:0
Values are useless running without X.
Is there any solution to this problem ? Setting fonts, etc ?
You can get the test application from me.
Thanks a lot,
Franz Schober
franz.schober@firmos.at