Enwiden slabs.

This commit is contained in:
be5invis 2015-12-12 03:37:44 +08:00
parent ffa8669e3a
commit c538524fbd
2 changed files with 5 additions and 6 deletions

View File

@ -135,10 +135,8 @@ style = " Italic"
slab = true
onebalance = 10
overshootx = -16
[slab.multiplies]
sb = 1.167
sb = 1.1
[slab.adds]
family = " Slab"

View File

@ -45,13 +45,13 @@ define [Glyph.prototype.start-from x y] : begin
set contour.tag this.defaultTag
this.contours.push contour
return this
Glyph.prototype.moveTo = Glyph.prototype.start-from
define [Glyph.prototype.line-to x y] : begin
this.contours.((this.contours.length - 1)).push [Point.transformed this.gizmo x y true]
return this
Glyph.prototype.lineTo = Glyph.prototype.line-to
define [Glyph.prototype.curve-control x y] : begin
this.contours.((this.contours.length - 1)).push [tp this.gizmo [new Point x y false]]
return this
@ -71,12 +71,13 @@ define [Glyph.prototype.cubic-to x1 y1 x2 y2 x y] : begin
Point.transformed this.gizmo x2 y2 false true
Point.transformed this.gizmo x y true
return this
Glyph.prototype.cubicTo = Glyph.prototype.cubic-to
define [Glyph.prototype.reverse-last] : begin
if [this.contours && this.contours.(this.contours.length - 1)] : begin
this.contours.(this.contours.length - 1) = [this.contours.(this.contours.length - 1).reverse]
return this
Glyph.prototype.reverseLast = Glyph.prototype.reverse-last
define [Glyph.prototype.tag-contour tag n] : begin
if this.contours : begin