"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 */
> +        csi.fs.fsCsb[0] = 0;

This patch is obviously wrong, TranslateCharsetInfo does handle
SYMBOL_CHARSET, and code page for symbol *is* defined. In any
case the first thing to do is write a test case.

-- 
Dmitry.


Reply via email to