grunt-webfont | SVG to webfont converter for Grunt | Animation library
kandi X-RAY | grunt-webfont Summary
kandi X-RAY | grunt-webfont Summary
SVG to webfont converter for Grunt
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the web font .
- Execute exec command
grunt-webfont Key Features
grunt-webfont Examples and Code Snippets
Community Discussions
Trending Discussions on grunt-webfont
QUESTION
How can I split a woff2 file containing, say latin characters, cyrillic characters and chinese characters into 3 different files, preferably using nodejs/grunt?
Is there a way to automatically determine at which points the different sets begin and end?
I have tried unicode-range-splitter but it just splits my font into equally big chunks, which does not help me achieving my goal.
I also had a look at grunt-webfont-svg-extractor in conjunction with grunt-fonts but since these tools were not exactly built for this requirement the configs are awkwardly long and error-prone.
...ANSWER
Answered 2018-Apr-10 at 14:14There's no explicit begin and end delimiter as such which marks each set of Latin, Cyrillic, and Chinese characters.
You can specify a unicode range (i.e. from/to), as a way to distinguish the begin and end of each set/block. For example, below are some pertinent ranges:
Unicode ranges
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install grunt-webfont
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page