opentype.js
Advanced tools
Comparing version 0.6.0 to 0.6.1
{ | ||
"name": "opentype.js", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"main": "dist/opentype.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "opentype.js", | ||
"description": "OpenType font parser", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Frederik De Bleser", |
@@ -0,1 +1,6 @@ | ||
0.6.1 (February 20, 2015) | ||
========================= | ||
* Left side bearing is now correctly reported. | ||
* Simplified code for including ascender / descender values. | ||
0.6.0 (December 1, 2015) | ||
@@ -2,0 +7,0 @@ ======================== |
@@ -167,3 +167,3 @@ // The Glyph object | ||
yMax: Math.max.apply(null, yCoords), | ||
leftSideBearing: 0 | ||
leftSideBearing: this.leftSideBearing | ||
}; | ||
@@ -170,0 +170,0 @@ |
@@ -193,4 +193,4 @@ // The `sfnt` wrapper provides organization for the tables in the font. | ||
}; | ||
globals.ascender = font.ascender !== undefined ? font.ascender : globals.yMax; | ||
globals.descender = font.descender !== undefined ? font.descender : globals.yMin; | ||
globals.ascender = font.ascender; | ||
globals.descender = font.descender; | ||
@@ -197,0 +197,0 @@ var headTable = head.make({ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14
666242
62
12738