Two font problems
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Wed Jul 9 08:54:03 CDT 2003
On Wed, Jul 09, 2003 at 10:32:22AM +0100, E Lea wrote:
> I'm having what seem to be two unrelated font issues with a CAD program.
> The first is concerned with selecting a font. The program seems to use a
> fairly non-standard intreface for doing this - you can set font size in mm
> for example. When the dialog opens this message is printed to stdout:
> fixme:commdlg:CFn_WMInitDialog No founds found with truetype only, dropping
> I am assuming that this is a case for s/founds/fonts/ or not? The dialog
> does give the option of TTFs, and previews them, although only very small,
> possibly the smallest size available.
> The second problem occurs when the program actually tries to add the
> specified text to the CAD drawing. This message is printed to stdout:
> err:font:XFONT_RealizeFont plf->lfHeight = -2048, Creating a 100 pixel font
> and rescaling metrics
> and a windows error style message box is produced that has the message
> "Error! GetGlyphOutline failed. Unable to get character outline.". The
> program is clearly trying to convert the text to a vector graphic so that it
> can treat it like any other shape, but failing.
> Should I file two bug reports about this? The software is commercial and so
> I can not provide a copy for anyone to reproduce this error.
You need to get client side font rendering working. Currently you're
defaulting back to server side X11 fonts that will appear to the app
as if they are device fonts. To get client side rendering working you
need a working freetype config and some TrueType fonts in a directory
listed in the [Fontdirs] section of the config file.
A --debugmsg +font trace should tell you where things are going wrong.
huw at codeweavers.com
More information about the wine-devel