From: Ben Harris Date: Sun, 4 Oct 2009 23:57:03 +0000 (+0100) Subject: Some interesting Arabic-related stuff found in an old EBU document. I've X-Git-Tag: bedstead-000.900~29 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=39641a68f87b00e5c787ac82c429b412642c3004;p=bedstead.git Some interesting Arabic-related stuff found in an old EBU document. I've got the glyphs, even if I don't really know what to do with them yet. --- diff --git a/ttxt.c b/ttxt.c index c069107..ca9bc9c 100644 --- a/ttxt.c +++ b/ttxt.c @@ -346,6 +346,87 @@ struct glyph { {{000,000,025,025,025,025,037,001,000,000}, 0x0449, "afii10091" }, /* shcha */ {{000,000,021,021,021,017,001,000,000,000}, 0x0447, "afii10089" }, /* che */ + /* ASV-CODAR glyphs from an EBU document */ + {{001,001,001,001,001,001,000,000,000,000}, 0x0627, "asvcodar-alef" }, + {{000,000,000,001,001,037,000,004,000,000}, 0x0628, "asvcodar-beh" }, + {{000,012,000,001,001,037,000,000,000,000}, 0x062a, "asvcodar-teh" }, + {{004,012,000,001,001,037,000,000,000,000}, 0x062b, "asvcodar-theh" }, + {{000,000,010,024,002,037,000,004,000,000}, 0x062c, "asvcodar-jeem" }, + {{000,000,010,024,002,037,000,000,000,000}, 0x062d, "asvcodar-hah" }, + {{004,000,010,024,002,037,000,000,000,000}, 0x062e, "asvcodar-khah" }, + {{000,004,002,001,001,017,000,000,000,000}, 0x062f, "asvcodar-dal" }, + {{001,004,002,001,001,017,000,000,000,000}, 0x0630, "asvcodar-thal" }, + {{000,000,000,001,001,001,002,004,010,000}, 0x0631, "asvcodar-ra" }, + {{000,004,000,001,001,001,002,004,010,000}, 0x0632, "asvcodar-zain" }, + {{000,000,000,025,025,037,000,000,000,000}, 0x0633, "asvcodar-seen" }, + {{004,012,000,025,025,037,000,000,000,000}, 0x0634, "asvcodar-sheen" }, + {{000,000,000,007,011,037,000,000,000,000}, 0x0635, "asvcodar-sad" }, + {{000,004,000,007,011,037,000,000,000,000}, 0x0636, "asvcodar-dad" }, + {{010,010,010,017,011,037,000,000,000,000}, 0x0637, "asvcodar-tah" }, + {{010,012,010,017,011,037,000,000,000,000}, 0x0638, "asvcodar-zah" }, + {{000,000,006,010,010,037,000,000,000,000}, 0x0639, "asvcodar-ain" }, + {{004,000,006,010,010,037,000,000,000,000}, 0x063a, "asvcodar-ghain" }, + {{002,000,002,005,003,037,000,000,000,000}, 0x0641, "asvcodar-feh" }, + {{012,000,002,005,003,037,000,000,000,000}, 0x0642, "asvcodar-qaf" }, + {{001,002,004,016,001,037,000,000,000,000}, 0x0643, "asvcodar-kaf" }, + {{001,001,001,001,001,037,000,000,000,000}, 0x0644, "asvcodar-lam" }, + {{000,000,000,000,006,031,006,000,000,000}, 0x0645, "asvcodar-meem" }, + {{000,004,000,001,001,037,000,000,000,000}, 0x0646, "asvcodar-noon" }, + {{000,006,001,015,013,037,000,000,000,000}, 0x0647, "asvcodar-heh" }, + {{000,000,000,003,005,007,001,001,016,000}, 0x0648, "asvcodar-waw" }, + {{000,000,000,001,001,037,000,012,000,000}, 0x064a, "asvcodar-yeh" }, + {{000,000,006,010,010,006,010,000,000,000}, 0x0621, "asvcodar-hamza" }, + {{000,000,000,003,025,025,034,000,012,000}, 0xfef2, "asvcodar-yehfinal" }, + {{000,000,000,003,025,025,034,000,000,000}, 0x0649, "asvcodar-alefmaksura" }, + {{000,000,001,003,005,017,000,000,000,000}, -1, "asvcodar-32" }, + {{000,024,001,003,005,017,000,000,000,000}, -1, "asvcodar-tehmarbuta" }, + + {{015,011,015,001,001,001,000,000,000,000}, 0x0623, "asvcodar-hamzaonalef" }, + {{001,001,001,001,015,011,014,000,000,000}, 0x0625, "asvcodar-hamzaunderalef" }, + {{017,010,001,001,001,001,001,000,000,000}, 0x0622, "asvcodar-maddaonalef" }, + {{014,010,014,001,001,037,000,000,000,000}, -1, "asvcodar-37" }, + {{014,010,014,000,003,005,024,022,036,000}, 0x0626, "asvcodar-hamzaonyeh" }, + {{030,020,030,003,005,007,001,001,016,000}, 0x0624, "asvcodar-hamzaonwaw" }, + + {{007,000,000,000,000,000,000,000,000,000}, 0xfe76, "asvcodar-fatha" }, + {{007,000,000,000,000,037,000,000,000,000}, 0xfe77, "asvcodar-fathatatweel" }, + {{003,001,002,000,000,000,000,000,000,000}, 0xfe78, "asvcodar-damma" }, + {{003,001,002,000,000,037,000,000,000,000}, 0xfe79, "asvcodar-dammatatweel" }, + {{000,000,000,000,000,000,000,000,007,000}, 0xfe7a, "asvcodar-kasra" }, + {{000,000,000,000,000,037,000,000,007,000}, 0xfe7b, "asvcodar-kasratatweel" }, + {{007,000,005,007,000,000,000,000,000,000}, -1, "asvcodar-46" }, + {{003,001,002,000,005,007,000,000,000,000}, -1, "asvcodar-47" }, + {{005,007,000,007,000,000,000,000,000,000}, -1, "asvcodar-48" }, + {{005,007,000,007,000,037,000,000,000,000}, -1, "asvcodar-49" }, + {{007,000,005,007,000,037,000,000,000,000}, -1, "asvcodar-50" }, + {{005,007,000,000,000,037,000,000,000,000}, 0xfe7d, "asvcodar-shaddatatweel" }, + {{005,007,000,000,000,000,000,000,000,000}, 0xfe7c, "asvcodar-shadda" }, + {{002,005,002,000,000,000,000,000,000,000}, 0xfe7e, "asvcodar-sukun" }, + {{002,005,002,000,000,037,000,000,000,000}, 0xfe7f, "asvcodar-sukuntatweel" }, + {{016,016,000,000,000,000,000,000,000,000}, 0xfe70, "asvcodar-fathatan" }, + {{033,011,022,000,000,000,000,000,000,000}, -1, "asvcodar-56" }, + {{000,000,000,000,000,000,000,016,016,000}, 0xfe74, "asvcodar-kasratan" }, + {{030,010,025,007,000,037,000,000,000,000}, -1, "asvcodar-58" }, + {{007,007,005,007,000,000,000,000,000,000}, -1, "asvcodar-59" }, + {{033,011,022,000,005,007,000,000,000,000}, -1, "asvcodar-60" }, + {{012,016,000,016,016,000,000,000,000,000}, -1, "asvcodar-61" }, + + {{014,010,002,005,003,037,000,000,000,000}, -1, "asvcodar-62" }, + {{000,000,000,001,001,037,000,012,004,000}, -1, "asvcodar-63" }, + {{005,012,024,016,001,037,000,000,000,000}, -1, "asvcodar-64" }, + + /* Arabic-Indic digits from the same EBU document */ + {{000,000,000,004,000,000,000,000,000,000}, 0x0660, "afii57392" }, /* zero */ + {{000,004,004,004,004,004,000,000,000,000}, 0x0661, "afii57393" }, /* one */ + {{000,012,014,010,010,010,000,000,000,000}, 0x0662, "afii57394" }, /* two */ + {{000,025,032,020,020,020,000,000,000,000}, 0x0663, "afii57395" }, /* three */ + {{000,006,010,006,010,006,000,000,000,000}, 0x0664, "afii57396" }, /* four */ + {{000,016,021,021,021,016,000,000,000,000}, 0x0665, "afii57397" }, /* five */ + {{000,016,002,002,002,002,000,000,000,000}, 0x0666, "afii57398" }, /* six */ + {{000,021,021,012,012,004,000,000,000,000}, 0x0667, "afii57399" }, /* seven */ + {{000,004,012,012,021,021,000,000,000,000}, 0x0668, "afii57400" }, /* eight */ + {{000,014,022,016,002,002,000,000,000,000}, 0x0669, "afii57401" }, /* nine */ + /* Additional glyphs by bjh21 */ {{010,004,002,000,000,000,000,000,000,000}, 0x0060, "grave" }, {{004,004,004,004,004,004,004,000,000,000}, 0x007c, "bar" }, @@ -370,7 +451,7 @@ struct glyph { {{000,004,004,025,016,004,000,000,000,000}, 0x2193, "arrowdown" }, /* This is getting silly. */ - {{000,000,004,012,021,037,021,000,000,000}, -1, "a.sc" }, + {{000,000,016,021,037,021,021,000,000,000}, -1, "a.sc" }, {{000,000,036,021,036,021,036,000,000,000}, -1, "b.sc" }, {{000,000,016,021,020,021,016,000,000,000}, -1, "c.sc" }, {{000,000,036,021,021,021,036,000,000,000}, -1, "d.sc" },