WineHQ
Bug Tracking Database – Bug 4701

 Bugzilla

 

Last modified: 2008-01-28 06:09:52 UTC  

barcode font chosen as "System" .. not good

Bug 4701 - barcode font chosen as "System" .. not good
barcode font chosen as "System" .. not good
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: gdi32
0.9.9.
Other other
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2006-03-03 01:13 UTC by Marcus Meissner
Modified: 2008-01-28 06:09 UTC (History)
2 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
3OF9.TTF (15.23 KB, application/octet-stream)
2006-03-03 01:13 UTC, Marcus Meissner
Details
Notepad Font Selection Screen (8.40 KB, image/png)
2006-04-04 10:15 UTC, Peter Hyman
Details
notepad sentence in System font (4.50 KB, image/png)
2006-04-04 10:16 UTC, Peter Hyman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Meissner 2006-03-03 01:13:06 UTC
some application (dont know which) installed the attached TrueType font 
3OF9.TTF to windows/fonts/ ... 
 
The gets picked as "System" font, making everything unreadable.
Comment 1 Marcus Meissner 2006-03-03 01:13:32 UTC
Created attachment 1970 [details]
3OF9.TTF
Comment 2 Marcus Meissner 2006-03-03 01:15:31 UTC
+font debug trace parts: 
 
trace:font:ReadFontDir Found "3OF9.TTF" in 
"/home/marcus/.wine/dosdevices/c:/windows/fonts" 
trace:font:AddFontFileToList Loading font file 
"/home/marcus/.wine/dosdevices/c:/windows/fonts/3OF9.TTF" index 0 
trace:font:AddFontFileToList fsCsb = 00000001 00000000/00000000 00000000 
00000000 00000000 
trace:font:AddFontFileToList Added font L"3 of 9 Barcode" L"Regular" 
 
... 
 
trace:font:WineEngCreateFontInstance L"System", h=16, it=0, weight=400, 
PandF=22, charset=0 orient 0 escapement 0 
trace:font:WineEngCreateFontInstance not in cache 
trace:font:WineEngCreateFontInstance Chosen: L"3 of 9 Barcode" 
L"Regular" (/home/marcus/.wine/dosdevices/c:/windows/fonts/3OF9.TTF:0) 
trace:font:OpenFontFile 
"/home/marcus/.wine/dosdevices/c:/windows/fonts/3OF9.TTF", 0, 0 x 16 
trace:font:WineEngGetFontData font=0x558f9588, table=584d4456, 
offset=00000000, buf=0x55c3f326, cbData=6 
trace:font:WineEngGetFontData Can't find table 56444d58. 
trace:font:WineEngCreateFontInstance caching: gdiFont=0x558f9588  hfont=0x7c 
trace:font:X11DRV_SelectFont hdc=0x198, hfont=0x7c 
trace:font:X11DRV_SelectFont gdiFont = 0x558f9588 
trace:font:WineEngGetFontData font=0x558f9588, table=70736167, 
offset=00000000, buf=(nil), cbData=0 
trace:font:WineEngGetFontData Can't find table 67617370. 
trace:font:WineEngCreateFontInstance L"System", h=16, it=0, weight=400, 
PandF=22, charset=0 orient 0 escapement 0 
trace:font:WineEngCreateFontInstance returning cached gdiFont(0x558f9588) for 
hFont 0x7c 
trace:font:X11DRV_SelectFont hdc=0x1d8, hfont=0x7c 
trace:font:X11DRV_SelectFont gdiFont = 0x558f9588 
trace:font:CreateFontIndirectW (-11 0 0 0 0 0 0 0 0) L"MS Shell Dlg"    => 
0x1e4 
trace:font:WineEngCreateFontInstance L"MS Shell Dlg", h=-11, it=0, weight=400, 
PandF=00, charset=0 orient 0 escapement 0 
trace:font:WineEngCreateFontInstance not in cache 
trace:font:WineEngCreateFontInstance substituting L"MS Shell Dlg" -> L"Tahoma" 
trace:font:WineEngCreateFontInstance Chosen: L"3 of 9 Barcode" 
L"Regular" (/home/marcus/.wine/dosdevices/c:/windows/fonts/3OF9.TTF:0) 
trace:font:OpenFontFile 
"/home/marcus/.wine/dosdevices/c:/windows/fonts/3OF9.TTF", 0, 0 x -11 
trace:font:WineEngGetFontData font=0x55901050, table=584d4456, 
offset=00000000, buf=0x55c3f606, cbData=6 
trace:font:WineEngGetFontData Can't find table 56444d58. 
trace:font:WineEngCreateFontInstance caching: gdiFont=0x55901050  hfont=0x1e4 
trace:font:X11DRV_SelectFont hdc=0x1d8, hfont=0x1e4 
trace:font:X11DRV_SelectFont gdiFont = 0x55901050 
trace:font:WineEngGetFontData font=0x55901050, table=70736167, 
offset=00000000, buf=(nil), cbData=0 
trace:font:WineEngGetFontData Can't find table 67617370. 
trace:font:WineEngGetOutlineTextMetrics font=0x55901050 
trace:font:WineEngGetOutlineTextMetrics OS/2 winA = 3072 winD = 29 typoA = 
3072 typoD = -29 typoLG = 0 FT_Face a = 3072, d = -49, h = 3121: 
 HORZ a = 3072, d = -49 lg = 0 maxY = 3072 minY = -29 
