Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + find /home/akovia/bin/MyFontDownloader/bin/MyFonts/ -type f -print0
- + xargs -0 '-I{}' mv '{}' '{}.ttf'
- # this will reencode the fonts to utf8, which we can then convert to otf using transtype pro 3 if we wish
- ./convert2ttf
- read
- ++ read
- + ./convert2ttf
- =============================================================
- + trap read debug
- read
- ++ read
- dirname $1)
- dirname $1
- ++ dirname '/*.ttf'
- + PATHNAME=/
- read
- ++ read
- basename $1)
- basename $1
- ++ basename '/*.ttf'
- + FONTFILE='*.ttf'
- read
- ++ read
- + FIRSTLTR='*'
- read
- ++ read
- + FIRSTLOW='*'
- read
- ++ read
- + IFS=-
- + read -a FONTFAM
- read
- ++ read
- + LTRPATH='//*'
- read
- ++ read
- + FAMPATH='//*/*.ttf[0]'
- + test -f '/*.ttf'
- read
- ++ read
- + (( b++ ))
- #::::::::::::::::::::::::::::::::::::::::: CLEANUP ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
- # Clean Up temp fonts
- rm "$TTFTEMP"/fontx*.ttf
- read
- ++ read
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement