From cc35f77a1b4e40ba85d583d0b0f301c288adb930 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 15 Mar 2005 23:00:28 +0000 Subject: Include the effect of the CTM in the FC_PIXEL_SIZE we set in the 2005-03-15 Owen Taylor * pango/pangofc-fontmap.c: Include the effect of the CTM in the FC_PIXEL_SIZE we set in the FcPattern. (Fixes problems with getting the wrong font when drawing the same font at multiple scales. Reported by Keith Packard.) * pango/pangofc-fontmap.h pango/pangocairo-fcfontmap.c pango/pangocairo-fc.h pango/pangocairo-fontfont.c: Add the PangoFontDescription to create_font() ... we need it to get the right pixel size to combine with the CTM. * pango/pangofc-fontmap.c (pango_fc_fontmap_get_dpi): Extract out the logic for finding the DPI from the size-listing code. (pango_fc_font_map_get_render_key): Handle mix of absolute and not sizes correctly. --- ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c4451912..ff49ddf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2005-03-15 Owen Taylor + + * pango/pangofc-fontmap.c: Include the effect of the + CTM in the FC_PIXEL_SIZE we set in the FcPattern. + (Fixes problems with getting the wrong font when drawing + the same font at multiple scales. Reported by Keith + Packard.) + + * pango/pangofc-fontmap.h pango/pangocairo-fcfontmap.c + pango/pangocairo-fc.h pango/pangocairo-fontfont.c: Add + the PangoFontDescription to create_font() ... we need it + to get the right pixel size to combine with the CTM. + + * pango/pangofc-fontmap.c (pango_fc_fontmap_get_dpi): + Extract out the logic for finding the DPI from the + size-listing code. + (pango_fc_font_map_get_render_key): Handle mix of + absolute and not sizes correctly. + Sat Mar 5 13:51:04 2005 Manish Singh * pango/mini-fribidi/fribidi_types.[ch]: const correctness for -- cgit v1.2.1