… | |
… | |
173 | FcConfigSubstitute (NULL, pattern, FcMatchPattern); |
173 | FcConfigSubstitute (NULL, pattern, FcMatchPattern); |
174 | |
174 | |
175 | if (fontmap->substitute_func) |
175 | if (fontmap->substitute_func) |
176 | fontmap->substitute_func (pattern, fontmap->substitute_data); |
176 | fontmap->substitute_func (pattern, fontmap->substitute_data); |
177 | |
177 | |
178 | #if 0 |
|
|
179 | FcValue v; |
|
|
180 | if (FcPatternGet (pattern, FC_DPI, 0, &v) == FcResultNoMatch) |
|
|
181 | FcPatternAddDouble (pattern, FC_DPI, fontmap->dpi_y); |
|
|
182 | #endif |
|
|
183 | FcDefaultSubstitute (pattern); |
178 | FcDefaultSubstitute (pattern); |
184 | } |
179 | } |
185 | |
180 | |
186 | static PangoFcFont * |
181 | static PangoFcFont * |
187 | pango_opengl_font_map_new_font (PangoFcFontMap *fcfontmap, |
182 | pango_opengl_font_map_new_font (PangoFcFontMap *fcfontmap, |