phauer / svg-buddy

Command line tool to embed fonts into SVG files
MIT License
45 stars 2 forks source link

Cannot find anything for an SVG generated by Inkscape #1

Open DavidGriffith opened 4 years ago

DavidGriffith commented 4 years ago

Cannot download anything for an SVG generated by Inkscape. After setting things manually, nothing else would download either.

$ svg-buddy-runner.jar cover.svg cover-out.svg
svg-buddy 1.2.2
Detecting Fonts...
Downloading Fonts [Linux Libertine O, Bordeaux Light, BordeauxLight, Animals]...
Downloading font Linux Libertine O and caching it at /home/dave/.svg-buddy/linux-libertine-o.zip...
Font linux-libertine-o could not be found on Google Fonts. Check out https://google-webfonts-helper.herokuapp.com/fonts to find an available font.
Usage: svg-buddy INPUT [OUTPUT] [--optimize]
If the OUTPUT path is not submitted a new file is created with the postfix '-e' in the same directory as the INPUT file. If --optimize is set the postfix '-eo' is used.
usage: gnu
 -o,--optimize   If set, simple optimizations are applied to the output
                 SVG to reduce the file size.
phauer commented 3 years ago

Can you please provide your cover.svg so I can reproduce this issue?

DavidGriffith commented 3 years ago

cover.svg.gz

Leif-W commented 3 years ago

TL;DR

@DavidGriffith I'd say for now, use another font, or another tool.

@phauer Is it possible to consider adding features to specify fonts locally, or via url?

For the Linux Libertine fonts, see this Google Fonts issue.

Summary:

My takeaway is that relying exclusively on Google Fonts is kind of an insane restriction, because these pernicious and intractible problems arise, and are entirely avoidable by placing the responsibility on the developer to choose their own terms and conditions and accept the responsibility and liability of their choices. The last thing any developer needs is to get embroiled in this kind of quagmire.