Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svg2ttf

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg2ttf - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

6

CHANGELOG.md

@@ -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;

4

lib/svg.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc