Skip to content

Instantly share code, notes, and snippets.

@julianxhokaxhiu
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianxhokaxhiu/fc42b51f0dfcfc578195 to your computer and use it in GitHub Desktop.
Save julianxhokaxhiu/fc42b51f0dfcfc578195 to your computer and use it in GitHub Desktop.
How to get batik-ttf2svg working on Arch Linux
#!/bin/bash
java -Djava.awt.headless=true -jar /usr/share/java/batik-1.8/batik-ttf2svg-1.8.jar "$@"
1. `pacman -Sy batik-java` and choose to use Java 8 JRE
2. `wget http://artfiles.org/apache.org/xmlgraphics/batik/binaries/batik-bin-1.8.tar.gz`
3. `sudo tar xzf batik-bin-1.8.tar.gz -C /usr/share/java/`
4. Place `batik-ttf2svg` in `/usr/local/bin` and `chmod 0755 /usr/local/bin/batik-ttf2svg`
5. Enjoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment