hi have a problem, i need to retreive the face name of a font when printing under windows
The face name shoul not have any space in it. This face name is used when printing under windows to a postscript driver.
ex . the face name of the font Avant Garde is
AvantGarde-Book. This was found in the postscript file after
the job was printed.
I have tried to play with the GetOutlineTextMetrics(hDC,nByte , psOt) window Function. The result was that there is nothing comparable to the postscript file name font. The problem is only accuring with True Type fonts.
Is there a proper way to retreive such information. Need Help .........
I have tried the ENUMLOGFONTEX, NEWTEXTMETRIC, and nothing
Can GetFontData() help me, if yes are there some good example.