[poppler] poppler/poppler: CairoFontEngine.cc,1.6,1.7
Kristian Hogsberg
krh at freedesktop.org
Fri Apr 22 10:29:51 PDT 2005
Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv5833/poppler
Modified Files:
CairoFontEngine.cc
Log Message:
2005-04-22 Martin Kretzschmar <martink at gnome.org>
* poppler/CairoFontEngine.cc: declare matrix variable before the
first goto. Fixes build with gcc 3.3.
Index: CairoFontEngine.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoFontEngine.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- CairoFontEngine.cc 22 Apr 2005 04:09:23 -0000 1.6
+++ CairoFontEngine.cc 22 Apr 2005 17:29:49 -0000 1.7
@@ -80,6 +80,7 @@
char *name;
FoFiTrueType *ff;
FoFiType1C *ff1c;
+ cairo_matrix_t *matrix;
codeToGID = NULL;
codeToGIDLen = 0;
@@ -243,7 +244,7 @@
this->m12 = m12;
this->m21 = m21;
this->m22 = m22;
- cairo_matrix_t *matrix = cairo_matrix_create ();
+ matrix = cairo_matrix_create ();
cairo_matrix_set_affine (matrix, m11, m12, m21, m22, 0, 0);
cairo_font = cairo_ft_font_create_for_ft_face (face, FT_LOAD_NO_HINTING,
matrix);
More information about the poppler
mailing list