[Bug 7571] Accented character glyphs are mixed up with TrueType fonts (affects e.g. Lotus Notes R5)

Wine Bugs wine-bugs at winehq.org
Tue May 22 09:58:15 CDT 2007


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





------- Additional Comments From dmitry at codeweavers.com  2007-22-05 09:58 -------
The construct:

if (dwUnicode & ENUM_ALL_FAMILIES)
    ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, TRUE);
else
    ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, FALSE);

can be further simplified to

ret = WineEngEnumFonts(plf, FONT_EnumInstance, (LPARAM)&fe32, (dwUnicode & 
ENUM_ALL_FAMILIES) != 0);

> + if (enumFontFamilies) {
> +     if (csi.ciCharset == SYMBOL_CHARSET)
> +         elf.elfLogFont.lfCharSet = SYMBOL_CHARSET;
> +     else continue;
> +     csi.ciCharset = ntm.ntmTm.tmCharSet =
> +         elf.elfLogFont.lfCharSet;
> + }

This doesn't look right. Why do you allow only SYMBOL_CHARSET here?

>I also managed to fix the Lotus Notes R5 issue - please see lines 89-101 of
> the patch file. No tests break, and Notes is happy again. :)

This should be investigated and fixed separately.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list