Skip to content

Instantly share code, notes, and snippets.

@kyouheicf
Last active January 31, 2024 05:52
Show Gist options
  • Save kyouheicf/9b0233aea93a5006549c1fe4860ad4ef to your computer and use it in GitHub Desktop.
Save kyouheicf/9b0233aea93a5006549c1fe4860ad4ef to your computer and use it in GitHub Desktop.
1. Inkscape --> some images are not rendered correctly
/Applications/Inkscape.app/Contents/MacOS/inkscape -b white -w 4096 -p *.svg --export-type=png
2. rsvg-convert --> works perfectly
rsvg-convert -w 4096 cf1-ref-arch-16.svg > cf1-ref-arch-16.png
3. ImageMagick --> not works well
convert -font ~/Library/Fonts/ipaexm.ttf cf1-ref-arch-16.svg cf1-ref-arch-16.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment