From 3dfbe582dbcf7d81fd5e1f7a6028deaa39a5cf67 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sat, 1 Oct 2022 16:37:42 -0700 Subject: [PATCH] Add "Letter-like character" Omega for Unicode x2126 Fixes https://gitlab.com/kicad/code/kicad/issues/12531 (cherry picked from commit 1b38acd9c6f3c957ca9ebd9e71239a10c6305fdb) --- common/newstroke_font.cpp | 5 +++-- helpers/tools_to_build_newstroke-font/charlist.txt | 9 +++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/common/newstroke_font.cpp b/common/newstroke_font.cpp index 851b57e77b..e0c82343f7 100644 --- a/common/newstroke_font.cpp +++ b/common/newstroke_font.cpp @@ -8635,7 +8635,7 @@ const char* const newstroke_font[] = "F^K[KFYFY[K[", "F^K[KFYFY[K[", "F^K[KFYFY[K[", - /* // Letterlike Symbols (2100-214F) */ + /* // Letterlike Symbols (2100-2125) */ "F^K[KFYFY[K[", /* U+2100 */ "F^K[KFYFY[K[", "F^K[KFYFY[K[", @@ -8674,7 +8674,8 @@ const char* const newstroke_font[] = "F^K[KFYFY[K[", "F^K[KFYFY[K[", "F^K[KFYFY[K[", - "F^K[KFYFY[K[", + "F^J[O[OWMVKTJQJLKIMGPFTFWGYIZLZQYTWVUWU[Z[", + /* // Letterlike Symbols (2127-214F) */ "F^K[KFYFY[K[", "F^K[KFYFY[K[", "F^K[KFYFY[K[", diff --git a/helpers/tools_to_build_newstroke-font/charlist.txt b/helpers/tools_to_build_newstroke-font/charlist.txt index 338b5c613d..2e25f2c257 100644 --- a/helpers/tools_to_build_newstroke-font/charlist.txt +++ b/helpers/tools_to_build_newstroke-font/charlist.txt @@ -2128,8 +2128,13 @@ skipcodes 26 0 // Combining Diacritical Marks For Symbols (20D0-20FF) skipcodes 48 0 -// Letterlike Symbols (2100-214F) -skipcodes 80 0 +// Letterlike Symbols (2100-2125) +skipcodes 38 0 + ++ OMEGA_CAP + +// Letterlike Symbols (2127-214F) +skipcodes 41 0 // Number Forms (2150-218F) skipcodes 64 0