diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox')
-rw-r--r-- | Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox b/Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox deleted file mode 100644 index 08e977932b3..00000000000 --- a/Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# fixepsbbox (filename) (left x target) (tolerance) - -EPSFile=$1 -TargetX=$2 -Tolerance=$3 - -LeftX=`grep BoundingBox $EPSFile | cut -d' ' -f 2` - -TestVal=$(( ( $LeftX < ( $TargetX - $Tolerance ) ) || ( $LeftX > ( $TargetX + $Tolerance ) ) )) - -if [ $TestVal -ne 0 ] -then - echo "Changing left edge of $EPSFile from $LeftX to $TargetX." - TmpFile="tmp_`date +%Y-%m-%d-%H-%M-%S`.eps" - sed -e 's/BoundingBox: [-]*[[:digit:]]* /BoundingBox: '$TargetX' /g' $EPSFile > $TmpFile - mv $TmpFile $EPSFile -fi - - |