From: Ben Harris Date: Sat, 23 Nov 2024 20:03:36 +0000 (+0000) Subject: Adjust bitmap of supported code pages X-Git-Tag: bedstead-3.246~1 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=5a136179a60958d1e38c0d408353fdede390c613;p=bedstead.git Adjust bitmap of supported code pages I've removed the Turkish code pages because I don't have letters with breves yet. And I've removed the Latin-2 code pages because I haven't come up with a good way to distinguish accented upper- and lower-case 'S'. --- diff --git a/bedstead.c b/bedstead.c index b726873..587cfaa 100644 --- a/bedstead.c +++ b/bedstead.c @@ -3088,16 +3088,12 @@ main(int argc, char **argv) TTXI("usWinAscent", ASCENT * YPIX); TTXI("usWinDescent", DESCENT * YPIX); /* - * Code ranges that are considered "functional" in this - * font. XXX These are currently the ones chosen by FontForge - * and should be checked. XXX + * Code pages that are considered "functional" in this font. * * The set bits correspond with: * 0: CP1252 Latin 1 - * 1: CP1250 Latin 2: Eastern Europe * 2: CP1251 Cyrillic * 3: CP1253 Greek - * 4: CP1254 Turkish * 5: CP1255 Hebrew * 29: Macintosh Character Set (US Roman) * 30: OEM Character Set @@ -3108,15 +3104,13 @@ main(int argc, char **argv) * 53: CP862 Hebrew * 54: CP861 MS-DOS Icelandic * 55: CP860 MS-DOS Portuguese - * 56: CP857 IBM Turkish * 57: CP855 IBM Cyrillic; primarily Russian - * 58: CP852 Latin 2 * 60: CP737 Greek; former 437 G * 62: CP850 WE/Latin 1 * 63: CP437 US */ - TTXS("ulCodePageRange1", "01100000 00000000 00000000 00111111"); - TTXS("ulCodePageRange2", "11010111 11110111 00000000 00000000"); + TTXS("ulCodePageRange1", "01100000 00000000 00000000 00101101"); + TTXS("ulCodePageRange2", "11010010 11110111 00000000 00000000"); TTXI("sxHeight", XHEIGHT * YPIX); TTXI("sCapHeight", CAPHEIGHT * YPIX); TTXI("usDefaultChar", 0);