Re: gdi32: Fix for capella problem with codepages in symbol fonts

2008-10-07 Thread Stefan Ziel
see: http://bugs.winehq.org/show_bug.cgi?id=12377 Am Dienstag, den 07.10.2008, 09:17 +0900 schrieb Dmitry Timoshkov: Stefan Ziel [EMAIL PROTECTED] wrote: This patch is obviously wrong may be, but the handling of symbol fonts in wine also is ;) TranslateCharsetInfo does handle

Re: gdi32: Fix for capella problem with codepages in symbol fonts

2008-10-06 Thread Stefan Ziel
This patch is obviously wrong may be, but the handling of symbol fonts in wine also is ;) TranslateCharsetInfo does handle SYMBOL_CHARSET, and code page for symbol *is* defined. its the charset-bits in fontinfo structure where most symbol fonts set bit 31 (reserved for OEM in original

Re: gdi32: Fix for capella problem with codepages in symbol fonts

2008-10-06 Thread Dmitry Timoshkov
Stefan Ziel [EMAIL PROTECTED] wrote: This patch is obviously wrong may be, but the handling of symbol fonts in wine also is ;) TranslateCharsetInfo does handle SYMBOL_CHARSET, and code page for symbol *is* defined. its the charset-bits in fontinfo structure where most symbol fonts

Re: gdi32: Fix for capella problem with codepages in symbol fonts

2008-10-04 Thread Dmitry Timoshkov
Stefan Ziel [EMAIL PROTECTED] wrote: Ignore characterset bit for symbol fonts -if(!TranslateCharsetInfo((DWORD*)(INT_PTR)lf.lfCharSet, csi, TCI_SRCCHARSET)) { +if (lf.lfCharSet == SYMBOL_CHARSET){ +/* codepage for symbol is not definied - ignore it */ +