summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-eps.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/supp-eps.tex')
-rw-r--r--tex/context/base/supp-eps.tex13
1 files changed, 6 insertions, 7 deletions
diff --git a/tex/context/base/supp-eps.tex b/tex/context/base/supp-eps.tex
index 24e9da14c..ad16fd760 100644
--- a/tex/context/base/supp-eps.tex
+++ b/tex/context/base/supp-eps.tex
@@ -74,13 +74,12 @@
\doprocessfile\scratchread{#1}\doprocessEPSline
\egroup
\ifnum\EPSfound>0
- \dimen0=1bp\relax
- #2=\EPSllx\dimen0
- #4=\EPSurx\dimen0
- \advance#4 by -\EPSllx\dimen0
- #3=\EPSlly\dimen0
- #5=\EPSury\dimen0
- \advance#5 by -\EPSlly\dimen0
+ #2=\EPSllx bp % Using \EPSllx bp instead of
+ #4=\EPSurx bp % \dimen0=1bp and \EPSllx\dimen0
+ #3=\EPSlly bp % is more accurate (.005pt).
+ #5=\EPSury bp
+ \scratchdimen=\EPSllx bp \advance#4 -\scratchdimen
+ \scratchdimen=\EPSlly bp \advance#5 -\scratchdimen
\else
#2=\!!zeropoint
#3=\!!zeropoint