http://bugs.winehq.org/show_bug.cgi?id=8177
------- Additional Comments From software@astrojar.org.uk 2007-17-07 17:57 ------- I compiled the program below, and its output was:
cs = 0, fs.fsCsb[0] = 2000009f
#include <Windows.h> #include <stdio.h> void main() { AddFontResource("etsans.fon"); LOGFONTA lf; lstrcpyA(lf.lfFaceName, "ET Sans Serif"); HFONT hfont = CreateFontIndirect(&lf); HDC hdc = GetDC(0); SelectObject(hdc, hfont); FONTSIGNATURE fs; int cs = GetTextCharsetInfo(hdc, &fs, 0); printf("cs = %d, fs.fsCsb[0] = %lx\n", cs, (long)fs.fsCsb[0]); }