1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
pdf2htmlEX/bin/pdf2htmlEX
2012-08-05 02:03:53 +08:00

13 lines
318 B
Bash
Executable File

#!/bin/bash
# Get directory of the script
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"/
# Execute
${SCRIPT_DIR}/pdftohtmlEX $*
for f in *.pfa; do
fontforge -script "${SCRIPT_DIR}/pfa2otf.pe" $f
rm $f
done