From 52007f3dccebff08e3f6b833cefdd589cf6e2679 Mon Sep 17 00:00:00 2001 From: Nicolas Lebrun Date: Sat, 18 May 2024 16:17:44 +0200 Subject: [PATCH] finish uppercase diacritics association (Z) --- src/lowercase/base.ts | 2376 --------------------------- src/uppercase/base.ts | 112 +- src/uppercase/diaBaseAssociation.ts | 9 + 3 files changed, 120 insertions(+), 2377 deletions(-) diff --git a/src/lowercase/base.ts b/src/lowercase/base.ts index b3486bc..5571ab0 100644 --- a/src/lowercase/base.ts +++ b/src/lowercase/base.ts @@ -2344,2381 +2344,5 @@ const base = { ], ], } as Font; -/* -const base = { - a: [ - [ - [0.85, 0.5], - [0.15, 0.5], - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.85, 0.725], - [0.85, 0.3], - [0.3, 0.3], - ], - ], - æ: [ - [ - [0.5, 0.3], - [0.85, 0.3], - [0.85, 0.5], - [0.15, 0.5], - [0.15, 0.7], - [0.5, 0.7], - [0.5, 0.3], - [0.15, 0.3], - ], - [ - [0.5, 0.7], - [0.85, 0.7], - ], - ], - ɐ: [ - [ - [0.15, 0.5], - [0.85, 0.5], - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.7, 0.7], - ], - ], - ɑ: [ - [ - [0.85, 0.5], - [0.15, 0.5], - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.85, 0.725], - [0.85, 0.3], - ], - ], - ɒ: [ - [ - [0.15, 0.5], - [0.85, 0.5], - [0.85, 0.3], - [0.15, 0.3], - ], - [ - [0.15, 0.275], - [0.15, 0.7], - ], - ], - - b: [ - [ - [0.15, 0.1], - [0.15, 0.725], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - ], - ʙ: [ - [ - [0.55, 0.5], - [0.55, 0.35], - [0.35, 0.35], - [0.35, 0.65], - [0.65, 0.65], - [0.65, 0.5], - [0.35, 0.5], - ], - ], - ƀ: [ - [ - [0.15, 0.1], - [0.15, 0.725], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - [ - [0.05, 0.165], - [0.25, 0.165], - ], - ], - ɓ: [ - [ - [0.35, 0.1], - [0.15, 0.1], - [0.15, 0.725], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - ], - ƃ: [ - [ - [0.85, 0.1], - [0.15, 0.1], - [0.15, 0.725], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - ], - - c: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ɕ: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.85, 0.7], - [0.5, 0.55], - [0.15, 0.75], - ], - ], - - d: [ - [ - [0.85, 0.1], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - ], - đ: [ - [ - [0.85, 0.1], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.75, 0.165], - [0.95, 0.165], - ], - ], - ð: [ - [ - [0.5, 0.1], - [0.85, 0.3], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.5, 0.2], - [0.65, 0.1], - ], - ], - ȸ: [ - [ - [0.5, 0.1], - [0.5, 0.725], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - ], - ], - dz: [ - [ - [0.45, 0.1], - [0.45, 0.725], - ], - [ - [0.45, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.45, 0.3], - ], - [ - [0.55, 0.3], - [0.85, 0.3], - [0.55, 0.7], - [0.85, 0.7], - ], - ], - ʣ: [ - [ - [0.5, 0.1], - [0.5, 0.725], - ], - [ - [0.5, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.5, 0.3], - [0.85, 0.3], - [0.5, 0.7], - [0.85, 0.7], - ], - ], - dž: [ - [ - [0.45, 0.1], - [0.45, 0.725], - ], - [ - [0.45, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.45, 0.3], - ], - [ - [0.55, 0.3], - [0.85, 0.3], - [0.55, 0.7], - [0.85, 0.7], - ], - [ - [0.55, 0.1], - [0.7, 0.2], - [0.85, 0.1], - ], - ], - ʥ: [ - [ - [0.5, 0.1], - [0.5, 0.725], - ], - [ - [0.5, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.5, 0.3], - [0.85, 0.3], - [0.5, 0.7], - [0.85, 0.7], - [0.85, 0.6], - [0.65, 0.8], - ], - ], - ʤ: [ - [ - [0.5, 0.1], - [0.5, 0.725], - ], - [ - [0.5, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.5, 0.3], - [0.85, 0.3], - [0.55, 0.55], - [0.85, 0.7], - [0.7, 0.9], - [0.5, 0.8], - ], - ], - ɗ: [ - [ - [0.95, 0.1], - [0.91, 0.11], - [0.85, 0.15], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - ], - ƌ: [ - [ - [0.15, 0.15], - [0.85, 0.15], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - ], - ȡ: [ - [ - [0.65, 0.1], - [0.65, 0.725], - ], - [ - [0.65, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.65, 0.3], - ], - [ - [0.5, 0.7], - [0.85, 0.7], - [0.85, 0.6], - [0.65, 0.8], - ], - ], - ẟ: [ - [ - [0.75, 0.1], - [0.25, 0.1], - [0.25, 0.3], - [0.75, 0.3], - [0.75, 0.7], - [0.25, 0.7], - [0.25, 0.5], - [0.75, 0.5], - ], - ], - - e: [ - [ - [0.15, 0.5], - [0.85, 0.5], - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ə: [ - [ - [0.85, 0.5], - [0.15, 0.5], - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - ], - ǝ: [ - [ - [0.75, 0.5], - [0.25, 0.5], - [0.25, 0.65], - [0.75, 0.65], - [0.75, 0.35], - [0.25, 0.35], - ], - ], - ɛ: [ - [ - [0.75, 0.3], - [0.25, 0.3], - [0.25, 0.7], - [0.75, 0.7], - ], - [ - [0.25, 0.5], - [0.75, 0.5], - ], - ], - ɘ: [ - [ - [0.85, 0.5], - [0.15, 0.5], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - ], - ɚ: [ - [ - [0.95, 0.5], - [0.9, 0.45], - [0.9, 0.4], - [0.15, 0.55], - [0.225, 0.8], - [0.85, 0.7], - [0.75, 0.3], - [0.25, 0.4], - ], - ], - ɜ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.5, 0.5], - [0.85, 0.5], - ], - ], - ɝ: [ - [ - [0.15, 0.3], - [0.7, 0.3], - [0.7, 0.7], - [0.15, 0.7], - ], - [ - [0.5, 0.5], - [0.73, 0.5], - ], - [ - [0.85, 0.5], - [0.8, 0.45], - [0.8, 0.4], - [0.7, 0.4], - ], - ], - ɞ: [ - [ - [0.2, 0.3], - [0.8, 0.3], - [0.8, 0.7], - [0.2, 0.7], - [0.2, 0.3], - ], - [ - [0.5, 0.5], - [0.8, 0.5], - ], - ], - ʚ: [ - [ - [0.2, 0.3], - [0.8, 0.3], - [0.8, 0.7], - [0.2, 0.7], - [0.2, 0.3], - ], - [ - [0.2, 0.5], - [0.5, 0.5], - ], - ], - ɤ: [ - [ - [0.15, 0.4], - [0.25, 0.3], - [0.65, 0.6], - [0.5, 0.7], - [0.35, 0.6], - [0.75, 0.3], - [0.85, 0.4], - ], - ], - - f: [ - [ - [0.15, 0.5], - [0.7, 0.5], - ], - [ - [0.3, 0.7], - [0.3, 0.2], - [0.85, 0.2], - ], - ], - ʩ: [ - [ - [0.15, 0.5], - [0.5, 0.5], - ], - [ - [0.25, 0.7], - [0.25, 0.2], - [0.5, 0.2], - ], - [ - [0.5, 0.475], - [0.5, 0.7], - ], - [ - [0.5, 0.5], - [0.85, 0.5], - [0.85, 0.8], - [0.825, 0.85], - [0.75, 0.9], - ], - ], - ƒ: [ - [ - [0.15, 0.35], - [0.7, 0.35], - ], - [ - [0.25, 0.825], - [0.3, 0.89], - [0.325, 0.9], - [0.35, 0.89], - [0.4, 0.825], - [0.4, 0.8], - [0.4, 0.2], - [0.85, 0.2], - ], - ], - - g: [ - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.85, 0.275], - [0.85, 0.9], - [0.5, 0.9], - ], - ], - ɡ: [ - [ - [0.885, 0.72], - [0.115, 0.72], - [0.115, 0.28], - [0.885, 0.28], - ], - [ - [0.885, 0.2525], - [0.885, 0.94], - [0.5, 0.94], - ], - ], - ɢ: [ - [ - [0.725, 0.3], - [0.265, 0.3], - [0.265, 0.628], - [0.725, 0.628], - [0.725, 0.5], - [0.5, 0.5], - ], - ], - ǥ: [ - [ - [0.75, 0.7], - [0.15, 0.7], - [0.15, 0.3], - [0.75, 0.3], - ], - [ - [0.75, 0.275], - [0.75, 0.9], - [0.5, 0.9], - ], - [ - [0.65, 0.8], - [0.85, 0.8], - ], - ], - ʛ: [ - [ - [0.8, 0.2], - [0.75, 0.225], - [0.725, 0.25], - [0.725, 0.3], - [0.265, 0.3], - [0.265, 0.628], - [0.725, 0.628], - [0.725, 0.5], - [0.5, 0.5], - ], - ], - ɣ: [ - [ - [0.35, 0.3], - [0.55, 0.8], - [0.5, 0.85], - [0.45, 0.8], - [0.65, 0.3], - ], - ], - ƣ: [ - [ - [0.15, 0.4], - [0.65, 0.4], - [0.65, 0.75], - [0.15, 0.75], - [0.15, 0.4], - ], - [ - [0.65, 0.4], - [0.75, 0.35], - [0.85, 0.4], - [0.85, 0.9], - ], - ], - - h: [ - [ - [0.15, 0.7], - [0.15, 0.1], - ], - [ - [0.125, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - ], - ħ: [ - [ - [0.25, 0.7], - [0.25, 0.1], - ], - [ - [0.225, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - [ - [0.15, 0.2], - [0.35, 0.2], - ], - ], - ʜ: [ - [ - [0.265, 0.3], - [0.265, 0.628], - ], - [ - [0.265, 0.5], - [0.73, 0.5], - ], - [ - [0.73, 0.3], - [0.73, 0.628], - ], - ], - ƕ: [ - [ - [0.15, 0.7], - [0.15, 0.1], - ], - [ - [0.125, 0.3], - [0.5, 0.3], - [0.5, 0.7], - [0.85, 0.7], - [0.85, 0.3], - ], - ], - ɦ: [ - [ - [0.15, 0.7], - [0.15, 0.2], - [0.16, 0.145], - [0.2, 0.1], - ], - [ - [0.125, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - ], - ɧ: [ - [ - [0.15, 0.7], - [0.15, 0.2], - [0.16, 0.145], - [0.2, 0.1], - ], - [ - [0.125, 0.3], - [0.85, 0.3], - [0.85, 0.8], - [0.83, 0.85], - [0.75, 0.9], - ], - ], - - i: [ - [ - [0.5, 0.1], - [0.5, 0.125], - ], - [ - [0.15, 0.3], - [0.5, 0.3], - [0.5, 0.7], - [0.65, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ij: [ - [ - [0.35, 0.1], - [0.35, 0.125], - ], - [ - [0.15, 0.3], - [0.35, 0.3], - [0.35, 0.7], - [0.4, 0.7], - ], - [ - [0.35, 0.7], - [0.35, 0.7], - ], - [ - [0.65, 0.1], - [0.65, 0.125], - ], - [ - [0.5, 0.3], - [0.8, 0.3], - ], - [ - [0.65, 0.3], - [0.65, 0.9], - [0.35, 0.9], - ], - ], - ı: [ - [ - [0.15, 0.3], - [0.5, 0.3], - [0.5, 0.7], - [0.65, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ɪ: [ - [ - [0.265, 0.3], - [0.73, 0.3], - ], - [ - [0.265, 0.628], - [0.73, 0.628], - ], - [ - [0.5, 0.3], - [0.5, 0.628], - ], - ], - ɨ: [ - [ - [0.5, 0.1], - [0.5, 0.125], - ], - [ - [0.15, 0.3], - [0.5, 0.3], - [0.5, 0.7], - [0.65, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.35, 0.45], - [0.65, 0.45], - ], - ], - ɩ: [ - [ - [0.5, 0.3], - [0.5, 0.6], - [0.55, 0.65], - [0.6, 0.68], - [0.65, 0.7], - ], - ], - - j: [ - [ - [0.6, 0.1], - [0.6, 0.125], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.6, 0.3], - [0.6, 0.9], - [0.15, 0.9], - ], - ], - ȷ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.6, 0.3], - [0.6, 0.9], - [0.15, 0.9], - ], - ], - ɉ: [ - [ - [0.6, 0.1], - [0.6, 0.125], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.6, 0.3], - [0.6, 0.9], - [0.15, 0.9], - ], - [ - [0.45, 0.45], - [0.75, 0.45], - ], - ], - ʝ: [ - [ - [0.6, 0.1], - [0.6, 0.125], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.6, 0.3], - [0.6, 0.9], - [0.15, 0.9], - [0.15, 0.7], - [0.75, 0.7], - ], - ], - ɟ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.6, 0.3], - [0.6, 0.9], - [0.15, 0.9], - ], - [ - [0.45, 0.65], - [0.75, 0.65], - ], - ], - ʄ: [ - [ - [0.75, 0.15], - [0.7, 0.15], - [0.64, 0.18], - [0.6, 0.25], - [0.6, 0.9], - [0.15, 0.9], - ], - [ - [0.45, 0.65], - [0.75, 0.65], - ], - ], - - k: [ - [ - [0.15, 0.7], - [0.15, 0.1], - ], - [ - [0.85, 0.3], - [0.15, 0.5], - [0.85, 0.7], - ], - ], - ƙ: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.17, 0.2], - [0.23, 0.12], - [0.3, 0.1], - ], - [ - [0.85, 0.3], - [0.15, 0.5], - [0.85, 0.7], - ], - ], - ʞ: [ - [ - [0.85, 0.3], - [0.85, 0.9], - ], - [ - [0.15, 0.7], - [0.85, 0.5], - [0.15, 0.3], - ], - ], - l: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ł: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.25, 0.5], - [0.55, 0.4], - ], - ], - ŀ: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.6, 0.425], - [0.6, 0.475], - ], - ], - lj: [ - [ - [0.15, 0.1], - [0.35, 0.1], - [0.35, 0.7], - ], - [ - [0.15, 0.7], - [0.55, 0.7], - ], - - [ - [0.65, 0.1], - [0.65, 0.125], - ], - [ - [0.5, 0.3], - [0.85, 0.3], - ], - [ - [0.65, 0.3], - [0.65, 0.9], - [0.5, 0.9], - ], - ], - ỻ: [ - [ - [0.35, 0.1], - [0.35, 0.7], - ], - [ - [0.65, 0.1], - [0.65, 0.7], - ], - [ - [0.25, 0.15], - [0.75, 0.15], - ], - ], - ʪ: [ - [ - [0.15, 0.1], - [0.35, 0.1], - [0.35, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.5], - [0.55, 0.5], - [0.55, 0.2], - [0.85, 0.2], - ], - ], - ʫ: [ - [ - [0.15, 0.1], - [0.35, 0.1], - [0.35, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.5, 0.2], - [0.85, 0.2], - [0.5, 0.7], - ], - ], - ʟ: [ - [ - [0.265, 0.3], - [0.265, 0.628], - [0.73, 0.628], - ], - ], - ƚ: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.25, 0.45], - [0.55, 0.45], - ], - ], - ɫ: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.25, 0.5], - [0.25, 0.4], - [0.55, 0.5], - [0.55, 0.4], - ], - ], - ɬ: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.7], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.4, 0.45], - [0.4, 0.4], - [0.25, 0.4], - [0.25, 0.55], - [0.75, 0.55], - ], - ], - ɭ: [ - [ - [0.15, 0.1], - [0.4, 0.1], - [0.4, 0.9], - [0.5, 0.9], - ], - ], - ȴ: [ - [ - [0.5, 0.1], - [0.5, 0.9], - [0.75, 0.9], - [0.75, 0.7], - [0.3, 0.8], - [0.3, 0.9], - ], - ], - ɮ: [ - [ - [0.15, 0.1], - [0.35, 0.1], - [0.35, 0.7], - ], - [ - [0.15, 0.7], - [0.5, 0.7], - ], - [ - [0.35, 0.3], - [0.85, 0.3], - [0.55, 0.55], - [0.85, 0.7], - [0.7, 0.9], - [0.5, 0.8], - ], - ], - ƛ: [ - [ - [0.3, 0.15], - [0.5, 0.2], - [0.85, 0.7], - ], - [ - [0.62, 0.4], - [0.15, 0.7], - ], - [ - [0.48, 0.35], - [0.65, 0.25], - ], - ], - ʎ: [ - [ - [0.7, 0.15], - [0.5, 0.2], - [0.15, 0.7], - ], - [ - [0.38, 0.4], - [0.85, 0.7], - ], - ], - - m: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - [ - [0.5, 0.3], - [0.5, 0.7], - ], - ], - - n: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - ], - nj: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.45, 0.3], - [0.45, 0.7], - ], - [ - [0.7, 0.1], - [0.7, 0.125], - ], - [ - [0.55, 0.3], - [0.85, 0.3], - ], - [ - [0.7, 0.3], - [0.7, 0.9], - [0.45, 0.9], - ], - ], - ɴ: [ - [ - [0.265, 0.628], - [0.265, 0.3], - [0.73, 0.628], - [0.73, 0.3], - ], - ], - ɲ: [ - [ - [0.1, 0.77], - [0.125, 0.75], - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - ], - ], - ƞ: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.9], - ], - ], - ɳ: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.77, 0.3], - [0.77, 0.85], - [0.85, 0.9], - ], - ], - ȵ: [ - [ - [0.15, 0.7], - [0.15, 0.275], - ], - [ - [0.15, 0.3], - [0.65, 0.3], - [0.65, 0.9], - [0.85, 0.9], - [0.85, 0.7], - [0.5, 0.9], - ], - ], - - o: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - ], - ɶ: [ - [ - [0.265, 0.3], - [0.265, 0.628], - [0.5, 0.628], - [0.5, 0.3], - [0.265, 0.3], - ], - [ - [0.73, 0.3], - [0.5, 0.3], - ], - [ - [0.5, 0.628], - [0.73, 0.628], - ], - [ - [0.5, 0.5], - [0.65, 0.5], - ], - ], - ɔ: [ - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - ], - ], - ɵ: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.15, 0.5], - [0.85, 0.5], - ], - ], - ɷ: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.5, 0.7], - [0.5, 0.5], - ], - ], - ȣ: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.15, 0.3], - [0.15, 0.1], - ], - [ - [0.85, 0.3], - [0.85, 0.1], - ], - ], - œ: [ - [ - [0.5, 0.3], - [0.85, 0.3], - [0.85, 0.5], - [0.5, 0.5], - [0.5, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.5, 0.7], - [0.5, 0.5], - ], - [ - [0.5, 0.7], - [0.85, 0.7], - ], - ], - - p: [ - [ - [0.15, 0.9], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.125, 0.7], - ], - ], - - ƥ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.15, 0.9], - [0.15, 0.2], - [0.16, 0.145], - [0.2, 0.1], - ], - ], - ɸ: [ - [ - [0.15, 0.7], - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.5, 0.9], - [0.5, 0.1], - ], - ], - - q: [ - [ - [0.85, 0.9], - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.875, 0.7], - ], - ], - ȹ: [ - [ - [0.85, 0.7], - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.5, 0.3], - [0.5, 0.9], - ], - ], - ɋ: [ - [ - [0.85, 0.9], - [0.77, 0.85], - [0.77, 0.3], - [0.15, 0.3], - [0.15, 0.7], - [0.8, 0.7], - ], - ], - ĸ: [ - [ - [0.265, 0.3], - [0.265, 0.628], - ], - [ - [0.73, 0.3], - [0.265, 0.5], - [0.73, 0.628], - ], - ], - - r: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.15, 0.4], - ], - [ - [0.15, 0.275], - [0.15, 0.7], - ], - ], - ʀ: [ - [ - [0.265, 0.5], - [0.73, 0.5], - [0.73, 0.3], - [0.265, 0.3], - [0.265, 0.628], - ], - [ - [0.265, 0.5], - [0.73, 0.628], - ], - ], - ɍ: [ - [ - [0.85, 0.3], - [0.45, 0.3], - [0.25, 0.4], - ], - [ - [0.25, 0.275], - [0.25, 0.7], - ], - [ - [0.15, 0.5125], - [0.35, 0.5125], - ], - ], - ɹ: [ - [ - [0.15, 0.7], - [0.65, 0.7], - [0.85, 0.6], - ], - [ - [0.85, 0.725], - [0.85, 0.3], - ], - ], - ɺ: [ - [ - [0.15, 0.7], - [0.65, 0.7], - [0.85, 0.6], - ], - [ - [0.85, 0.725], - [0.85, 0.1], - ], - ], - ɻ: [ - [ - [0.15, 0.7], - [0.65, 0.7], - [0.77, 0.6], - ], - [ - [0.85, 0.9], - [0.77, 0.85], - [0.77, 0.725], - [0.77, 0.3], - ], - ], - ɼ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.15, 0.4], - ], - [ - [0.15, 0.275], - [0.15, 0.9], - ], - ], - ɽ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.15, 0.4], - ], - [ - [0.15, 0.275], - [0.15, 0.85], - [0.175, 0.875], - [0.25, 0.9], - ], - ], - ɾ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.15, 0.4], - [0.15, 0.7], - ], - ], - ɿ: [ - [ - [0.15, 0.3], - [0.65, 0.3], - [0.85, 0.4], - [0.85, 0.9], - ], - ], - ʁ: [ - [ - [0.265, 0.5], - [0.73, 0.5], - [0.73, 0.7], - [0.265, 0.7], - [0.265, 0.364], - ], - [ - [0.265, 0.496], - [0.73, 0.364], - ], - ], - - s: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.15, 0.7], - ], - ], - ſ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.35, 0.9], - ], - ], - ß: [ - [ - [0.15, 0.7], - [0.15, 0.25], - [0.5, 0.25], - [0.5, 0.35], - [0.35, 0.35], - [0.35, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.35, 0.7], - ], - ], - ȿ: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.15, 0.7], - [0.25, 0.8], - [0.35, 0.8], - ], - ], - ẜ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.35, 0.9], - ], - [ - [0.15, 0.6], - [0.55, 0.4], - ], - ], - ẝ: [ - [ - [0.85, 0.3], - [0.35, 0.3], - [0.35, 0.9], - ], - [ - [0.15, 0.55], - [0.55, 0.55], - ], - ], - ʃ: [ - [ - [0.85, 0.3], - [0.5, 0.3], - [0.5, 0.9], - [0.15, 0.9], - ], - ], - ƪ: [ - [ - [0.45, 0.45], - [0.3, 0.45], - [0.3, 0.3], - [0.45, 0.3], - [0.45, 0.9], - [0.75, 0.9], - ], - ], - ʅ: [ - [ - [0.25, 0.3], - [0.5, 0.3], - [0.5, 0.9], - [0.75, 0.9], - ], - ], - ʆ: [ - [ - [0.85, 0.3], - [0.45, 0.3], - [0.45, 0.9], - [0.25, 0.9], - [0.25, 0.75], - [0.5, 0.75], - ], - ], - - t: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.35, 0.2], - [0.35, 0.7], - [0.85, 0.7], - ], - ], - ʨ: [ - [ - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.25, 0.2], - [0.25, 0.7], - [0.85, 0.6], - [0.85, 0.7], - [0.6, 0.7], - [0.6, 0.3], - [0.85, 0.3], - ], - ], - ƾ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.35, 0.2], - [0.35, 0.5], - [0.65, 0.5], - [0.65, 0.7], - [0.15, 0.7], - ], - ], - ʦ: [ - [ - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.25, 0.2], - [0.25, 0.7], - [0.85, 0.7], - [0.85, 0.5], - [0.6, 0.5], - [0.6, 0.3], - [0.85, 0.3], - ], - ], - ʧ: [ - [ - [0.15, 0.3], - [0.5, 0.3], - ], - [ - [0.25, 0.2], - [0.25, 0.7], - [0.5, 0.7], - ], - [ - [0.75, 0.15], - [0.5, 0.15], - [0.5, 0.9], - [0.4, 0.9], - ], - ], - ŧ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.15, 0.5], - [0.85, 0.5], - ], - [ - [0.35, 0.2], - [0.35, 0.7], - [0.85, 0.7], - ], - ], - ƭ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.5, 0.2], - [0.35, 0.2], - [0.35, 0.7], - [0.85, 0.7], - ], - ], - ʈ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.35, 0.2], - [0.35, 0.9], - [0.65, 0.9], - ], - ], - ȶ: [ - [ - [0.25, 0.3], - [0.85, 0.3], - ], - [ - [0.5, 0.2], - [0.5, 0.7], - [0.85, 0.7], - [0.85, 0.5], - [0.25, 0.7], - ], - ], - ʇ: [ - [ - [0.85, 0.7], - [0.15, 0.7], - ], - [ - [0.65, 0.8], - [0.65, 0.3], - [0.15, 0.3], - ], - ], - - u: [ - [ - [0.15, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.85, 0.75], - [0.85, 0.3], - ], - ], - ʉ: [ - [ - [0.25, 0.3], - [0.25, 0.7], - [0.75, 0.7], - ], - [ - [0.75, 0.75], - [0.75, 0.3], - ], - [ - [0.15, 0.45], - [0.85, 0.45], - ], - ], - ɥ: [ - [ - [0.25, 0.3], - [0.25, 0.7], - [0.8, 0.7], - ], - [ - [0.75, 0.9], - [0.75, 0.3], - ], - ], - ʮ: [ - [ - [0.25, 0.3], - [0.35, 0.3], - [0.35, 0.7], - [0.8, 0.7], - ], - [ - [0.75, 0.9], - [0.75, 0.3], - ], - ], - ʯ: [ - [ - [0.25, 0.3], - [0.35, 0.3], - [0.35, 0.7], - [0.8, 0.7], - ], - [ - [0.85, 0.9], - [0.75, 0.9], - [0.75, 0.3], - ], - ], - ɯ: [ - [ - [0.85, 0.3], - [0.85, 0.725], - ], - [ - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - ], - [ - [0.5, 0.3], - [0.5, 0.7], - ], - ], - ɰ: [ - [ - [0.75, 0.3], - [0.75, 0.9], - ], - [ - [0.75, 0.7], - [0.25, 0.7], - [0.25, 0.3], - ], - [ - [0.5, 0.3], - [0.5, 0.7], - ], - ], - ʊ: [ - [ - [0.15, 0.3], - [0.45, 0.3], - [0.25, 0.7], - [0.75, 0.7], - [0.55, 0.3], - [0.85, 0.3], - ], - ], - - v: [ - [ - [0.15, 0.3], - [0.5, 0.7], - [0.85, 0.3], - ], - ], - ʋ: [ - [ - [0.15, 0.3], - [0.5, 0.7], - [0.85, 0.3], - [0.65, 0.3], - ], - ], - ỽ: [ - [ - [0.15, 0.15], - [0.5, 0.7], - [0.85, 0.4], - [0.65, 0.4], - ], - ], - ʌ: [ - [ - [0.15, 0.7], - [0.5, 0.3], - [0.85, 0.7], - ], - ], - - w: [ - [ - [0.15, 0.3], - [0.15, 0.725], - ], - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.3], - ], - [ - [0.5, 0.3], - [0.5, 0.7], - ], - ], - ʍ: [ - [ - [0.85, 0.7], - [0.85, 0.275], - ], - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.7], - ], - [ - [0.5, 0.7], - [0.5, 0.3], - ], - ], - - x: [ - [ - [0.15, 0.3], - [0.85, 0.7], - ], - [ - [0.85, 0.3], - [0.15, 0.7], - ], - ], - - y: [ - [ - [0.15, 0.3], - [0.15, 0.7], - [0.875, 0.7], - ], - [ - [0.85, 0.3], - [0.85, 0.9], - [0.5, 0.9], - ], - ], - ʏ: [ - [ - [0.265, 0.3], - [0.5, 0.5], - [0.73, 0.3], - ], - [ - [0.5, 0.5], - [0.5, 0.628], - ], - ], - ɏ: [ - [ - [0.25, 0.3], - [0.25, 0.7], - [0.775, 0.7], - ], - [ - [0.75, 0.3], - [0.75, 0.9], - [0.5, 0.9], - ], - [ - [0.15, 0.5], - [0.85, 0.5], - ], - ], - ƴ: [ - [ - [0.15, 0.3], - [0.15, 0.7], - [0.775, 0.7], - ], - [ - [0.85, 0.3], - [0.75, 0.3], - [0.75, 0.9], - [0.5, 0.9], - ], - ], - ỿ: [ - [ - [0.15, 0.3], - [0.15, 0.7], - [0.775, 0.7], - ], - [ - [0.75, 0.3], - [0.75, 0.9], - [0.5, 0.9], - [0.85, 0.7], - ], - ], - ȝ: [ - [ - [0.25, 0.4], - [0.75, 0.3], - [0.75, 0.65], - [0.25, 0.75], - ], - [ - [0.5, 0.55], - [0.75, 0.5], - ], - ], - - z: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ƍ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.3], - ], - [ - [0.15, 0.7], - [0.85, 0.9], - [0.15, 0.9], - ], - ], - ƶ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.15, 0.7], - [0.85, 0.7], - ], - [ - [0.35, 0.5], - [0.65, 0.5], - ], - ], - ʐ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.87], - [0.9, 0.9], - ], - ], - ʑ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.6], - [0.65, 0.6], - [0.35, 0.8], - ], - ], - ɀ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.15, 0.7], - [0.5, 0.9], - [0.85, 0.9], - ], - ], - ʒ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.5, 0.7], - [0.85, 0.7], - [0.85, 0.9], - [0.15, 0.9], - ], - ], - ƹ: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.5, 0.7], - [0.15, 0.7], - [0.15, 0.9], - [0.85, 0.9], - ], - ], - ƺ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.5, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.9], - [0.7, 0.9], - ], - ], - ʓ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.5, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.15, 0.7], - [0.15, 0.5], - [0.65, 0.9], - ], - ], - þ: [ - [ - [0.25, 0.3], - [0.75, 0.3], - [0.75, 0.7], - [0.25, 0.7], - ], - [ - [0.25, 0.1], - [0.25, 0.9], - ], - ], - ƿ: [ - [ - [0.25, 0.3], - [0.75, 0.1], - [0.75, 0.5], - [0.25, 0.7], - ], - [ - [0.25, 0.3], - [0.25, 0.9], - ], - ], - ƨ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.4], - [0.15, 0.6], - [0.15, 0.7], - [0.85, 0.7], - ], - ], - ƽ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - ], - [ - [0.35, 0.3], - [0.35, 0.5], - [0.85, 0.5], - [0.85, 0.7], - [0.15, 0.7], - ], - ], - ƅ: [ - [ - [0.15, 0.1], - [0.25, 0.1], - [0.25, 0.725], - ], - [ - [0.25, 0.3], - [0.85, 0.3], - [0.85, 0.7], - [0.25, 0.7], - ], - ], - ɂ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.5], - [0.5, 0.5], - [0.5, 0.7], - ], - ], - ʕ: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.5], - [0.5, 0.5], - [0.5, 0.9], - ], - ], - ʡ: [ - [ - [0.15, 0.3], - [0.85, 0.3], - [0.85, 0.5], - [0.5, 0.5], - [0.5, 0.9], - ], - [ - [0.35, 0.7], - [0.65, 0.7], - ], - ], - ʢ: [ - [ - [0.85, 0.3], - [0.15, 0.3], - [0.15, 0.5], - [0.5, 0.5], - [0.5, 0.9], - ], - [ - [0.65, 0.7], - [0.35, 0.7], - ], - ], - ʖ: [ - [ - [0.15, 0.7], - [0.85, 0.7], - [0.85, 0.5], - [0.5, 0.5], - [0.5, 0.1], - ], - ], - ʗ: [ - [ - [0.75, 0.3], - [0.25, 0.3], - [0.25, 0.9], - [0.75, 0.9], - ], - ], - ʘ: [ - [ - [0.25, 0.3], - [0.75, 0.3], - [0.75, 0.7], - [0.25, 0.7], - [0.25, 0.3], - ], - [ - [0.5, 0.4875], - [0.5, 0.5125], - ], - ], - ʬ: [ - [ - [0.25, 0.3], - [0.33, 0.5], - [0.5, 0.3], - [0.66, 0.5], - [0.75, 0.3], - ], - [ - [0.25, 0.5], - [0.33, 0.7], - [0.5, 0.5], - [0.66, 0.7], - [0.75, 0.5], - ], - ], - ʭ: [ - [ - [0.25, 0.4], - [0.25, 0.3], - [0.75, 0.3], - [0.75, 0.4], - ], - [ - [0.25, 0.7], - [0.25, 0.6], - [0.75, 0.6], - [0.75, 0.7], - ], - ], -} as Font; - -const keys = Object.keys(base); -const r = (x: number) => Math.round(x * 1000) / 1000; -const remapped = {} as Font; -keys.forEach((k: keyof Font) => { - const g = base[k].map((l) => l.map((v) => [v[0], r(v[1] / 1.4 + 0.2)])); - remapped[k] = g; -}); -console.log(JSON.stringify(remapped)); -*/ export { base }; diff --git a/src/uppercase/base.ts b/src/uppercase/base.ts index aed3de7..f5ca529 100644 --- a/src/uppercase/base.ts +++ b/src/uppercase/base.ts @@ -979,7 +979,7 @@ const base = { [0.75, 0.537], ], ], - + Z: [ [ [0.15, 0.271], @@ -988,6 +988,116 @@ const base = { [0.85, 0.7], ], ], + Ƶ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + [0.15, 0.7], + [0.85, 0.7], + ], + [ + [0.15, 0.5], + [0.85, 0.5], + ], + ], + Ɀ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + [0.15, 0.7], + [0.45, 0.7], + [0.6, 0.9], + [0.85, 0.9], + ], + ], + Ʒ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + [0.5, 0.7], + [0.85, 0.7], + [0.85, 0.9], + [0.15, 0.9], + ], + ], + Ƹ: [ + [ + [0.85, 0.271], + [0.15, 0.271], + [0.5, 0.7], + [0.15, 0.7], + [0.15, 0.9], + [0.85, 0.9], + ], + ], + Þ: [ + [ + [0.15, 0.414], + [0.85, 0.414], + [0.85, 0.75], + [0.15, 0.75], + ], + [ + [0.15, 0.271], + [0.15, 0.9], + ], + ], + Ƿ: [ + [ + [0.15, 0.414], + [0.85, 0.271], + [0.85, 0.557], + [0.15, 0.7], + ], + [ + [0.15, 0.414], + [0.15, 0.9], + ], + ], + Ƨ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + [0.85, 0.4], + [0.15, 0.55], + [0.15, 0.7], + [0.85, 0.7], + ], + ], + Ƽ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + ], + [ + [0.35, 0.271], + [0.35, 0.5], + [0.85, 0.5], + [0.85, 0.7], + [0.15, 0.7], + ], + ], + Ƅ: [ + [ + [0.15, 0.171], + [0.15, 0.718], + ], + [ + [0.15, 0.414], + [0.85, 0.414], + [0.85, 0.7], + [0.15, 0.7], + ], + ], + Ɂ: [ + [ + [0.15, 0.271], + [0.85, 0.271], + [0.85, 0.557], + [0.5, 0.557], + [0.5, 0.7], + ], + ], } as Font; export { base }; diff --git a/src/uppercase/diaBaseAssociation.ts b/src/uppercase/diaBaseAssociation.ts index b78c0c1..e09853f 100644 --- a/src/uppercase/diaBaseAssociation.ts +++ b/src/uppercase/diaBaseAssociation.ts @@ -299,6 +299,15 @@ const diaBaseAssociation = { Ỷ: ["Y", ["ha"]], Ỵ: ["Y", ["db"]], + // Z + Ź: ["Z", ["ct"]], + Ẑ: ["Z", ["cr"]], + Ž: ["Z", ["hc"]], + Ż: ["Z", ["da"]], + Ẓ: ["Z", ["da"]], + Ẕ: ["Z", ["lb"]], + Ȥ: ["Z", ["hbr"]], + Ǯ: ["Ʒ", ["hc"]], } as ExtendedTable; export { diaBaseAssociation };