[gs-cvs] rev 7083 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Wed Oct 4 17:47:54 PDT 2006
Author: alexcher
Date: 2006-10-04 17:47:54 -0700 (Wed, 04 Oct 2006)
New Revision: 7083
Modified:
trunk/gs/lib/pdf_ops.ps
Log:
Use correct transformation matrix for calculating the current point movement
for PDF text rendering mode 3. Bug 688756, customer 700.
DIFFERENCES:
None
Modified: trunk/gs/lib/pdf_ops.ps
===================================================================
--- trunk/gs/lib/pdf_ops.ps 2006-10-04 13:29:44 UTC (rev 7082)
+++ trunk/gs/lib/pdf_ops.ps 2006-10-05 00:47:54 UTC (rev 7083)
@@ -604,7 +604,7 @@
% operations when the CTM is singular.
% Work around this here.
{
- matrix currentmatrix dup
+ matrix currentmatrix dup dup
dup 0 get 0 eq 1 index 1 get 0 eq and {
dup dup 2 get 0 eq { 0 }{ 1 } ifelse 1 put
} if
@@ -612,10 +612,11 @@
dup dup 1 get 0 eq { 3 }{ 2 } ifelse 1 put
} if
setmatrix
- 1 index setfillstate show % Tr was set to graphic state.
+ 2 index setfillstate show % Tr was set to graphic state.
setmatrix
% now set the currentpoint using the original matrix
gsave nulldevice
+ setmatrix
false charpath currentpoint newpath
grestore
moveto
More information about the gs-cvs
mailing list