diff options
author | Rasmus Andersson <rasmus@notion.se> | 2021-03-30 03:09:05 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2021-03-30 03:09:05 +0300 |
commit | 9b8f3f1b5ae495f0da18c17012d0689edab7f828 (patch) | |
tree | 9a20f0f1fec711ed0e750d57aa18c478a9833d27 /docs/lab | |
parent | 240270c8376fe2937ec4834104dc849b4afe980a (diff) | |
download | inter-9b8f3f1b5ae495f0da18c17012d0689edab7f828.tar.xz |
Disables glyph composition feature for enclosing+base (only permits order base+enclosing). Closes #335
Diffstat (limited to 'docs/lab')
-rw-r--r-- | docs/lab/index.html | 1 | ||||
-rw-r--r-- | docs/lab/lab.css | 2 | ||||
-rw-r--r-- | docs/lab/samples.js | 11 |
3 files changed, 12 insertions, 2 deletions
diff --git a/docs/lab/index.html b/docs/lab/index.html index 633348368..8a9ad5c7d 100644 --- a/docs/lab/index.html +++ b/docs/lab/index.html @@ -198,6 +198,7 @@ if (window.matchMedia('(prefers-color-scheme: dark)').matches) { <div class="checkbox-group"> <span>Default-on features:</span> <label title="Contextual alternates"><input type="checkbox" class="featopt" name="feat:calt=0"> Disable calt (Contextual alternates)</label> + <label title="Glyph Composition/Decomposition"><input type="checkbox" class="featopt" name="feat:ccmp=0"> Disable ccmp</label> <label title="Kerning"><input type="checkbox" class="featopt" name="feat:kern=0"> Disable kern (Kerning)</label> </div> diff --git a/docs/lab/lab.css b/docs/lab/lab.css index e67068e92..a4f603b11 100644 --- a/docs/lab/lab.css +++ b/docs/lab/lab.css @@ -258,7 +258,7 @@ input[type="checkbox"]::after { height:var(--checkbox-handle-size); border-radius:var(--checkbox-handle-size); transform: translate(0, 0); - transition: all 168ms ease-out; /*cubic-bezier(0.09, 0.49, 0.71, 0.98);*/ + transition: all 90ms ease-out; /*cubic-bezier(0.09, 0.49, 0.71, 0.98);*/ } input[type="checkbox"][checked] { background-color: var(--checkbox-on-bg); diff --git a/docs/lab/samples.js b/docs/lab/samples.js index 554b73097..f1262b56b 100644 --- a/docs/lab/samples.js +++ b/docs/lab/samples.js @@ -173,7 +173,7 @@ samples.set('Feature: ccmp', ` /i <modifier> --> /idotless ==> i\u0300 /idotless /gravecomb --> /igrave ==> \u0131\u0300 -Enclosing glyphs (glyph + {U+20DD,U+20DE}) +Enclosing glyphs (base + {U+20DD,U+20DE}) U+20DD COMBINING ENCLOSING CIRCLE: ⃝ U+20DE COMBINING ENCLOSING SQUARE: ⃞ @@ -204,6 +204,15 @@ U\u20DE V\u20DE W\u20DE X\u20DE Y\u20DE Z\u20DE !\u20DE ?\u ←\u20DE →\u20DE ↑\u20DE ↓\u20DE HE\u20DDLLO WO\u20DERLD + +The following should NOT compose but instead replace U+20DD or U+20DE with largeCircle or whiteLargeSquare: (They are in the wrong order: {U+20DD,U+20DE} + base. This was fixed in version 3.18.) + +\u20DDA \u20DDB \u20DDC \u20DD1 \u20DD2 \u20DD3 + +\u20DEA \u20DEB \u20DEC \u20DE1 \u20DE2 \u20DE3 + +;\u20DDELLO ;\u20DEORLD + `) |