Update Deps
This commit is contained in:
parent
77b6532b1c
commit
187b783add
4 changed files with 5 additions and 5 deletions
|
@ -65,7 +65,7 @@ function regulateGlyph(g, skew) {
|
|||
function simplifyContours(source) {
|
||||
const sink = new FairizedShapeSink();
|
||||
|
||||
TypoGeom.transferGenericShape(
|
||||
TypoGeom.ShapeConv.transferGenericShape(
|
||||
TypoGeom.Fairize.fairizeBezierShape(
|
||||
TypoGeom.Boolean.removeOverlap(
|
||||
CurveUtil.convertShapeToArcs(source),
|
||||
|
|
|
@ -22,7 +22,7 @@ export : define [SetupBuilders args] : begin
|
|||
begin TypoGeom.Boolean.PolyFillType.pftNonZero
|
||||
begin CurveUtil.BOOLE_RESOLUTION
|
||||
local ctx : new CurveUtil.BezToContoursSink
|
||||
TypoGeom.transferBezArcShape c1 ctx
|
||||
TypoGeom.ShapeConv.transferBezArcShape c1 ctx
|
||||
set g.contours ctx.contours
|
||||
this.includeGlyph g
|
||||
return g
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$$include '../../meta/macros.ptl'
|
||||
|
||||
import [Arcs Quadify transferGenericShapeAsBezier] from "typo-geom"
|
||||
import [Arcs Quadify ShapeConv] from "typo-geom"
|
||||
import [OffsetCurve BezToContoursSink GEOMETRY_PRECISION] from '../../support/curve-util'
|
||||
import [mix linreg clamp fallback] from '../../support/utils'
|
||||
import [designParameters] from '../../meta/aesthetics'
|
||||
|
@ -220,7 +220,7 @@ glyph-block Marks : begin
|
|||
define outer : new Arcs.Reverted : new OffsetCurve bone (-hs) HVContrast
|
||||
|
||||
define cs : new BezToContoursSink
|
||||
transferGenericShapeAsBezier {{inner outer}} cs GEOMETRY_PRECISION
|
||||
ShapeConv.transferGenericShapeAsBezier {{inner outer}} cs GEOMETRY_PRECISION
|
||||
currentGlyph.includeGeometry cs 0 0
|
||||
|
||||
create-glyph 'tildeAbove' 0x303 : glyph-proc
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"toposort": "^2.0.2",
|
||||
"ttf2woff": "^2.0.2",
|
||||
"ttf2woff2": "^3.0.0",
|
||||
"typo-geom": "^0.10.2",
|
||||
"typo-geom": "^0.11.0",
|
||||
"unicode-13.0.0": "^0.8.0",
|
||||
"unorm": "^1.6.0",
|
||||
"verda": "^1.1.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue