GDI32: [4/5] freetype.c add more font selecting&linking
mechanism support.
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Tue Mar 7 08:34:06 CST 2006
On Tue, Mar 07, 2006 at 09:29:14PM +0900, Byeong-Sik Jeon wrote:
> ChangeLog:
> Improved create_child_font_list(), get_nearest_charset(), more using
> font-linking mechanism.
>
> If lfCharSet == DEFAULT_CHARSET, then ALL font(LOGFONT) can see current
> locale letter, (have to exist least one font corresponding current
> locale ).
>
> > - If lfCharSet == DEFAULT_CHARSET then use the current locale codepage.
> > and If selected font is not support current ansi codepage, then it fixup
> > the problem in "create_child_font_list()" function.
> >
>
I'm slightly confused about what you're trying to do here. Could you
try to explain it again please?
> --- 003/dlls/gdi/freetype.c 2006-03-07 20:29:58.000000000 +0900
> +++ 004/dlls/gdi/freetype.c 2006-03-07 20:30:31.000000000 +0900
> + if(!TranslateCharsetInfo((DWORD*)(INT)font->charset, &csi, TCI_SRCCHARSET))
> + return FALSE;
>
> + TRACE("found entry in system list\n");
> +
> + fs.fsCsb[0] = fs.fsCsb[1] = 0;
> LIST_FOR_EACH_ENTRY(font_link, &system_links, SYSTEM_LINKS, entry)
> {
> - if(!strcmpW(font_link->font_name, font->name))
> + if(!strcmpiW(font_link->font_name, font->name))
> {
> - TRACE("found entry in system list\n");
Moving this TRACE is clearly not correct.
Thanks,
Huw.
--
Huw Davies
huw at codeweavers.com
More information about the wine-devel
mailing list