chiark / gitweb /
Adjust bitmap of supported code pages
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 23 Nov 2024 20:03:36 +0000 (20:03 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 23 Nov 2024 20:03:36 +0000 (20:03 +0000)
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'.

bedstead.c

index b72687334eaad05329d4b8342410d59ec79ea2d7..587cfaaa2029263868f7af650ad4212c0040267b 100644 (file)
@@ -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);