Add the fraction numeric form glyphs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14398
This commit is contained in:
Kuba Sunderland-Ober 2023-07-25 16:58:16 +00:00 committed by Seth Hillbrand
parent 132a0ada73
commit 589030d672
3 changed files with 136 additions and 18 deletions

View File

@ -8720,22 +8720,22 @@ const char* const newstroke_font[] =
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
/* // Number Forms (2150-218F) */
"F^K[KFYFY[K[", /* U+2150 */
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"G]KQYQ RVNNN RNCPBR@RN RMSWSPa", /* U+2150 FRAC_LINE DIGIT_1_SMALL */
"G]KQYQ RVNNN RNCPBR@RN RVYU[S\\Q\\O[NYNVOTQSSSUTVVV[U^T`RaOa",
"@dDQ`Q RVNNN RNCPBR@RN ROaGa RGVIUKSKa RXSZS\\T]W]]\\`ZaXaV`U]UWVTXS",
"G]KQYQ RVNNN RNCPBR@RN RNSVSRXSXUYV[V^U`SaPaN`",
"G]KQYQ RNAP@S@UAVCVEUGNNVN RNSVSRXSXUYV[V^U`SaPaN`",
"G]KQYQ RVNNN RNCPBR@RN RVSOSNYPXSXUYV[V^U`SaPaN`",
"G]KQYQ RNAP@S@UAVCVEUGNNVN RVSOSNYPXSXUYV[V^U`SaPaN`",
"G]KQYQ RN@V@RESEUFVHVKUMSNPNNM RVSOSNYPXSXUYV[V^U`SaPaN`",
"G]KQYQ RUFUN RQ@NJWJ RVSOSNYPXSXUYV[V^U`SaPaN`",
"G]KQYQ RVNNN RNCPBR@RN RN[OYQXSXUYV[V^U`SaQaO`N^NYOVPTRSUS",
"G]KQYQ RV@O@NFPESEUFVHVKUMSNPNNM RN[OYQXSXUYV[V^U`SaQaO`N^NYOVPTRSUS",
"G]KQYQ RVNNN RNCPBR@RN RQYOXNVOTQSSSUTVVUXSYQYOZN\\N^O`QaSaU`V^V\\UZSY",
"G]KQYQ RN@V@RESEUFVHVKUMSNPNNM RQYOXNVOTQSSSUTVVUXSYQYOZN\\N^O`QaSaU`V^V\\UZSY",
"G]KQYQ RV@O@NFPESEUFVHVKUMSNPNNM RQYOXNVOTQSSSUTVVUXSYQYOZN\\N^O`QaSaU`V^V\\UZSY",
"G]KQYQ RM@W@PN RQYOXNVOTQSSSUTVVUXSYQYOZN\\N^O`QaSaU`V^V\\UZSY",
"@BDQ`Q RVNNN RNCPBR@RN",
"F^K[KFYFY[K[", /* U+2160 */
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
@ -8777,7 +8777,7 @@ const char* const newstroke_font[] =
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"G]KQYQ RQ@S@UAVDVJUMSNQNOMNJNDOAQ@ RNSVSRXSXUYV[V^U`SaPaN`",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",
"F^K[KFYFY[K[",

View File

@ -2137,7 +2137,25 @@ skipcodes 38 0
skipcodes 41 0
// Number Forms (2150-218F)
skipcodes 64 0
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_7_SMALL DENOM=-
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_9_SMALL DENOM=-
+ FRAC_LINE_2 DIGIT_1_SMALL NUM=- DIGIT_1_SMALL DENOM_1=- DIGIT_0_SMALL DENOM_2=-
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_3_SMALL DENOM=-
+ FRAC_LINE DIGIT_2_SMALL NUM=- DIGIT_3_SMALL DENOM=-
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_5_SMALL DENOM=-
+ FRAC_LINE DIGIT_2_SMALL NUM=- DIGIT_5_SMALL DENOM=-
+ FRAC_LINE DIGIT_3_SMALL NUM=- DIGIT_5_SMALL DENOM=-
+ FRAC_LINE DIGIT_4_SMALL NUM=- DIGIT_5_SMALL DENOM=-
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_6_SMALL DENOM=-
+ FRAC_LINE DIGIT_5_SMALL NUM=- DIGIT_6_SMALL DENOM=-
+ FRAC_LINE DIGIT_1_SMALL NUM=- DIGIT_8_SMALL DENOM=-
+ FRAC_LINE DIGIT_3_SMALL NUM=- DIGIT_8_SMALL DENOM=-
+ FRAC_LINE DIGIT_5_SMALL NUM=- DIGIT_8_SMALL DENOM=-
+ FRAC_LINE DIGIT_7_SMALL NUM=- DIGIT_8_SMALL DENOM=-
+ FRAC_LINE_2_COMPOSABLE DIGIT_1_SMALL NUM=-
skipcodes 41 0
+ FRAC_LINE DIGIT_0_SMALL NUM=- DIGIT_3_SMALL DENOM=-
skipcodes 6 0
// Arrows (2190-21FF)
+ !ARROW_E

View File

@ -8305,6 +8305,106 @@
)
)
)
(symbol "FRAC_LINE_2" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 -6.35 0)
(effects (font (size 1.524 1.524)))
)
(property "Value" "FRAC_LINE_2" (at 0 -8.89 0)
(effects (font (size 1.524 1.524)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "FRAC_LINE_2_0_1"
(polyline
(pts
(xy -17.78 12.7)
(xy 17.78 12.7)
)
(stroke (width 0) (type solid))
(fill (type none))
)
(pin input line (at 0 -7.62 0) (length 2.54)
(name "DENOM" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -8.89 -7.62 0) (length 2.54)
(name "DENOM_1" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at 8.89 -7.62 0) (length 2.54)
(name "DENOM_2" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at 0 16.51 0) (length 2.54)
(name "NUM" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -8.89 16.51 0) (length 2.54)
(name "NUM_1" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at 8.89 16.51 0) (length 2.54)
(name "NUM_2" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -22.86 0 90) (length 7.62)
(name "~" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at 22.86 0 90) (length 7.62)
(name "~" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "FRAC_LINE_2_COMPOSABLE" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 -6.35 0)
(effects (font (size 1.524 1.524)))
)
(property "Value" "FRAC_LINE_2_COMPOSABLE" (at 0 -8.89 0)
(effects (font (size 1.524 1.524)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "FRAC_LINE_2_COMPOSABLE_0_1"
(polyline
(pts
(xy -17.78 12.7)
(xy 17.78 12.7)
)
(stroke (width 0) (type solid))
(fill (type none))
)
(pin input line (at 0 16.51 0) (length 2.54)
(name "NUM" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -8.89 16.51 0) (length 2.54)
(name "NUM_1" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at 8.89 16.51 0) (length 2.54)
(name "NUM_2" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -22.86 0 90) (length 7.62)
(name "P" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
(pin input line (at -20.32 0 90) (length 7.62)
(name "S" (effects (font (size 1.27 1.27))))
(number "~" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "FULL_STOP" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 -6.35 0)
(effects (font (size 1.524 1.524)))