星火微课系统客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. # $Id: dumphint 9320 2009-01-04 20:11:57Z till $
  3. # Linearized PDF hint formatting utility.
  4. # This definition is changed on install to match the
  5. # executable name set in the makefile
  6. GS_EXECUTABLE=gs
  7. gs="`dirname $0`/$GS_EXECUTABLE"
  8. if test ! -x "$gs"; then
  9. gs="$GS_EXECUTABLE"
  10. fi
  11. GS_EXECUTABLE="$gs"
  12. OPTIONS="-dSAFER -dDELAYSAFER"
  13. while true
  14. do
  15. case "$1" in
  16. -?*) OPTIONS="$OPTIONS $1" ;;
  17. *) break ;;
  18. esac
  19. shift
  20. done
  21. if [ $# -ne 1 ]; then
  22. echo "Usage: `basename $0` input.pdf" 1>&2
  23. exit 1
  24. fi
  25. exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"