[Bug 11861] regedit does not correctly display unicode value data

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 30 09:34:37 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=11861





--- Comment #8 from Mikolaj Zalewski <mikolaj.zalewski at gmail.com>  2008-03-30 09:34:36 ---
Created an attachment (id=11742)
 --> (http://bugs.winehq.org/attachment.cgi?id=11742)
patch for the invalid character

The GetTextMetrics are correct, the problem is in GetGlyphIndices - it was
tested on a bitmap font (probably due to a bug - it took me a while to notice
it) and didn't convert the default character to its glyph index. The attached
patch should work for font where the glyph index of char 0x1f is 0. Maybe it
would be better to access the OS/2 table directly and use glyph 0 when
usDefaultChar is 0.

I see it is not clearly written in the previous comment that the main problem
is that the font links are not created automatically (Windows creates them in
all locales. There is also a problem to what fonts to link to on Linux).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list