# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1335515158 0 # Node ID 007bced14910787ee93a98d78c43b5521ba11109 # Parent ca5123dc58196a5a2decac5d8b0ac4b6ebf31d50 Explicitly set codepage 1208 for GPI rendering on OS/2... It clearly is not inherited from the PM codepage automatically. diff -r ca5123dc5819 -r 007bced14910 os2/dw.c --- a/os2/dw.c Fri Apr 27 02:47:44 2012 +0000 +++ b/os2/dw.c Fri Apr 27 08:25:58 2012 +0000 @@ -4593,7 +4593,9 @@ strcpy(buf, currfont); strcpy(fd.fAttrs.szFacename, currfont); } - } + } + fd.fAttrs.usCodePage = 1208; + fd.fAttrs.usRecordLength = sizeof(FATTRS); /* Fill in the font dialog struct */ fd.cbSize = sizeof(fd); @@ -9835,6 +9837,7 @@ fat.usRecordLength = sizeof(FATTRS); fat.lMatch = fm.lMatch; + fat.usCodePage = 1208; strcpy(fat.szFacename, fm.szFacename); GpiCreateLogFont(hpsDst, 0, 1L, &fat);