Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
gulp-svg2ttf
Advanced tools
Create a TTF font from an SVG font with Gulp.
First, install gulp-svg2ttf
as a development dependency:
npm install --save-dev gulp-svg2ttf
Then, add it to your gulpfile.js
:
var svg2ttf = require('gulp-svg2ttf');
gulp.task('svg2ttf', function(){
gulp.src(['fonts/*.svg'])
.pipe(svg2ttf())
.pipe(gulp.dest('fonts/'));
});
Type: Boolean
Default value: false
Set to true to also convert files that doesn't have the .svg extension.
Type: Boolean
Default value: false
Set to true to clone the file before converting him so that it will output the original file too.
Type: Number
Default value: Math.round(Date.now()/1000)
Override the TTF font creation/modification date.
Type: String
Default value: Fontello ad or SVG Font copyright metadata.
Allows to set to your copyright informations.
You may look after a full Gulp web font workflow, see gulp-iconfont fot that matter.
Please submit SVG to TTF related issues to the svg2ttf project on wich gulp-svg2ttf is built.
This repository issues is only for gulp and gulp tasks related issues.
You may want to contribute to this project, pull requests are welcome if you accept to publish under the MIT licence.
FAQs
Create a TTF font from an SVG font
The npm package gulp-svg2ttf receives a total of 13,968 weekly downloads. As such, gulp-svg2ttf popularity was classified as popular.
We found that gulp-svg2ttf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.