diff --git a/generator.js b/generator.js index 4215c6b57..d98b7d6bf 100644 --- a/generator.js +++ b/generator.js @@ -170,7 +170,7 @@ if (argv.o) { // finalize font.glyf.forEach((g) => { if (g.contours) { - Glyph.prototype.cleanup.call(g, 0.25); + Glyph.prototype.cleanup.call(g, 0.1); g.contours = c2q.contours(g.contours); for (var k = 0; k < g.contours.length; k++) { var contour = g.contours[k]; diff --git a/glyphs/symbol-math.ptl b/glyphs/symbol-math.ptl index 7f6f8bdd3..c285265d0 100644 --- a/glyphs/symbol-math.ptl +++ b/glyphs/symbol-math.ptl @@ -206,7 +206,8 @@ export : define [apply] : begin sketch # coloncolon set-width FULLWIDTH - local radius : linreg WIDTH (0.5 * [adviceBlackness 2.5] * PERIODSIZE / DOTSIZE) UPM PERIODRADIUS FULLWIDTH + local radius : Math.min PERIODRADIUS + linreg WIDTH (0.5 * [adviceBlackness 3.5] * PERIODSIZE / STROKE) UPM PERIODRADIUS FULLWIDTH local left : mix 0 FULLWIDTH (1 / 4) local right : mix 0 FULLWIDTH (3 / 4) include : Ring (radius * 2 - O) O (left - radius + O) (left + radius - O) true diff --git a/glyphs/symbol-punctuation.ptl b/glyphs/symbol-punctuation.ptl index 82968a1aa..90efdfc8d 100644 --- a/glyphs/symbol-punctuation.ptl +++ b/glyphs/symbol-punctuation.ptl @@ -882,13 +882,15 @@ export : define [apply] : begin do 'Ellipsis' sketch # onedotLeader set-width FULLWIDTH - local radius : linreg WIDTH (0.5 * [adviceBlackness 3.25] * PERIODSIZE / DOTSIZE) UPM PERIODRADIUS FULLWIDTH + local radius : Math.min PERIODRADIUS + linreg WIDTH (0.5 * [adviceBlackness 3.5] * PERIODSIZE / STROKE) UPM PERIODRADIUS FULLWIDTH include : Ring (radius * 2 - O) O (FULLWIDTH / 2 - radius + O) (FULLWIDTH / 2 + radius - O) true save 'onedotLeader' 0x2024 sketch # twodotsLEader set-width FULLWIDTH - local radius : linreg WIDTH (0.5 * [adviceBlackness 3.25] * PERIODSIZE / DOTSIZE) UPM PERIODRADIUS FULLWIDTH + local radius : Math.min PERIODRADIUS + linreg WIDTH (0.5 * [adviceBlackness 3.5] * PERIODSIZE / STROKE) UPM PERIODRADIUS FULLWIDTH local left : mix 0 FULLWIDTH (1 / 4) local right : mix 0 FULLWIDTH (3 / 4) include : Ring (radius * 2 - O) O (left - radius + O) (left + radius - O) true @@ -897,7 +899,8 @@ export : define [apply] : begin sketch # ellipsis set-width FULLWIDTH - local radius : linreg WIDTH (0.5 * [adviceBlackness 3.25] * PERIODSIZE / DOTSIZE) UPM PERIODRADIUS FULLWIDTH + local radius : Math.min PERIODRADIUS + linreg WIDTH (0.5 * [adviceBlackness 5] * PERIODSIZE / STROKE) UPM PERIODRADIUS FULLWIDTH local left : mix 0 FULLWIDTH (1 / 6) local right : mix 0 FULLWIDTH (5 / 6) include : Ring (radius * 2 - O) O (left - radius + O) (left + radius - O) true diff --git a/meta/feature/ligation.ptl b/meta/feature/ligation.ptl index 788660964..70c14452c 100644 --- a/meta/feature/ligation.ptl +++ b/meta/feature/ligation.ptl @@ -331,6 +331,10 @@ export all : define [buildLigations chain-rule lookupOrder commonList features l chain-rule # -<, =< arrowStick ~> [only 'arrow2' : lsx 'fj'] less ~> preserved + # <<, >>, <<<, >>> + includeLookup + .type 'gsub_chaining' + .subtables : list chain-rule # <<< less ~> [only 'arrow2' : lsx 'shiftN0q'] less ~> preserved