Advertisement
akovia

otf2otf

Jul 31st, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. b=1
  4. space=" "
  5.  
  6. PATH=/usr/local/bin:$PATH
  7. FONTFORGE_LANGUAGE=ff
  8. export PATH FONTFORGE_LANGUAGE
  9. export FONTFORGE_VERBOSE
  10.  
  11. SAVEIFS=$IFS
  12. IFS=$(echo -en "\n\b")
  13.  
  14. convert2otf() {
  15.     if (test -f $1); then ./any2otf.pe $1 $2 ; fi
  16. }
  17.  
  18. for i in *.otf; do echo "======================"; convert2otf $i $b; ((b++)); done
  19. SAVEIFS=$IFS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement