[Bug 51041] New: Wine does not enumerate all fonts
https://bugs.winehq.org/show_bug.cgi?id=51041 Bug ID: 51041 Summary: Wine does not enumerate all fonts Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs(a)winehq.org Reporter: vladimir.kokovic(a)gmail.com Distribution: --- I have regularly installed 3 TTF fonts for my needs and when I wanted to use them, I saw wine not offer all 3 but only one of them. As all 3 are necessary, to determine what it is about, I wrote the test program that uses EnumFontFamiliesExW. The problem is probably the fact that 2 fonts that are not displayed in the font list, that they are OpenType fonts. The result of that program in Windows10: Terminal vk INSTALLED. Less Perfect DOS VGA INSTALLED. More Perfect DOS VGA INSTALLED. The result of that program in Wine: Terminal vk INSTALLED. Less Perfect DOS VGA NOT INSTALLED. More Perfect DOS VGA NOT INSTALLED. If necessary, I will also provide the test program and fonts. Vladimir Koković, DP senior(70), Serbia, Belgrade, 22.April 2021 -- 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=51041 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Which fonts have you installed, is it possible to mention or link them here? How are you installing them? Please attach test program too. -- 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=51041 --- Comment #2 from Vladimir Koković <vladimir.kokovic(a)gmail.com> --- Link for fonts is: http: //laemeur.sdf.org/fonts/ The test program is attached. For test used "clang -cc1 version 11.0.0 based upon LLVM 11.0.0 default target x86_64-unknown-linux-gnu" and wine "wine64 version = wine-6.6-348-g08c6114fbbd" -- 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=51041 --- Comment #3 from Vladimir Koković <vladimir.kokovic(a)gmail.com> --- Created attachment 69899 --> https://bugs.winehq.org/attachment.cgi?id=69899 Test program -- 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=51041 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- Thanks. How did you install these fonts in Wine? -- 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=51041 --- Comment #5 from Vladimir Koković <vladimir.kokovic(a)gmail.com> --- I installed the fonts normally in linux and wine found them in /root/.local/share/fonts -- 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=51041 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- Created attachment 69900 --> https://bugs.winehq.org/attachment.cgi?id=69900 patch Thanks. It fails on charset mask test, because face->fs.fsCsb[0] is 0, which is likely caused by ulCodePageRange1 == 0 in OS/2 table. Windows returns OEM_CHARSET for this font, attached patch fixes it for me. -- 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=51041 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #7 from Nikolay Sivov <bunglehead(a)gmail.com> --- Confirming. -- 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=51041 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |6.6 -- 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=51041 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine does not enumerate all |Scalable fonts with |fonts |fsCsb[0] == 0 are not | |enumerated correctly -- 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=51041 Jactry Zeng <jactry92(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92(a)gmail.com -- 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=51041 --- Comment #8 from Vladimir Koković <vladimir.kokovic(a)gmail.com> --- With patch who did Nikolay Sivov test program is now OK: Terminal vk INSTALLED. Less Perfect DOS VGA INSTALLED. More Perfect DOS VGA INSTALLED. 4 truetype lfHeight=32 lfWidth=16 lfEscapement=0 lfOrientation=0 lfWeight=400 lfItalic=0 lfUnderline=0 lfStrikeOut=0 lfCharSet=255 lfPitchAndFamily=49 lfFaceName=L"Less Perfect DOS VGA" 4 truetype lfHeight=32 lfWidth=18 lfEscapement=0 lfOrientation=0 lfWeight=400 lfItalic=0 lfUnderline=0 lfStrikeOut=0 lfCharSet=255 lfPitchAndFamily=49 lfFaceName=L"More Perfect DOS VGA" 4 truetype lfHeight=32 lfWidth=18 lfEscapement=0 lfOrientation=0 lfWeight=500 lfItalic=0 lfUnderline=0 lfStrikeOut=0 lfCharSet=0 lfPitchAndFamily=49 lfFaceName=L"Terminal vk" But in wineconsole->Properties->Font still lack in the list of "Less Perfect Dos Vga" as well as "More Perfect Dos Vga". -- 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=51041 --- Comment #9 from Nikolay Sivov <bunglehead(a)gmail.com> --- This time it fails a charset test in client program, conhost, see validate_font(pass=0). -- 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=51041 --- Comment #10 from Vladimir Koković <vladimir.kokovic(a)gmail.com> --- (In reply to Nikolay Sivov from comment #9)
This time it fails a charset test in client program, conhost, see validate_font(pass=0).
What now this means, new bug for each program ? -- 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=51041 --- Comment #11 from Nikolay Sivov <bunglehead(a)gmail.com> --- In general yes, we try to use one bug report per problem, once it's clear what it is. In this case we could wait for enumeration fix to get in first, and then deal with console window problem. They are clearly dependent. -- 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=51041 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8241d21ae0d385bb43693032005 | |6d16a8906caf5 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #12 from Nikolay Sivov <bunglehead(a)gmail.com> --- This is fixed now, 8241d21ae0d385bb436930320056d16a8906caf5. Vladimir, please open another report for the problem you mentioned in comment 8. -- 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=51041 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.8. -- 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=51041 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x -- 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=51041 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |--- --- Comment #14 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 6.0.x milestone from bug fixes included in 6.0.2. -- 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