Update dependenceis
This commit is contained in:
parent
bc37121576
commit
40baf6bca9
4 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@ import '../support/transform' as : Transform && [object [transformPoint tp]]
|
||||||
import [curveToContour OffsetCurve] from '../support/curve-util'
|
import [curveToContour OffsetCurve] from '../support/curve-util'
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
import [designParameters] from '../meta/aesthetics'
|
import [designParameters] from '../meta/aesthetics'
|
||||||
import [Curve Quadify] from "typo-geom"
|
import [Arc Quadify] from "typo-geom"
|
||||||
import [TieMark TieGlyph] from "../support/gr"
|
import [TieMark TieGlyph] from "../support/gr"
|
||||||
|
|
||||||
glyph-module
|
glyph-module
|
||||||
|
@ -225,7 +225,7 @@ glyph-block Overmarks : begin
|
||||||
define z2 : tp currentGlyph.gizmo : object [x : mix leftEnd rightEnd tildeWaveX] [y : mix tbot ttop tildeWave]
|
define z2 : tp currentGlyph.gizmo : object [x : mix leftEnd rightEnd tildeWaveX] [y : mix tbot ttop tildeWave]
|
||||||
define z3 : tp currentGlyph.gizmo : object [x : mix leftEnd rightEnd (1 - tildeWaveX)] [y : mix tbot ttop (1 - tildeWave)]
|
define z3 : tp currentGlyph.gizmo : object [x : mix leftEnd rightEnd (1 - tildeWaveX)] [y : mix tbot ttop (1 - tildeWave)]
|
||||||
define z4 : tp currentGlyph.gizmo : object [x rightEnd] [y ttop]
|
define z4 : tp currentGlyph.gizmo : object [x rightEnd] [y ttop]
|
||||||
define bone : new Curve.Bez3 z1 z2 z3 z4
|
define bone : new Arc.Bez3 z1 z2 z3 z4
|
||||||
|
|
||||||
define inner : curveToContour [new OffsetCurve bone (+hs) HVContrast] 32
|
define inner : curveToContour [new OffsetCurve bone (+hs) HVContrast] 32
|
||||||
define outer : curveToContour [new OffsetCurve bone (-hs) HVContrast] 32
|
define outer : curveToContour [new OffsetCurve bone (-hs) HVContrast] 32
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"topsort": "^0.0.2",
|
"topsort": "^0.0.2",
|
||||||
"ttf2woff": "^2.0.1",
|
"ttf2woff": "^2.0.1",
|
||||||
"ttf2woff2": "^3.0.0",
|
"ttf2woff2": "^3.0.0",
|
||||||
"typo-geom": "^0.5.1",
|
"typo-geom": "^0.6.0",
|
||||||
"unicode-13.0.0": "^0.8.0",
|
"unicode-13.0.0": "^0.8.0",
|
||||||
"unorm": "^1.6.0",
|
"unorm": "^1.6.0",
|
||||||
"verda": "^1.0.1",
|
"verda": "^1.0.1",
|
||||||
|
|
|
@ -182,7 +182,7 @@ function autoCubify(arc, err) {
|
||||||
if (s > 0) offPoints.push(z0);
|
if (s > 0) offPoints.push(z0);
|
||||||
offPoints.push(z1, z2);
|
offPoints.push(z1, z2);
|
||||||
|
|
||||||
const bezArc = new typoGeom.Curve.Bez3(z0, z1, z2, z3);
|
const bezArc = new typoGeom.Arc.Bez3(z0, z1, z2, z3);
|
||||||
|
|
||||||
for (let k = 1; k < perSegHits; k++) {
|
for (let k = 1; k < perSegHits; k++) {
|
||||||
const tk = k / perSegHits;
|
const tk = k / perSegHits;
|
||||||
|
|
|
@ -201,7 +201,7 @@ class BezierCurveCluster {
|
||||||
if (zs[j].on) {
|
if (zs[j].on) {
|
||||||
const z1 = last,
|
const z1 = last,
|
||||||
z4 = zs[j];
|
z4 = zs[j];
|
||||||
const seg = new typoGeom.Curve.StraightSegment(z1, z4);
|
const seg = new typoGeom.Arc.StraightSegment(z1, z4);
|
||||||
segments.push(seg);
|
segments.push(seg);
|
||||||
lengths.push(this.measureLength(seg));
|
lengths.push(this.measureLength(seg));
|
||||||
last = z4;
|
last = z4;
|
||||||
|
@ -210,7 +210,7 @@ class BezierCurveCluster {
|
||||||
z2 = zs[j],
|
z2 = zs[j],
|
||||||
z3 = zs[j + 1],
|
z3 = zs[j + 1],
|
||||||
z4 = zs[j + 2];
|
z4 = zs[j + 2];
|
||||||
const seg = new typoGeom.Curve.Bez3(z1, z2, z3, z4);
|
const seg = new typoGeom.Arc.Bez3(z1, z2, z3, z4);
|
||||||
segments.push(seg);
|
segments.push(seg);
|
||||||
lengths.push(this.measureLength(seg));
|
lengths.push(this.measureLength(seg));
|
||||||
last = z4;
|
last = z4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue