improvements (tuning) to calt case substitutions. See issue #251

This commit is contained in:
Rasmus Andersson 2020-08-17 17:13:22 -07:00
parent ded07d03b6
commit ebdfaf21cf
3 changed files with 32 additions and 25 deletions

View file

@ -2,7 +2,8 @@
.appVersion = "1346"; .appVersion = "1346";
DisplayStrings = ( DisplayStrings = (
"/bitcoin 3/space/space/space $60/space/space/space 12¢", "/bitcoin 3/space/space/space $60/space/space/space 12¢",
"4¢" "4¢",
"()[/bracketleft_quill ]/bracketright_quill {}"
); );
classes = ( classes = (
{ {
@ -199271,7 +199272,7 @@ com.typemytype.robofont.guideline.magnetic.pOwuJlK9ke = 5;
}, },
{ {
glyphname = parenright; glyphname = parenright;
lastChange = "2019-12-17 15:13:12 +0000"; lastChange = "2020-08-17 23:59:11 +0000";
layers = ( layers = (
{ {
components = ( components = (
@ -199366,6 +199367,7 @@ width = 888;
); );
leftKerningGroup = parenright; leftKerningGroup = parenright;
widthMetricsKey = parenleft; widthMetricsKey = parenleft;
note = "!post:decompose";
rightKerningGroup = parenright; rightKerningGroup = parenright;
unicode = 0029; unicode = 0029;
userData = { userData = {
@ -199515,7 +199517,7 @@ unicode = 005B;
}, },
{ {
glyphname = bracketleft_quill; glyphname = bracketleft_quill;
lastChange = "2019-12-17 15:13:12 +0000"; lastChange = "2020-08-18 00:01:26 +0000";
layers = ( layers = (
{ {
components = ( components = (
@ -199651,7 +199653,7 @@ interface.gridadjust.original = "{'width': 890, 'leftMargin': 289, 'rightMargin'
}, },
{ {
glyphname = bracketright; glyphname = bracketright;
lastChange = "2019-12-17 15:13:12 +0000"; lastChange = "2020-08-18 00:01:08 +0000";
layers = ( layers = (
{ {
components = ( components = (
@ -199726,12 +199728,13 @@ width = 888;
); );
leftKerningGroup = parenright; leftKerningGroup = parenright;
widthMetricsKey = parenleft; widthMetricsKey = parenleft;
note = "!post:decompose";
rightKerningGroup = parenright; rightKerningGroup = parenright;
unicode = 005D; unicode = 005D;
}, },
{ {
glyphname = bracketright_quill; glyphname = bracketright_quill;
lastChange = "2019-12-17 15:13:12 +0000"; lastChange = "2020-08-18 00:01:15 +0000";
layers = ( layers = (
{ {
components = ( components = (
@ -199805,6 +199808,7 @@ width = 888;
} }
); );
leftMetricsKey = bracketright; leftMetricsKey = bracketright;
note = "!post:decompose";
rightMetricsKey = bracketright; rightMetricsKey = bracketright;
unicode = 2046; unicode = 2046;
userData = { userData = {
@ -200457,7 +200461,7 @@ unicode = 007B;
}, },
{ {
glyphname = braceright; glyphname = braceright;
lastChange = "2019-12-17 15:13:12 +0000"; lastChange = "2020-08-18 00:01:32 +0000";
layers = ( layers = (
{ {
background = { background = {
@ -200539,6 +200543,7 @@ width = 888;
); );
leftKerningGroup = parenright; leftKerningGroup = parenright;
widthMetricsKey = parenleft; widthMetricsKey = parenleft;
note = "!post:decompose";
rightKerningGroup = parenright; rightKerningGroup = parenright;
unicode = 007D; unicode = 007D;
}, },

View file

@ -256,32 +256,34 @@ ignore sub @CASE_DELIM_L @LC @UC @CASE_DELIM_L; # (xX)
ignore sub @CASE_DELIM_L @LC @All @UC @CASE_DELIM_L; # (x.X) ignore sub @CASE_DELIM_L @LC @All @UC @CASE_DELIM_L; # (x.X)
# #
# e.g. "x-" # e.g. "x-M"
ignore sub @LC @CASE_L'; # x- ignore sub @LC @CASE_L'; # x-
ignore sub @LC [@CASE_L @Whitespace] @CASE_L'; # x--, x - ignore sub @LC @CASE_L @CASE_L'; # x--
ignore sub @LC [@CASE_L @Whitespace] [@CASE_L @Whitespace] @CASE_L'; # x---, x --, x -, x- - ignore sub @LC @CASE_L @CASE_L @CASE_L'; # x---
ignore sub @LC # ignore sub @LC [@CASE_L @Whitespace] @CASE_L'; # x--, x -
[@CASE_L @Whitespace] # ignore sub @LC [@CASE_L @Whitespace] [@CASE_L @Whitespace] @CASE_L'; # x---, x --, x -, x- -
[@CASE_L @Whitespace] # ignore sub @LC
[@CASE_L @Whitespace] # [@CASE_L @Whitespace]
@CASE_L'; # x----, x ---, x --, x -, x- --, x- -, x-- - # [@CASE_L @Whitespace]
ignore sub @LC # [@CASE_L @Whitespace]
[@CASE_L @Whitespace] # @CASE_L'; # x----, x ---, x --, x -, x- --, x- -, x-- -
[@CASE_L @Whitespace] # ignore sub @LC
[@CASE_L @Whitespace] # [@CASE_L @Whitespace]
[@CASE_L @Whitespace] # [@CASE_L @Whitespace]
@CASE_L'; # x----- ... # [@CASE_L @Whitespace]
# [@CASE_L @Whitespace]
# @CASE_L'; # x----- ...
# #
# e.g. "x- " # e.g. "x- "
ignore sub @LC @CASE_L' @Whitespace; # "x- " # ignore sub @LC @CASE_L' @Whitespace; # "x- "
ignore sub @LC @CASE_L' @Whitespace @Whitespace; # "x- " # ignore sub @LC @CASE_L' @Whitespace @Whitespace; # "x- "
# #
# e.g. "-x" # e.g. "-x"
ignore sub @CASE_L @LC; # -x ignore sub @CASE_L @LC; # -x
ignore sub @CASE_L @CASE_L @LC; # --x ignore sub @CASE_L @CASE_L @LC; # --x
ignore sub @CASE_L @CASE_L @CASE_L @LC; # ---x ignore sub @CASE_L @CASE_L @CASE_L @LC; # ---x
ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @LC; # ----x # ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @LC; # ----x
ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @CASE_L @LC; # -----x # ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @CASE_L @LC; # -----x
# #
# pairs with space, e.g. "( ) M" since we don't support subbing # pairs with space, e.g. "( ) M" since we don't support subbing