Comparing version 4.2.1 to 4.3.0
@@ -0,1 +1,7 @@ | ||
4.3.0 / 2019-05-24 | ||
------------------ | ||
- Add underline thickness/position support, #80. | ||
4.2.1 / 2019-05-23 | ||
@@ -2,0 +8,0 @@ ------------------ |
@@ -65,2 +65,9 @@ /* | ||
if (typeof svgFont.underlinePosition !== 'undefined') { | ||
font.underlinePosition = svgFont.underlinePosition; | ||
} | ||
if (typeof svgFont.underlineThickness !== 'undefined') { | ||
font.underlineThickness = svgFont.underlineThickness; | ||
} | ||
var glyphs = font.glyphs; | ||
@@ -67,0 +74,0 @@ var codePoints = font.codePoints; |
@@ -113,3 +113,5 @@ 'use strict'; | ||
descent: 'descent', | ||
unitsPerEm: 'units-per-em' | ||
unitsPerEm: 'units-per-em', | ||
underlineThickness: 'underline-thickness', | ||
underlinePosition: 'underline-position' | ||
}; | ||
@@ -116,0 +118,0 @@ _.forEach(attrs, function (val, key) { |
{ | ||
"name": "svg2ttf", | ||
"version": "4.2.1", | ||
"version": "4.3.0", | ||
"description": "Converts SVG font to TTF font", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
78658
2123