ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/pango-font.c
(Generate patch)

Comparing deliantra/Deliantra-Client/pango-font.c (file contents):
Revision 1.2 by root, Wed Dec 26 11:10:53 2007 UTC vs.
Revision 1.3 by root, Sun Apr 5 19:28:54 2009 UTC

70 NULL); 70 NULL);
71 71
72 if (FcPatternGetDouble (pattern, FC_PIXEL_SIZE, 0, &d) == FcResultMatch) 72 if (FcPatternGetDouble (pattern, FC_PIXEL_SIZE, 0, &d) == FcResultMatch)
73 font->size = d * PANGO_SCALE; 73 font->size = d * PANGO_SCALE;
74 74
75 /* pango 1.24 is ABI-incompatible with 1.22, but distros */
76 /* usually package it under the same name, so a runtime check */
77 /* is required */
78 if (pango_version () > PANGO_VERSION_ENCODE (1, 23, 0))
79 PANGO_FC_FONT (font)->fontmap = fontmap;
80
75 return font; 81 return font;
76} 82}
77 83
78static void 84static void
79load_fallback_face (PangoOpenGLFont *font, const char *original_file) 85load_fallback_face (PangoOpenGLFont *font, const char *original_file)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines