[Bug 8177] Solar Fire v5: Font only displays the character 0x80

Wine Bugs wine-bugs at winehq.org
Tue Jul 17 17:57:10 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=8177





------- Additional Comments From software at 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]);
}


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list