https://bugs.winehq.org/show_bug.cgi?id=53495
Bug ID: 53495 Summary: Wine d2d doesn't render "HP" text in Vestaria Saga Non-Visual Battles Product: Wine Version: 7.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: rjtulloh@gmail.com Distribution: ---
Created attachment 72850 --> https://bugs.winehq.org/attachment.cgi?id=72850 direct2d trace log
When battles occur with the "Visual Battles" option disabled in Vestaria Saga, an "HP" label is drawn next to the remaining HP of both units. This text does not render correctly when using Wine to run the English Version published by Dangen Entertainment on Steam. Instead, two boxes with X marks are shown.
This issue is peculiar to the English version. The text correctly renders in the original Jaapanese release, as well as in the sequel (also published by Dangen). The difference appears to be due to the use of different encoding - Dangen's version of Vestaria Saga uses glyphs from the Full Width Latin Capital Letter Unicode block (U+FF28, U+FF30) for the HP label, while other versions and games use a simple ASCII string.
I've attached a log captured with WINEDEBUG=+d2d.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #1 from Robert T rjtulloh@gmail.com --- Created attachment 72851 --> https://bugs.winehq.org/attachment.cgi?id=72851 Screenshot of the affected text wrom the game running in Windows.
Adding a screenshot of what the text should look like from Windows.
https://bugs.winehq.org/show_bug.cgi?id=53495
Robert T rjtulloh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72851|Screenshot of the affected |Screenshot of the affected description|text wrom the game running |text from the game running |in Windows. |in Windows.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #2 from Robert T rjtulloh@gmail.com --- Created attachment 72852 --> https://bugs.winehq.org/attachment.cgi?id=72852 Screenshot of the text not rendering correctly in Wine.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Could you attach +dwrite log?
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- Actually, go for a full font log - there's a good chance you'll see a font being selected that just doesn't have the required glyphs (bonus point if it's something like Arial).
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Rafał Mużyło from comment #4)
Actually, go for a full font log - there's a good chance you'll see a font being selected that just doesn't have the required glyphs (bonus point if it's something like Arial).
That won't be necessary, since it's not using gdi.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #6 from Robert T rjtulloh@gmail.com --- Created attachment 72856 --> https://bugs.winehq.org/attachment.cgi?id=72856 log with WINEDEBUG=+dwrite
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #7 from Robert T rjtulloh@gmail.com --- FWIW I did try with corefonts and tahoma installed via Winetricks and the text still isn't shown correctly.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Robert T from comment #6)
Created attachment 72856 [details] log with WINEDEBUG=+dwrite
It's the same log that you attached initially. It does not have dwrite traces.
https://bugs.winehq.org/show_bug.cgi?id=53495
Robert T rjtulloh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72856|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #9 from Robert T rjtulloh@gmail.com --- Created attachment 72858 --> https://bugs.winehq.org/attachment.cgi?id=72858 log with WINEDEBUG=+dwrite
Hopefully the right log this time.
(IIRC bz2 compression is preferred, but the bzipped log wile was over 14 MB and too big to upload)
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Thank you, it's using some bundled font it seems, called Varela. Could you tell a full name of this game, so I can find it on Steam? Or even better, steamappid for it.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #11 from Robert T rjtulloh@gmail.com --- The app ID is 694770.
There used to be a free demo but it looks like it got taken down at some point.
https://bugs.winehq.org/show_bug.cgi?id=53495
Robert T rjtulloh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://store.steampowered. | |com/app/694770/Vestaria_Sag | |a_I_War_of_the_Scions/
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #12 from Rafał Mużyło galtgendo@o2.pl --- If that's the same Varela as the first google result, then it doesn't have the wide glyphs (and its fallback glyph does seem to be the crossed box).
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #13 from Robert T rjtulloh@gmail.com --- I tried to check what would happen if I launched the game in Windows with Wine's dwrite.dll, but couldn't test because the game wouldn't launch at all.
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 72862 --> https://bugs.winehq.org/attachment.cgi?id=72862 patch
(In reply to Robert T from comment #13)
I tried to check what would happen if I launched the game in Windows with Wine's dwrite.dll, but couldn't test because the game wouldn't launch at all.
That's expected, it's not usable on Windows right now, because it's using system freetype library.
This patch works for me in a standalone test. You'll need 'Noto Sans CJK JP' font installed to enable this fallback.
https://bugs.winehq.org/show_bug.cgi?id=53495
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|d2d |dwrite
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #15 from Nikolay Sivov bunglehead@gmail.com --- This is merged now, and should work once you have mentioned font installed.
https://bugs.winehq.org/show_bug.cgi?id=53495
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine d2d doesn't render |"HP" text does not render |"HP" text in Vestaria Saga |in Vestaria Saga Non-Visual |Non-Visual Battles |Battles
https://bugs.winehq.org/show_bug.cgi?id=53495
--- Comment #16 from Robert T rjtulloh@gmail.com --- It does looks like it's fixed in the master branch now.
https://bugs.winehq.org/show_bug.cgi?id=53495
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |c4c3e9fee4cfdea61f54f1f4570 | |027df2d0b5d8b Resolution|--- |FIXED
--- Comment #17 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, c4c3e9fee4cfdea61f54f1f4570027df2d0b5d8b.
https://bugs.winehq.org/show_bug.cgi?id=53495
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.15.