General Discussions
Does Vecta remove unused glyphs from font file?

For example, if I create an SVG and use an externally referenced font file, and if that font files has 100 glyphs, but my SVG only uses 10 of the glyphs, do the 90 unused glyphs gets stripped out of the font file before Base64 encoding? This is essentially my work flow with some other tools, doing the steps manually. Results are good but the process is tedious. Looking for a pure C program to portably compile on Android (Termux, Clang, NDK, BIONIC), Windows, and Linux, install as a Node.js package, and automate the process. I may have to write it myself and release as open source.

For example, if I create an SVG and use an externally referenced font file, and if that font files has 100 glyphs, but my SVG only uses 10 of the glyphs, do the 90 unused glyphs gets stripped out of the font file before Base64 encoding? This is essentially my work flow with some other tools, doing the steps manually. Results are good but the process is tedious. Looking for a pure C program to portably compile on Android (Termux, Clang, NDK, BIONIC), Windows, and Linux, install as a Node.js package, and automate the process. I may have to write it myself and release as open source.

Hi warp9pnt9,

Yes. Unused glyphs in fonts will be removed from the SVG. However, it will only be removed if you export SVG with font embedding. To enable this, make sure you have the "Embed fonts" checked.

60ef805b7a21f

If you want to automate your process, we'd suggest you to get Nano Pro Node.js package. Nano Pro is a yearly subscription plan, with only $99 per annum. With Nano Pro, you can enjoy full features and unlimited SVG compression without watermark and file limitations. The Pro version is especially ideal for creative companies and individuals that require heavy usage of SVG compression. Nano Pro also have fonts embedding. Please check out more about the Nano Pro package here.

Hope that helps. If you have any other questions, please do not hesitate to let us know. Have a good day.

Regards,
The Vecta Support Team

Hi warp9pnt9, Yes. Unused glyphs in fonts will be removed from the SVG. However, it will only be removed if you export SVG with font embedding. To enable this, make sure you have the "Embed fonts" checked. ![60ef805b7a21f](serve/attachment&path=60ef805b7a21f) If you want to automate your process, we'd suggest you to get Nano Pro Node.js package. Nano Pro is a yearly subscription plan, with only $99 per annum. With Nano Pro, you can enjoy full features and unlimited SVG compression without watermark and file limitations. The Pro version is especially ideal for creative companies and individuals that require heavy usage of SVG compression. Nano Pro also have fonts embedding. Please check out more about the Nano Pro package [here](https://vecta.io/nano/pricing). Hope that helps. If you have any other questions, please do not hesitate to let us know. Have a good day. Regards, The Vecta Support Team
16
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft