[Bug 29610] some visual basic applications use wrong (first available) font

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 15 07:42:07 CST 2012


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

--- Comment #2 from wine at discordia.ch <wine at discordia.ch> 2012-01-15 07:42:07 CST ---
It does that too, plus it searches all the fonts and selects a load of fonts: 

WINEDEBUG="+font"  wine EPubMetadataEditor.exe 2> FONTERR
grep "freetype_SelectFont Chosen" FONTERR 

trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Bold"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahomabd.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Bold"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahomabd.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Bold"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahomabd.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Bold"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahomabd.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"System" L"Regular"
(/usr/bin/../share/wine/fonts/vgasys.fon/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"18 Holes BRK" L"Normal"
(/usr/share/fonts/truetype/aenigma/18holes.ttf/(nil):0)
trace:font:freetype_SelectFont Chosen: L"Tahoma" L"Regular"
(/home/user/.wine/dosdevices/c:/windows/Fonts/tahoma.ttf/(nil):0)

(this is with 1015sn.ttf chmoded 000, so it just took the next in line. Debian
font package in that case is ttf-aenigma. Removing it makes it take the next
directory which in this case would be arphic and of course totally illegible
for non chinese speakers).

Drive g: is a symlink to the system font-directory: 

user at host:~/.wine/dosdevices$ ls -l g: 
lrwxrwxrwx 1 user user 26 Dez 18  2010 g: -> /usr/share/fonts/truetype/


Yes, I realize that the obvious solution would be to remove that one from wine,
but as I'm doing OCR, I sometimes need a lot of fonts.

-- 
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