trace:font:GetTextMetricsW text metrics: 
    Weight = 400         FirstChar = 32  AveCharWidth = 6 
    Italic =   0         LastChar = 9835                 MaxCharWidth = 24 
    UnderLined = 0       DefaultChar = 0         Overhang = 0 
    StruckOut = 0        BreakChar = 32  CharSet = 0 
    PitchAndFamily = 57 
    -------------------- 
    InternalLeading = -3 
    Ascent = 8 
    Descent = 0 
    Height = 8 
 
Comment 3 Peter Hyman 2006-04-04 10:15:41 UTC
Created attachment 2203 [details]
Notepad Font Selection Screen

Any application that requests System font will get nothing but little squares.
wine installed with fontforge and truetype support. First noticed with wine
0.9.10 and now .11 too.
Comment 4 Peter Hyman 2006-04-04 10:16:13 UTC
Created attachment 2204 [details]
notepad sentence in System font
Comment 5 Peter Hyman 2006-04-04 10:18:38 UTC
there are no fonts installed in the windows/fonts directory
Comment 6 Mike McCormack 2006-04-04 10:21:44 UTC
Sounds like you were missing FontForge when Wine was compiled.  Please install
FontForge and recompile the latest CVS/GIT version of Wine.
Comment 7 Peter Hyman 2006-04-04 10:26:21 UTC
peter@mars ~ $ fontforge --version
Copyright (c) 2000-2005 by George Williams.
 Executable based on sources from 12:49 2-May-2005.
fontforge 20050502

from config.log

configure:5606: checking for fontforge
configure:5622: found /usr/bin/fontforge
configure:5632: result: fontforge
Comment 8 Marcus Meissner 2006-04-04 10:38:04 UTC
Why are you hijacking my bugreport???? 
Comment 9 Peter Hyman 2006-04-04 11:12:22 UTC
We both have System font troubles, Marcus. 
Comment 10 Tony Lambregts 2006-04-04 11:18:39 UTC
Peter: This bug report is not about what you are seeing, it is about wine making
a bad choice when there is are fonts in the windows/fonts directory.
Comment 11 Peter Hyman 2006-04-04 11:39:14 UTC
It may be related too. Both instances show a system font that does not work. I
considered opening a new bug, but felt that since both involved System, it made
sense to append. The fact that System was not getting chosen is important.
Comment 12 Peter Hyman 2006-04-04 12:09:53 UTC
See bug #4995 for additional information. I captured some compile-time output
which may be the source of my problems, at least.
Comment 13 Vitaly Lipatov 2006-04-22 11:12:02 UTC
Really, WINE can use first in alphabetical order font from fonts dir instead 
ttf MS Shell Dlg 
Comment 14 Austin English 2008-01-07 10:42:31 UTC
Works fine for me in current wine. Tried installing the barcode font, and it was not chosen as default, even though it is alphabetically first. Resolving fixed.
Comment 15 Dan Kegel 2008-01-28 06:09:52 UTC
Closing all RESOLVED FIXED bugs older than 0.9.54.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers