aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-29 20:20:01 +0800
committerijliao <ijliao@FreeBSD.org>2001-05-29 20:20:01 +0800
commit4641866244444c5d9730094ed48fe5541c9f864b (patch)
tree3f4dd889c585d2c58452998169f22bf310cd09de
parentf10446195f81bd9386a9f9899285a040b3ee52de (diff)
downloadfreebsd-ports-gnome-4641866244444c5d9730094ed48fe5541c9f864b.tar.gz
freebsd-ports-gnome-4641866244444c5d9730094ed48fe5541c9f864b.tar.zst
freebsd-ports-gnome-4641866244444c5d9730094ed48fe5541c9f864b.zip
dvipdfm rotates embedded postscript in 100ths of radians rather than
degrees. PR: 27366 Submitted by: maintainer
-rw-r--r--print/dvipdfm/files/patch-psspecial.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/dvipdfm/files/patch-psspecial.c b/print/dvipdfm/files/patch-psspecial.c
new file mode 100644
index 000000000000..572038289422
--- /dev/null
+++ b/print/dvipdfm/files/patch-psspecial.c
@@ -0,0 +1,11 @@
+--- psspecial.c.orig Tue May 29 20:02:33 2001
++++ psspecial.c Tue May 29 20:03:09 2001
+@@ -116,7 +116,7 @@
+ p -> yscale = atof(val)/100.0;
+ break;
+ case ANGLE:
+- p -> rotate = atof(val)/100.0;
++ p -> rotate = atof(val) * M_PI / 180.0;
+ break;
+ case LLX:
+ p -> user_bbox = 1;