http://bugs.winehq.org/show_bug.cgi?id=30652
Bug #: 30652
Summary: Wrong TextOut font substitution under en_US locale
Product: Wine
Version: 1.5.4
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdi32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: hqm03ster(a)gmail.com
Classification: Unclassified
Created attachment 40125
--> http://bugs.winehq.org/attachment.cgi?id=40125
The screenshots, test code, and test font
The test program "tunihan.c" behaves differently on Windows and Wine (under
linux). When a Unicode string containing CJK characters is TextOut-ed using a
custom font, Wine font substitution isn't working properly like Windows does.
To reproduce:
1. Install the font "nkf11_magicum_texturae.ttf". The font can be downloaded
for free at:
http://hwm3.gyao.ne.jp/shiroi-niwatori/nkf11_magicum_texturae.zip
Windows standard CJK fonts NSimSun, PMingLiu, MS UI Gothic, Tahoma are also
required to completely reproduce the attached screenshots.
2. Compile attached tunihan.c using MinGW on Windows with command line:
gcc -otunihan.exe tunihan.c -lgdi32
3. Run the generated tunihan.exe under Windows, with global non-Unicode program
locale set to English (US). Attached screenshot "enUS-windows.png" should be
reproduced.
4. Copy/link all Windows fonts into Wine.
5. Run the generated tunihan.exe under Wine using command line:
LANG=en_US.utf8 wine tunihan.exe
Attacehed screenshot "enUS-linux.png" should be reproduced.
Test environment:
Windows: A Chinese Edition of Windows 7 with global non-Unicode program locale
set to English (US).
Wine: Wine 1.5.4 on Arch Linux 3.3.5, with all windows fonts symlinked into
"C:\windows\Fonts" in Wine.
Notes:
A. The attached font, "nkf11_magicum_texturae.ttf", is an incomplete fictional
glyph set for ASCII characters. It is chosen as a test font because it is
missing glyphs for a number of ASCII symbols (e.g. '[', ']'), is clearly
distinguishable from any potential substitution font, and is clearly not a
Windows standard font.
B. This behavior can't be reproduced using AppLocale. The Windows machine must
have its global non-Unicode program locale set to English (US).
C. tunihan.c writes 7 lines of texts to a Window:
Line 1: A line of ASCII/CJK characters in a Simplified Chinese font
Line 2: A line of ASCII/CJK characters in a Traditional Chinese font
Line 3: A line of ASCII/CJK characters in a Japanese font
Line 4: A line of ASCII/CJK characters in the test font
Line 5: A line of ASCII characters in the test font, using TextOutW
Line 6: A line of ASCII characters in the test font, using TextOutA
Line 7: A line of ASCII/CJK characters in Tahoma
In line 4, Windows is providing font substitution for the test font through a
Japanese substitution font (deduced from unified Han character shape), thus
displaying all ASCII/CJK characters correctly, despite that there isn't such a
rule defined in the registry. Wine failed to do the same.
On the other hand, Windows doesn't provide the same font substitution if a
completely-ASCII string is TextOut-ed.
The CJK characters are chosen to include both unified Han characters with a
different shape in each font and non-unified characters for each individual
font.
Implications:
1. This bug may be related to a few weird CJK script rendering problems.
2. This bug may be related to a few western font rendering problems when CJK
fonts are installed.
3. I'm not sure if the issue is even CJK related. Windows could be using
similar font substitution for other scripts like Hebrew.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=3507
--- Comment #15 from Ken Sharp <imwellcushtymelike(a)gmail.com> ---
Probably unchanged.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=3680
Ken Sharp <imwellcushtymelike(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #13 from Ken Sharp <imwellcushtymelike(a)gmail.com> ---
Let's say that it is...
--
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.
https://bugs.winehq.org/show_bug.cgi?id=4291
Ken Sharp <imwellcushtymelike(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |Abandoned?
--- Comment #25 from Ken Sharp <imwellcushtymelike(a)gmail.com> ---
Is this still an issue in Wine 1.7.45 or later?
--
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.
https://bugs.winehq.org/show_bug.cgi?id=3845
--- Comment #15 from Ken Sharp <imwellcushtymelike(a)gmail.com> ---
Is this still an issue in Wine 1.7.45 or later?
--
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.
https://bugs.winehq.org/show_bug.cgi?id=8183
Ken Sharp <imwellcushtymelike(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |ABANDONED
--- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> ---
Abandoned
--
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.
https://bugs.winehq.org/show_bug.cgi?id=8532
Ken Sharp <imwellcushtymelike(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |Abandoned?
Version|unspecified |0.9.53.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=2624
--- Comment #31 from Artem S. Tashkinov <t.artem(a)mailcity.com> ---
(In reply to Ken Sharp from comment #30)
> Is this still an issue in Wine 1.7.45 or later?
Yep.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=14085
Summary: an importlib for multiple dlls is not supported
(avicap32 + avifil32 + msvfw32 => vfw32)
Product: Wine
Version: 1.0.0
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: source
Severity: normal
Priority: P2
Component: build-env
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wine.dev(a)web.de
The Wine build-env does not support a single importlib for multiple dlls.
Microsoft use this for vfw32.lib (avicap32.dll + avifil32.dll + msvfw32.dll)
According to julliard on IRC, the needed magic in winebuild is the Problem.
The importlib vfw32 is needed for the Wine testsuite:
http://www.winehq.org/pipermail/wine-patches/2008-June/056310.html
--
By by ... Detlef
--
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.
http://bugs.winehq.org/show_bug.cgi?id=20390
Summary: chromium ipc_tests.exe hangs sometimes on
IPCSyncChannelTest.Multiple
Product: Wine
Version: 1.1.31
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: ntdll
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
wine ipc_tests.exe --gtest_filter=IPCSyncChannelTest.Multiple
hung on the second run here on wine, but didn't hang in the eight runs I did on
Windows.
Source for the test is at
http://src.chromium.org/viewvc/chrome/trunk/src/ipc/ipc_sync_channel_unitte…
though it uses a bunch of classes and will be hard to extract.
--
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.