Commit c20448cb authored by Kristian Høgsberg's avatar Kristian Høgsberg

2005-04-22 Martin Kretzschmar <martink@gnome.org>

        * poppler/CairoFontEngine.cc: declare matrix variable before the
        first goto. Fixes build with gcc 3.3.
parent 42ecccf9
2005-04-22 Martin Kretzschmar <martink@gnome.org>
* poppler/CairoFontEngine.cc: declare matrix variable before the
first goto. Fixes build with gcc 3.3.
Fri Apr 22 00:01:40 2005 Kristian Høgsberg <krh@redhat.com>
* poppler/CairoFontEngine.cc: Hack around semi-broken cairo-0.4.0
......
......@@ -80,6 +80,7 @@ CairoFont::CairoFont(GfxFont *gfxFont, XRef *xref, FT_Library lib,
char *name;
FoFiTrueType *ff;
FoFiType1C *ff1c;
cairo_matrix_t *matrix;
codeToGID = NULL;
codeToGIDLen = 0;
......@@ -243,7 +244,7 @@ CairoFont::CairoFont(GfxFont *gfxFont, XRef *xref, FT_Library lib,
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment