From 6f1def024e5c0c0f75c992c26dded3c192aa455c Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 21 Jul 2005 13:55:19 +0000 Subject: Rework handling of context-specific options: drop get_render_key() and add 2005-07-19 Owen Taylor * pango/pango-fcfontmap.[ch]: Rework handling of context-specific options: drop get_render_key() and add a opaque "context key" (get_context_key() and friends). Also add a function to get the resolution. * pango/pango-fcfontmap.c pango/pangofc-font.h: - Move the 'lang' into the fontset key lookup and get rid of the funky list-of-hash-tables - Make lookups of fontsets and fonts dependent on the context key for the context. - Simplify the pattern/fontset caching to have one finite-size cache rather than an infinite first-level and a finite-size second level. * pango/pangocairo.h pango/pangocairo-private.h pango/pangocairo-fontmap.c: Add pango_cairo_context_get/set_resolution(), pango_cairo_context_set/get_font_options to allow controlling the resolution and font rendering options for a specific PangoContext. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap pango/pangocairo-win32font.c: Implement resolution and font options handling adapt to related Cairo changes. * docs/pango-sections.txt docs/Makefile.am pango/pangowin32.c: Doc updates and build fixes. * pango/pangofc-fontmap.c (pango_fc_make_pattern): Create patterns with FC_SIZE as well as FC_PIXEL_SIZE to work around a libgnomeprint bug. (#309477) --- docs/tmpl/x-fonts.sgml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/tmpl/x-fonts.sgml') diff --git a/docs/tmpl/x-fonts.sgml b/docs/tmpl/x-fonts.sgml index bd5a9a6d..ee19346b 100644 --- a/docs/tmpl/x-fonts.sgml +++ b/docs/tmpl/x-fonts.sgml @@ -17,6 +17,9 @@ unpredictable results. Use the Xft + + + A string constant identifying the X renderer. The associated quark (see -- cgit v1.2.1