https://bugs.winehq.org/show_bug.cgi?id=54814
Bug ID: 54814 Summary: Tahoma font cannot display Chinese correctly Product: Wine Version: 8.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: 399989567@qq.com Distribution: ---
Created attachment 74306 --> https://bugs.winehq.org/attachment.cgi?id=74306 Tahoma_cannot_show
Some Chinese characters will be displayed as squares. I checked and found that Tahoma does not have the corresponding glyphs for these characters, but should we provide a replacement solution so that the fonts can be rendered normally. I have modified some contents of the registry to enable Chinese to be displayed, but the displayed width is incorrect
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #1 from 399989567@qq.com --- Created attachment 74307 --> https://bugs.winehq.org/attachment.cgi?id=74307 create_font.exe
A demo that can be used
https://bugs.winehq.org/show_bug.cgi?id=54814
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- Does it work in a real windows box with Tahoma font?
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- (In reply to joaopa from comment #2)
Does it work in a real windows box with Tahoma font?
That's actually a good question. Personally I've stumbled at least once upon a Unity game that wanted a default font (Arial), but expected it to have CJK glyphs.
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- I believe neither of them, Tahoma or Arial, have CJK support on Windows.
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #5 from 399989567@qq.com --- (In reply to joaopa from comment #2)
Does it work in a real windows box with Tahoma font?
Windows has a font replacement logic, so that even if you set the font used as Tahoma, Chinese can be displayed normally
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #6 from 399989567@qq.com --- (In reply to Nikolay Sivov from comment #4)
I believe neither of them, Tahoma or Arial, have CJK support on Windows.
Tahoma does not have CJK support, but my demo can be displayed normally on windows because of the font replacement logic of windows
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #7 from 399989567@qq.com --- Created attachment 74310 --> https://bugs.winehq.org/attachment.cgi?id=74310 Tahoma_in_windows
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #8 from 399989567@qq.com --- Created attachment 74311 --> https://bugs.winehq.org/attachment.cgi?id=74311 demo_sourcecode
Your can run this code in Visual Studio Communtiy 2022 immediately
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #9 from 399989567@qq.com --- Created attachment 74312 --> https://bugs.winehq.org/attachment.cgi?id=74312 Registry entries configured by myself
Import this registry file, the tahoma in the demo can display Chinese normally, but the Chinese is distorted, you can refer to the picture I uploaded
https://bugs.winehq.org/show_bug.cgi?id=54814
--- Comment #10 from 399989567@qq.com --- Created attachment 74313 --> https://bugs.winehq.org/attachment.cgi?id=74313 CJK_font_distortion
font distortion
https://bugs.winehq.org/show_bug.cgi?id=54814
399989567@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74313|0 |1 is obsolete| |
--- Comment #11 from 399989567@qq.com --- Created attachment 74314 --> https://bugs.winehq.org/attachment.cgi?id=74314 CJK_font_distortion
font distortion
https://bugs.winehq.org/show_bug.cgi?id=54814
399989567@qq.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #74314|0 |1 is obsolete| |
--- Comment #12 from 399989567@qq.com --- Created attachment 74315 --> https://bugs.winehq.org/attachment.cgi?id=74315 CJK_font_distortion