Socket
Socket
Sign inDemoInstall

svgicons2svgfont

Package Overview
Dependencies
10
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.1 to 9.0.2

40

.readme/contents.md

@@ -80,20 +80,20 @@ svgicons2svgfont is a simple tool to merge

#
# -h, --help output usage information
# -V, --version output the version number
# -v, --verbose tell me everything!
# -o, --output [/dev/stdout] Output file.
# -f, --fontname [value] the font family name you want [iconfont].
# -i, --fontId [value] The font id you want [fontname]
# -st, --style [value] the font style you want [iconfont].
# -we, --weight [value] the font weight you want [iconfont].
# -w, --fixedWidth creates a monospace font of the width of the largest input icon.
# -c, --centerhorizontally calculate the bounds of a glyph and center it horizontally.
# -n, --normalize normalize icons by scaling them to the height of the highest icon.
# -h, --height [value] the outputted font height [MAX(icons.height)].
# -r, --round [value] setup the SVG path rounding [10e12].
# -d, --descent [value] the font descent [0].
# -a, --ascent [value] the font ascent [height - descent].
# -s, --startunicode [value] the start unicode codepoint for unprefixed files [0xEA01].
# -a, --prependUnicode prefix files with their automatically allocated unicode codepoint.
# -m, --metadata content of the metadata tag.
# -o, --output [/dev/stdout] file to write output to
# -f, --fontname [value] the font family name you want [iconfont]
# -i, --fontId [value] the font id you want [fontname]
# -st, --style [value] the font style you want
# -we, --weight [value] the font weight you want
# -w, --fixedWidth creates a monospace font of the width of the largest input icon
# -c, --centerhorizontally calculate the bounds of a glyph and center it horizontally
# -n, --normalize normalize icons by scaling them to the height of the highest icon
# -h, --height [value] the output font height [MAX(icons.height)] (icons will be scaled so the highest has this height)
# -r, --round [value] setup the SVG path rounding [10e12]
# -d, --descent [value] the font descent [0]
# -a, --ascent [value] the font ascent [height - descent]
# -s, --startunicode [value] the start unicode codepoint for unprefixed files [0xEA01]
# -a, --prependUnicode prefix files with their automatically allocated unicode code point
# -m, --metadata content of the metadata tag
# -h, --help output usage information
```

@@ -141,8 +141,2 @@

**Warning:** The bounds calculation is currently a naive implementation that
may not work for some icons. We need to create a svg-pathdata-draw module on
top of svg-pathdata to get the real bounds of the icon. It's on the bottom
of my to do, but feel free to work on it. Discuss it in the
[related issue](https://github.com/nfroidure/svgicons2svgfont/issues/18).
#### options.normalize

@@ -191,3 +185,3 @@ Type: `Boolean`

Allows you to provide your own logging function. Set to `function(){}` to
impeach logging.
disable logging.

@@ -194,0 +188,0 @@ ## Build systems

@@ -14,25 +14,25 @@ #! /usr/bin/env node

program
.version('2.0.0')
.version(require('../package').version)
.usage('[options] <icons ...>')
.option('-v, --verbose', 'tell me everything!')
.option('-o, --output [/dev/stdout]', 'Output file.')
.option('-f, --fontname [value]', 'the font family name you want [iconfont].')
.option('-i, --fontId [value]', 'the font id you want [fontname].')
.option('-st, --style [value]', 'the font style you want.')
.option('-we, --weight [value]', 'the font weight you want.')
.option('-o, --output [/dev/stdout]', 'file to write output to')
.option('-f, --fontname [value]', 'the font family name you want [iconfont]')
.option('-i, --fontId [value]', 'the font id you want [fontname]')
.option('-st, --style [value]', 'the font style you want')
.option('-we, --weight [value]', 'the font weight you want')
.option(
'-w, --fixedWidth',
'creates a monospace font of the width of the largest input icon.'
'creates a monospace font of the width of the largest input icon'
)
.option(
'-c, --centerhorizontally',
'calculate the bounds of a glyph and center it horizontally.'
'calculate the bounds of a glyph and center it horizontally'
)
.option(
'-n, --normalize',
'normalize icons by scaling them to the height of the highest icon.'
'normalize icons by scaling them to the height of the highest icon'
)
.option(
'-h, --height [value]',
'the output font height [MAX(icons.height)]. Icons will be scaled so the highest has this height.',
'the output font height [MAX(icons.height)] (icons will be scaled so the highest has this height)',
parseInt

@@ -42,9 +42,9 @@ )

'-r, --round [value]',
'setup the SVG path rounding [10e12].',
'setup the SVG path rounding [10e12]',
parseFloat
)
.option('-d, --descent [value]', 'the font descent [0].', parseInt)
.option('-d, --descent [value]', 'the font descent [0]', parseInt)
.option(
'-a, --ascent [value]',
'the font ascent [height - ascent].',
'the font ascent [height - descent]',
parseInt

@@ -54,3 +54,3 @@ )

'-s, --startunicode [value]',
'the start unicode codepoint for' + ' unprefixed files [0xEA01].',
'the start unicode codepoint for' + ' unprefixed files [0xEA01]',
parseInt

@@ -60,6 +60,6 @@ )

'-a, --prependUnicode',
'prefix files with their automatically' + ' allocated unicode codepoint.',
'prefix files with their automatically' + ' allocated unicode code point',
parseInt
)
.option('-m, --metadata', 'content of the metadata tag.')
.option('-m, --metadata', 'content of the metadata tag')
.parse(process.argv);

@@ -66,0 +66,0 @@

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

<a name="9.0.2"></a>
## [9.0.2](https://github.com/nfroidure/svgicons2svgfont/compare/v9.0.1...v9.0.2) (2018-02-26)
<a name="9.0.1"></a>

@@ -2,0 +7,0 @@ ## [9.0.1](https://github.com/nfroidure/svgicons2svgfont/compare/v9.0.0...v9.0.1) (2018-02-26)

{
"name": "svgicons2svgfont",
"version": "9.0.1",
"version": "9.0.2",
"description": "Read a set of SVG icons and ouput a SVG font",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/nfroidure/svgicons2svgfont",

@@ -96,20 +96,20 @@ <!--

#
# -h, --help output usage information
# -V, --version output the version number
# -v, --verbose tell me everything!
# -o, --output [/dev/stdout] Output file.
# -f, --fontname [value] the font family name you want [iconfont].
# -i, --fontId [value] The font id you want [fontname]
# -st, --style [value] the font style you want [iconfont].
# -we, --weight [value] the font weight you want [iconfont].
# -w, --fixedWidth creates a monospace font of the width of the largest input icon.
# -c, --centerhorizontally calculate the bounds of a glyph and center it horizontally.
# -n, --normalize normalize icons by scaling them to the height of the highest icon.
# -h, --height [value] the outputted font height [MAX(icons.height)].
# -r, --round [value] setup the SVG path rounding [10e12].
# -d, --descent [value] the font descent [0].
# -a, --ascent [value] the font ascent [height - descent].
# -s, --startunicode [value] the start unicode codepoint for unprefixed files [0xEA01].
# -a, --prependUnicode prefix files with their automatically allocated unicode codepoint.
# -m, --metadata content of the metadata tag.
# -o, --output [/dev/stdout] file to write output to
# -f, --fontname [value] the font family name you want [iconfont]
# -i, --fontId [value] the font id you want [fontname]
# -st, --style [value] the font style you want
# -we, --weight [value] the font weight you want
# -w, --fixedWidth creates a monospace font of the width of the largest input icon
# -c, --centerhorizontally calculate the bounds of a glyph and center it horizontally
# -n, --normalize normalize icons by scaling them to the height of the highest icon
# -h, --height [value] the output font height [MAX(icons.height)] (icons will be scaled so the highest has this height)
# -r, --round [value] setup the SVG path rounding [10e12]
# -d, --descent [value] the font descent [0]
# -a, --ascent [value] the font ascent [height - descent]
# -s, --startunicode [value] the start unicode codepoint for unprefixed files [0xEA01]
# -a, --prependUnicode prefix files with their automatically allocated unicode code point
# -m, --metadata content of the metadata tag
# -h, --help output usage information
```

@@ -157,8 +157,2 @@

**Warning:** The bounds calculation is currently a naive implementation that
may not work for some icons. We need to create a svg-pathdata-draw module on
top of svg-pathdata to get the real bounds of the icon. It's on the bottom
of my to do, but feel free to work on it. Discuss it in the
[related issue](https://github.com/nfroidure/svgicons2svgfont/issues/18).
#### options.normalize

@@ -207,3 +201,3 @@ Type: `Boolean`

Allows you to provide your own logging function. Set to `function(){}` to
impeach logging.
disable logging.

@@ -210,0 +204,0 @@ ## Build systems

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc