http://bugs.winehq.org/show_bug.cgi?id=29610
Bug #: 29610 Summary: some visual basic applications use wrong (first available) font Product: Wine Version: 1.3.36 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wine@discordia.ch Classification: Unclassified
Some Visual Basic applications just use the first available font:
trace:font:freetype_SelectFont Chosen: L"10.15 Saturday Night BRK" L"Regular" (/home/user/.wine/dosdevices/g:/aenigma/1015sn.ttf/(nil):0)
if I chmod 000 the font, it uses the next in the directory (aenigma/18holes.ttf) and so on. Note that the microsoft corefonts would be available as well.
An application in which this happens is http://code.google.com/p/epub-metadata-editor/downloads/detail?name=EPubMeta...
Also, it seems that Software\Wine\Fonts\External Fonts gets updated every time wine is run, so I can't even change the order there. Apart from unmapping the font directories there seems to be no solution.
http://bugs.winehq.org/show_bug.cgi?id=29610
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-01-15 06:39:22 CST --- I can't confirm this in 1.3.37. What is that drive G you have? Tested in a clean prefix with winetricks corefonts + dotnet20. What program screen is affected? Can you attach a screenshot?
This is what I see in the +font log: trace:font:freetype_SelectFont Chosen: L"System" L"Regular" (/usr/local/bin/../share/wine/fonts/vgasys.fon/(nil):0)
http://bugs.winehq.org/show_bug.cgi?id=29610
--- Comment #2 from wine@discordia.ch wine@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@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.
http://bugs.winehq.org/show_bug.cgi?id=29610
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-01-15 08:34:31 CST --- I have created the G drive pointing to the same place you did and i have the ttf-aenigma package installed too. When I open the application what should I do to see the error? Can you post an screenshot of the wrong behavior?
http://bugs.winehq.org/show_bug.cgi?id=29610
--- Comment #4 from wine@discordia.ch wine@discordia.ch 2012-01-15 09:07:40 CST --- Created attachment 38359 --> http://bugs.winehq.org/attachment.cgi?id=38359 Screenshot showing the Wrong Font in the VB-App EPubMetadataEditor.exe
http://bugs.winehq.org/show_bug.cgi?id=29610
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
http://bugs.winehq.org/show_bug.cgi?id=29610
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2012-01-15 12:39:28 CST --- Created attachment 38368 --> http://bugs.winehq.org/attachment.cgi?id=38368 1.3.37 app main screen
I still can't confirm it as you can see in my attachment. I have reinstalled the application in a clean prefix + winetricks dotnet20 corefonts. Mapped the drive G to the same place you did and run the app. The screenshot attached is from the main screen. I don't know why this happens, maybe another user can give us a hand or a hint.
http://bugs.winehq.org/show_bug.cgi?id=29610
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=29610
german_ant_82@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |33037
http://bugs.winehq.org/show_bug.cgi?id=29610
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|33037 |
https://bugs.winehq.org/show_bug.cgi?id=29610
--- Comment #6 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over 700 days. Is this still an issue in current (1.7.36 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=29610
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=29610
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Status|UNCONFIRMED |RESOLVED URL| |https://github.com/benchen7 | |1/epub-metadata-editor Resolution|--- |WORKSFORME Summary|some visual basic |EPUB Metadata Editor (VB |applications use wrong |app) uses incorrect fonts |(first available) font |(substitution)
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving 'WORKSFORME' here since it works for Bruno and OP didn't bother to respond.
Regards
https://bugs.winehq.org/show_bug.cgi?id=29610
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.