summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-22 23:51:44 +0000
committerKarl Berry <karl@freefriends.org>2009-05-22 23:51:44 +0000
commit566f5207d7e3cafb0633d31277067336ccd9cca7 (patch)
tree7af53e7ac405185168bc1dc38c4e820f442b78d0 /Master/texmf-doc/doc/english/free-math-font-survey/source/fixepsbbox
parentb0beea26ffffd915bb6d9b82f2d65a0a05b7e23b (diff)
move generic english documents out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13396 c570f23f-e606-0410-a88d-b1316a301751
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/fixepsbbox21
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
-
-