diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-04 17:26:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-04 17:26:20 +0000 |
commit | 15807e15ade01ea275cb91ba5ea6b660b996406f (patch) | |
tree | d929429372f1984140fc0384c2fb73e4845a48a8 /Build/source/utils/asymptote/prc | |
parent | ea6aa8ed9ddfe75f76b6bf23e5b8737230be98e7 (diff) |
asy 2.00
git-svn-id: svn://tug.org/texlive/trunk@19227 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/prc')
-rw-r--r-- | Build/source/utils/asymptote/prc/writePRC.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/prc/writePRC.cc b/Build/source/utils/asymptote/prc/writePRC.cc index 1f3175053fc..8f1d7370f33 100644 --- a/Build/source/utils/asymptote/prc/writePRC.cc +++ b/Build/source/utils/asymptote/prc/writePRC.cc @@ -970,7 +970,9 @@ uint32_t makePRCID() void writeUnit(PRCbitStream &out,bool fromCAD,double unit) { - out << fromCAD << unit; + static const double inches=72; + static const double cm=inches/2.54; + out << fromCAD << 10.0/cm; // Use bp. } void writeEmptyMarkups(PRCbitStream &out) |