[poppler] poppler/poppler: CairoOutputDev.cc,1.39,1.40

Kristian Høgsberg krh at kemper.freedesktop.org
Fri Jul 28 11:17:47 PDT 2006


Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv9182/poppler

Modified Files:
	CairoOutputDev.cc 
Log Message:
2006-07-28  Kristian Høgsberg  <krh at redhat.com>

	* poppler/CairoOutputDev.cc: Don't set font matrix translation
	(fix from Behdad Esfahbod).


Index: CairoOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoOutputDev.cc,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- CairoOutputDev.cc	31 May 2006 17:31:49 -0000	1.39
+++ CairoOutputDev.cc	28 Jul 2006 18:17:45 -0000	1.40
@@ -292,8 +292,8 @@
   matrix.yx = m[1] * fontSize;
   matrix.xy = -m[2] * fontSize;
   matrix.yy = -m[3] * fontSize;
-  matrix.x0 = m[4];
-  matrix.y0 = m[5];
+  matrix.x0 = 0;
+  matrix.y0 = 0;
   cairo_set_font_matrix (cairo, &matrix);
 }
 



More information about the poppler mailing list