opentype.js
Advanced tools
Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "opentype.js", | ||
"description": "OpenType font parser", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Frederik De Bleser", |
@@ -0,1 +1,5 @@ | ||
1.3.3 (April 20, 2020) | ||
===================== | ||
* fix GlyphOptions with falsy values (#430) | ||
1.3.2 (April 20, 2020) | ||
@@ -2,0 +6,0 @@ ===================== |
@@ -69,19 +69,19 @@ // The Glyph object | ||
// the memory requirements by almost 3% for larger fonts. | ||
if (options.xMin) { | ||
if ('xMin' in options) { | ||
this.xMin = options.xMin; | ||
} | ||
if (options.yMin) { | ||
if ('yMin' in options) { | ||
this.yMin = options.yMin; | ||
} | ||
if (options.xMax) { | ||
if ('xMax' in options) { | ||
this.xMax = options.xMax; | ||
} | ||
if (options.yMax) { | ||
if ('yMax' in options) { | ||
this.yMax = options.yMax; | ||
} | ||
if (options.advanceWidth) { | ||
if ('advanceWidth' in options) { | ||
this.advanceWidth = options.advanceWidth; | ||
@@ -88,0 +88,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3697654