Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 18:20:44 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27366: Small bug in dvipdfm
Message-ID:  <200105152320.f4FNKic46406@cauchy.math.missouri.edu>

next in thread | raw e-mail | index | archive | help

>Number:         27366
>Category:       ports
>Synopsis:       Small bug in dvipdfm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 15 16:30:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
University of Missouri
>Environment:
System: FreeBSD cauchy 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Apr 30 11:26:28 CDT 2001 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386


	
>Description:

dvipdfm rotates embedded postscript in 100ths of radians rather than
degrees.

The author of dvipdfm plans to come out with a version 0.13.2c which
will fix this problem, but in the meantime here is a fix.

>How-To-Repeat:
>Fix:

diff -urN dvipdfm-orig/Makefile dvipdfm/Makefile
--- dvipdfm-orig/Makefile	Thu May 10 15:37:55 2001
+++ dvipdfm/Makefile	Thu May 10 15:42:23 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=		dvipdfm
 PORTVERSION=		0.13.2b
+PORTREVISION=		1
 CATEGORIES=		print
 MASTER_SITES=		http://gaspra.kettering.edu/dvipdfm/
 
diff -urN dvipdfm-orig/files/patch-01 dvipdfm/files/patch-01
--- dvipdfm-orig/files/patch-01	Wed Dec 31 18:00:00 1969
+++ dvipdfm/files/patch-01	Thu May 10 15:37:50 2001
@@ -0,0 +1,11 @@
+--- psspecial.c-orig	Thu May 10 15:31:24 2001
++++ psspecial.c	Thu May 10 15:33:02 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;

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105152320.f4FNKic46406>