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 5.1.0 to 5.2.0

9

CHANGELOG.md

@@ -0,5 +1,12 @@

5.2.0 / 2021-04-07
------------------
- Bump dependencies.
- Migrate CI to github.
5.1.0 / 2020-10-29
------------------
- Added support of `d` attr in nested `<path>` tag (for UNSCII font source).
- Added support of `d` attr in nested `<path>` tag (for UNSCII font source).

@@ -6,0 +13,0 @@

8

package.json
{
"name": "svg2ttf",
"version": "5.1.0",
"version": "5.2.0",
"description": "Converts SVG font to TTF font",

@@ -28,3 +28,3 @@ "keywords": [

"dependencies": {
"argparse": "^1.0.6",
"argparse": "^2.0.1",
"cubic2quad": "^1.0.0",

@@ -34,8 +34,8 @@ "lodash": "^4.17.10",

"svgpath": "^2.1.5",
"xmldom": "~0.1.22"
"xmldom": "~0.5.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"mocha": "^7.1.2"
"mocha": "^8.3.2"
}
}
svg2ttf
=======
[![Build Status](https://img.shields.io/travis/fontello/svg2ttf/master.svg?style=flat)](https://travis-ci.org/fontello/svg2ttf)
[![CI](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/svg2ttf.svg?style=flat)](https://www.npmjs.org/package/svg2ttf)

@@ -6,0 +6,0 @@

@@ -20,69 +20,52 @@ #!/usr/bin/env node

var parser = new ArgumentParser({
version: require('./package.json').version,
addHelp: true,
add_help: true,
description: 'SVG to TTF font converter'
});
parser.addArgument(
[ '-c', '--copyright' ],
{
help: 'Copyright text',
required: false
}
);
parser.add_argument('-v', '--version', {
action: 'version',
version: require('./package.json').version
});
parser.addArgument(
[ '-d', '--description' ],
{
help: 'Override default description text',
required: false,
type: 'string'
}
);
parser.add_argument('-c', '--copyright', {
help: 'Copyright text',
required: false
});
parser.addArgument(
[ '--ts' ],
{
help: 'Override font creation time (Unix time stamp)',
required: false,
type: 'int'
}
);
parser.add_argument('-d', '--description', {
help: 'Override default description text',
required: false,
type: 'str'
});
parser.addArgument(
[ '-u', '--url' ],
{
help: 'Override default manufacturer url',
required: false,
type: 'string'
}
);
parser.add_argument('--ts', {
help: 'Override font creation time (Unix time stamp)',
required: false,
type: 'int'
});
parser.addArgument(
[ '--vs' ],
{
help: 'Override default font version string (Version 1.0), can be "x.y" or "Version x.y"',
required: false,
type: 'string'
}
);
parser.add_argument('-u', '--url', {
help: 'Override default manufacturer url',
required: false,
type: 'str'
});
parser.addArgument(
[ 'infile' ],
{
nargs: 1,
help: 'Input file'
}
);
parser.add_argument('--vs', {
help: 'Override default font version string (Version 1.0), can be "x.y" or "Version x.y"',
required: false,
type: 'str'
});
parser.addArgument(
[ 'outfile' ],
{
nargs: 1,
help: 'Output file'
}
);
parser.add_argument('infile', {
nargs: 1,
help: 'Input file'
});
parser.add_argument('outfile', {
nargs: 1,
help: 'Output file'
});
var args = parser.parseArgs();
var args = parser.parse_args();
var svg;

@@ -89,0 +72,0 @@ var options = {};

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