https://bugs.winehq.org/show_bug.cgi?id=47327
Bug ID: 47327 Summary: Japanese text are overlapped in notepad when using bitmap font. Product: Wine Version: 4.0.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: usp10 Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Regression SHA1: 8d018d8d1dadf9d731690567b9c98d5a9eae37db Distribution: Ubuntu
Created attachment 64650 --> https://bugs.winehq.org/attachment.cgi?id=64650 screenshot of notepad
Japanese text are overlapped in notepad when using bitmap font, e.g. System. When I choose TrueType font in the setting, it doesn't happen.
How to reproduce: 1. Set following registry value to supplement Japanese glyphs: Key: HKCU\Software\Wine\Fonts\Replacements Name: MS UI Gothic Type: REG_SZ Data: Ume UI Gothic (or your favorite Japanese font)
2. Run notepad in Japanese locale, i.e. LANG=ja_JP.UTF-8 wine notepad.
3. Choose FixedSys font in 編集(Edit) - フォント(Font) setting.
4. Type or paste Japanese text. e.g. いろはにほへと
Actual behavior: * Glyphs are overlapped, so they can't be readable (see the attachement). * Japanese character's advance is the same as half-width character, e.g. Latin alphabets
Expecting behavior: * Glyphs aren't overlapped. You can see each one. * Japanese character's advance is twice as wide as half-width character.
https://bugs.winehq.org/show_bug.cgi?id=47327
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Actually, this is a regression caused by following commit: commit 8d018d8d1dadf9d731690567b9c98d5a9eae37db Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri Dec 14 02:55:38 2018 +0300
usp10: Make sure metrics cache is used with glyph indices only.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44410 Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
I'm preparing a patch for this issue.
https://bugs.winehq.org/show_bug.cgi?id=47327
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47327
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- I sent a patch, https://source.winehq.org/patches/data/166516 .
https://bugs.winehq.org/show_bug.cgi?id=47327
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Japanese text are |Japanese texts are |overlapped in notepad when |overlapped in notepad when |using bitmap font. |using bitmap font.
https://bugs.winehq.org/show_bug.cgi?id=47327
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ac0c1d41d1773f5029cc73ae9bd | |4cfb2ef358b80 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Sagawa sagawa.aki+winebugs@gmail.com --- Fixed by ac0c1d41d1773f5029cc73ae9bd4cfb2ef358b80.
https://bugs.winehq.org/show_bug.cgi?id=47327
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.11.
https://bugs.winehq.org/show_bug.cgi?id=47327
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.x
https://bugs.winehq.org/show_bug.cgi?id=47327
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 4.0.x milestone from bug fixes included in 4.0.3.