[Wine]TrueType fonts, 3d modellers and wine

Rein Klazes rklazes at xs4all.nl
Sun Aug 29 02:23:20 CDT 2004


On Sun, 29 Aug 2004 08:00:17 +1000, you wrote:

> Thanks for your suggestions Rein.
> 
> I copied the Betsy Flanagan file to my /windows/Fonts/ directory from 
> /usr/share/fonts/ttf/decoratives/betsy.ttf
> 
> I then ran the program and the same error occured.
> 
> In the font selection dialogue, there is no TTF symbols at all, however, 
> some fonts (including betsy) seem to have a little printer symbol next 
> them, although it might not be a printer. Is that implying some sort of 
> PS font thing is happening or is this the TTF symbol?
> 
> Perhaps I need to rebuild fonts or something? Or maybe the original copy 
> of Betsy is displacing the one in /Fonts/?

It is clear from your description and the log that you are not using
client side font rendering (which is what you need). You will have to
find out why it is not working.

As far as I know these things are needed:
1. the freetype library version 2.0.5 (IIRC) or later. If you compile
wine from source you need the development files as well;
2. font files where Wine can find them. windows\Fonts is the standard
place;
3. there are some configuration options where you can disable client
side font rendering. These are by default 'off', so if you never changed
anything that should be OK.

Perhaps a WINEDEBUG=+font may show the reason why wine cannot use the
clients side rendering. Here is the top of the log on my machine so you
can compare:

|$ WINEDEBUG=+font wine sol
|trace:font:CreateFontIndirectW (12 0 0 0 31 0 0 0 255) L""    => 0x9a
|trace:font:CreateFontIndirectW (12 0 0 0 31 0 0 0 0) L""    => 0x9e
|trace:font:CreateFontIndirectW (12 0 0 0 22 0 0 0 0) L"MS Sans Serif"    => 0xa2
|trace:font:CreateFontIndirectW (16 0 0 0 22 0 0 0 0) L"System"    => 0xa6
|trace:font:CreateFontIndirectW (16 0 0 0 22 0 0 0 0) L""    => 0xaa
|trace:font:CreateFontIndirectW (16 0 0 0 31 0 0 0 0) L""    => 0xae
|trace:font:CreateFontIndirectW (-11 0 0 0 22 0 0 0 0) L"MS Shell Dlg"    => 0xb2
|trace:font:WineEngInit
|trace:font:WineEngInit FreeType version is 2.1.7

followed by lots of lines logging the progress of loading font files:

|trace:font:ReadFontDir Loading fonts from "/home/rein/.wine/dosdevices/d:/WIN98/Fonts"
|trace:font:ReadFontDir Found "ariblk.ttf" in "/home/rein/.wine/dosdevices/d:/WIN98/Fonts"
|trace:font:AddFontFileToList Loading font file "/home/rein/.wine/dosdevices/d:/WIN98/Fonts/ariblk.ttf" index 0
|trace:font:AddFontFileToList fsCsb = 2000009f dfd70000/00000287 00000000 00000000 00000000
|trace:font:AddFontFileToList Added font L"Arial Black" L"Regular"

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl



More information about the wine-users mailing list