freebsd-ports/print/dvipdfm/files/patch-psspecial.c
Ying-Chieh Liao 4287108b81 dvipdfm rotates embedded postscript in 100ths of radians rather than
degrees.

PR:		27366
Submitted by:	maintainer
2001-05-29 12:20:01 +00:00

12 lines
325 B
C

--- 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;