ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cf.schmorp.de/Deliantra-Client/pango-fontmap.c
(Generate patch)

Comparing cf.schmorp.de/Deliantra-Client/pango-fontmap.c (file contents):
Revision 1.1 by root, Tue Jul 4 23:23:32 2006 UTC vs.
Revision 1.2 by root, Tue Jul 4 23:44:23 2006 UTC

168static void 168static void
169pango_opengl_font_map_default_substitute (PangoFcFontMap *fcfontmap, 169pango_opengl_font_map_default_substitute (PangoFcFontMap *fcfontmap,
170 FcPattern *pattern) 170 FcPattern *pattern)
171{ 171{
172 PangoOpenGLFontMap *fontmap = PANGO_OPENGL_FONT_MAP (fcfontmap); 172 PangoOpenGLFontMap *fontmap = PANGO_OPENGL_FONT_MAP (fcfontmap);
173 FcValue v;
174 173
175 FcConfigSubstitute (NULL, pattern, FcMatchPattern); 174 FcConfigSubstitute (NULL, pattern, FcMatchPattern);
176 175
177 if (fontmap->substitute_func) 176 if (fontmap->substitute_func)
178 fontmap->substitute_func (pattern, fontmap->substitute_data); 177 fontmap->substitute_func (pattern, fontmap->substitute_data);
179 178
180#if 0 179#if 0
180 FcValue v;
181 if (FcPatternGet (pattern, FC_DPI, 0, &v) == FcResultNoMatch) 181 if (FcPatternGet (pattern, FC_DPI, 0, &v) == FcResultNoMatch)
182 FcPatternAddDouble (pattern, FC_DPI, fontmap->dpi_y); 182 FcPatternAddDouble (pattern, FC_DPI, fontmap->dpi_y);
183#endif 183#endif
184 FcDefaultSubstitute (pattern); 184 FcDefaultSubstitute (pattern);
185} 185}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines