[Bug 54814] New: Tahoma font cannot display Chinese correctly
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(a)winehq.org Reporter: 399989567(a)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 -- 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=54814 --- Comment #1 from 399989567(a)qq.com --- Created attachment 74307 --> https://bugs.winehq.org/attachment.cgi?id=74307 create_font.exe A demo that can be used -- 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=54814 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #2 from joaopa <jeremielapuree(a)yahoo.fr> --- Does it work in a real windows box with Tahoma font? -- 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=54814 --- Comment #3 from Rafał Mużyło <galtgendo(a)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. -- 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=54814 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- I believe neither of them, Tahoma or Arial, have CJK support on Windows. -- 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=54814 --- Comment #5 from 399989567(a)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 -- 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=54814 --- Comment #6 from 399989567(a)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 -- 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=54814 --- Comment #7 from 399989567(a)qq.com --- Created attachment 74310 --> https://bugs.winehq.org/attachment.cgi?id=74310 Tahoma_in_windows -- 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=54814 --- Comment #8 from 399989567(a)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 -- 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=54814 --- Comment #9 from 399989567(a)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 -- 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=54814 --- Comment #10 from 399989567(a)qq.com --- Created attachment 74313 --> https://bugs.winehq.org/attachment.cgi?id=74313 CJK_font_distortion font distortion -- 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=54814 399989567(a)qq.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74313|0 |1 is obsolete| | --- Comment #11 from 399989567(a)qq.com --- Created attachment 74314 --> https://bugs.winehq.org/attachment.cgi?id=74314 CJK_font_distortion font distortion -- 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=54814 399989567(a)qq.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74314|0 |1 is obsolete| | --- Comment #12 from 399989567(a)qq.com --- Created attachment 74315 --> https://bugs.winehq.org/attachment.cgi?id=74315 CJK_font_distortion -- 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.
participants (1)
-
WineHQ Bugzilla