5 Oct
2008
5 Oct
'08
5:47 a.m.
"Stefan Ziel" <stefan.ziel(a)terra.com.br> 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.