[Bug 13129] Jumbled fonts in Persona Windows client

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 22 07:30:28 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=13129





--- Comment #10 from Rein Klazes <wijn at online.nl>  2009-08-22 07:30:26 ---
(In reply to comment #9)
> I did a little more exploring, and I found that the app actually had installed
> psfascii.ttf to drive_c/users/dimesio/Application Data/Esker/Persona Windows
> Client/Fonts. I copied the file to the windows/fonts directory, but had to
> delete the registry key entirely to get the app to use it (the app recreates
> that key on startup if it is missing). Once I did that, the font displayed
> fine. 

Does not work here: only once the program shows normal characters. Starting the
next time reverts to the symbol font.

It is also not true that wine cannot find/use the font in the application data
directory: 

0009:Call gdi32.AddFontResourceA(0015089c
"C:\\windows\\profiles\\rein\\Applicatie Data\\Esker\\Persona Windows
Client\\Fonts\\psfascii.TTF") ret=0040a6c1
0009:trace:font:AddFontToList Loading font file
"/home/rein/.winetest/dosdevices/c:/windows/profiles/rein/Applicatie
Data/Esker/Persona Windows Client/Fonts/psfascii.TTF" index 0
0009:trace:font:AddFontToList fsCsb = 00000001 00000000/00000000 00000000
00000000 00000000
0009:trace:font:AddFontToList Added font L"PsfASCII" L"Roman"
0009:Ret  gdi32.AddFontResourceA() retval=00000001 ret=0040a6c1

The problem is I think that on XP the font dialog shows as a "Symbol" font. On
wine it is a regular font. Checked using notepad.

Thus when the applications requests loading the "psfascii" font it specifies
the characterset "SYMBOL". Wine's fontmapper returns some symbol font, but not
psfascii since that does not fulfills the basic requirement:

0009:Call gdi32.SelectObject(00000314,000054f4) ret=0040bbb2
0009:trace:font:WineEngCreateFontInstance L"PsfASCII", h=43, it=0, weight=400,
PandF=00, charset=2 orient 0 escapement 0
0009:trace:font:WineEngCreateFontInstance DC transform 1.000000 0.000000
0.000000 1.000000
0009:trace:font:WineEngCreateFontInstance not in cache
0009:trace:font:WineEngCreateFontInstance (it=0, bd=0) is selected for (it=0,
bd=0)
0009:trace:font:WineEngCreateFontInstance Chosen: L"Inkpen2 Special" L"Regular"
(/home/rein/.winetest/dosdevices/c:/windows/Fonts/Ink2spec.TTF/(nil):0)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list