From 7abb729a31e1efbc6e5895083e591133dc4717e5 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 14 May 2009 15:54:26 -0700 Subject: [PATCH] Unicode superscript update font/*/supsub.*: change superscript 1 into i; delete 2, 3 lib/keyboard: fix s1, s2, s3; add si lib/unicode: add 2071 src/cmd/devdraw: update from lib/keyboard --- font/lucm/supsub.9 | Bin 497 -> 503 bytes font/misc/supsub.8 | Bin 436 -> 443 bytes font/pelm/supsub.8 | Bin 436 -> 443 bytes font/pelm/supsub.9 | Bin 495 -> 503 bytes lib/keyboard | 6 +++--- lib/unicode | 1 + src/cmd/devdraw/latin1.c | 2 +- 7 files changed, 5 insertions(+), 4 deletions(-) diff --git a/font/lucm/supsub.9 b/font/lucm/supsub.9 index 2af2e719b5ec5d5db67466555a3a74a4683a0ba4..3834178d8f858f082bda812ed7d81eaf2d62f973 100644 GIT binary patch delta 87 zcmey!{GEA143mYy#5hGpo{0@2Vhqd-hYmk%kSJqNYGFUvVDQI6sW(k#;wo3^Mim)` o#|?)S9^0}trtug&c2R<0*L;J?ER1&S4AKmY91IMTJsDR3030S8!2kdN delta 81 zcmey){E>M=43oLZ#5hGpnTZV|Vm!ip$ j6&~BNSv+=8G5}-8e3QvsjCSmt(hQ6o44jkw8CL)RfKVDl diff --git a/font/misc/supsub.8 b/font/misc/supsub.8 index a95e084fa378a0a5fcb5884b3cd6af1f3732a431..b124ee9757d5807bc5a29959a234e0be536def7a 100644 GIT binary patch delta 91 zcmdnOyqkGK43m+;#5gGthMb&;goK)$907(J1Bns?x&EAji9Pb_4HgV#jS>|sjU3e` uas>c>1G1_cDl{gZwqj?HU|?ipV3^FqxB>tk6B~vA delta 84 zcmdnZyoGr}43nYp#5gIDf}EU)goK)$907(J1Bns?x&9o3i9PZPtritE77`UKjU3e` oas>Gx3rYJBI`VBO3$9WMRe?0B2$u6aWAK diff --git a/font/pelm/supsub.8 b/font/pelm/supsub.8 index a95e084fa378a0a5fcb5884b3cd6af1f3732a431..b124ee9757d5807bc5a29959a234e0be536def7a 100644 GIT binary patch delta 91 zcmdnOyqkGK43m+;#5gGthMb&;goK)$907(J1Bns?x&EAji9Pb_4HgV#jS>|sjU3e` uas>c>1G1_cDl{gZwqj?HU|?ipV3^FqxB>tk6B~vA delta 84 zcmdnZyoGr}43nYp#5gIDf}EU)goK)$907(J1Bns?x&9o3i9PZPtritE77`UKjU3e` oas>Gx3rYJBI`VBO3$9WMRe?0B2$u6aWAK diff --git a/font/pelm/supsub.9 b/font/pelm/supsub.9 index b09fdaffffd2d3dc6d6b2923b00a49434ee31c88..394b3339eb3604d62aa7124fb4ab111ed0ef9174 100644 GIT binary patch delta 102 zcmaFQ{GEA143mYy#5gHY25FvyhaXP(k*3DRz}I*n!A7YwO=e=Rmm!}#d*j0g4-#x- z1e7cu8yGTNY*djkcx<4=VBDC-WANCK&E&C*5|GX}dF;5gLC#V&#ukrV*$f`LC>cC<%r|-LxYcAb2crW!r!)g22LtD1f5sI6ThAYX diff --git a/lib/keyboard b/lib/keyboard index 572f7ae5..f895c249 100644 --- a/lib/keyboard +++ b/lib/keyboard @@ -394,9 +394,9 @@ 2022 bu • bullet 203D !? ?! ‽ interrobang 2070 s0 ⁰ superscript digit zero -2071 s1 ⁱ superscript digit one -2072 s2 ⁲ superscript digit two -2073 s3 ⁳ superscript digit three +00B9 s1 ⁱ superscript digit one +00B2 s2 ⁲ superscript digit two +00B3 s3 ⁳ superscript digit three 2074 s4 ⁴ superscript digit four 2075 s5 ⁵ superscript digit five 2076 s6 ⁶ superscript digit six diff --git a/lib/unicode b/lib/unicode index 6d568560..3472c5f0 100644 --- a/lib/unicode +++ b/lib/unicode @@ -3358,6 +3358,7 @@ 206e national digit shapes 206f nominal digit shapes 2070 superscript zero +2071 superscript latin small letter i 2074 superscript four 2075 superscript five 2076 superscript six diff --git a/src/cmd/devdraw/latin1.c b/src/cmd/devdraw/latin1.c index 82892460..f1ee397b 100644 --- a/src/cmd/devdraw/latin1.c +++ b/src/cmd/devdraw/latin1.c @@ -100,7 +100,7 @@ static struct cvlist "o", "AOUaeiu", { 0x00c5, 0x229a, 0x016e, 0x00e5, 0x0153, 0x01a3, 0x016f }, "p", "Odgrt", { 0x2117, 0x2202, 0x00b6, 0x220f, 0x221d }, "r", "\"\'O", { 0x201d, 0x2019, 0x00ae }, - "s", "()+-0123456789=abnoprstu", { 0x207d, 0x207e, 0x207a, 0x207b, 0x2070, 0x2071, 0x2072, 0x2073, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079, 0x207c, 0x00aa, 0x2282, 0x207f, 0x00ba, 0x2283, 0x221a, 0x00df, 0x220d, 0x2211 }, + "s", "()+-0123456789=abinoprstu", { 0x207d, 0x207e, 0x207a, 0x207b, 0x2070, 0x00b9, 0x00b2, 0x00b3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079, 0x207c, 0x00aa, 0x2282, 0x2071, 0x207f, 0x00ba, 0x2283, 0x221a, 0x00df, 0x220d, 0x2211 }, "t", "-efmsu", { 0x0167, 0x2203, 0x2234, 0x2122, 0x03c2, 0x22a2 }, "u", "-AEGIOUaegiou", { 0x0289, 0x0102, 0x0114, 0x011e, 0x012c, 0x014e, 0x016c, 0x2191, 0x0115, 0x011f, 0x012d, 0x014f, 0x016d }, "v\"", "Uu", { 0x01d9, 0x01da },