"Stefan Ziel" stefan.ziel@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.