File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 329329
330330 char * pango_font_description_to_string (const PangoFontDescription *desc);
331331
332- PangoFontDescription * pango_font_describe (PangoFont *font);
332+ PangoFontDescription * pango_font_describe_with_absolute_size (PangoFont *font);
333333 const char * pango_font_description_get_family (const PangoFontDescription *desc);
334334 guint pango_font_description_hash (const PangoFontDescription *desc);
335335
Original file line number Diff line number Diff line change @@ -383,7 +383,8 @@ def get_pango_font_key(pango_font):
383383 # the same address for two different Pango maps. We should cache it in the
384384 # FontConfiguration object. See issue #2144.
385385 description = ffi .gc (
386- pango .pango_font_describe (pango_font ), pango .pango_font_description_free )
386+ pango .pango_font_describe_with_absolute_size (pango_font ),
387+ pango .pango_font_description_free )
387388 font_size = pango .pango_font_description_get_size (description ) * FROM_UNITS
388389 mask = pango .PANGO_FONT_MASK_SIZE + pango .PANGO_FONT_MASK_GRAVITY
389390 pango .pango_font_description_unset_fields (description , mask )
You can’t perform that action at this time.
0 commit comments