summaryrefslogtreecommitdiff
path: root/pango/pangocairo.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-06-14 17:41:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-06-14 17:41:17 +0000
commit8670c597a1a6b8f3332a35ed646fc06d13aaa7af (patch)
tree12ad6e837093acd38e482d9a75823318cba58e8c /pango/pangocairo.h
parentce168dd2b934b3375dbc0cef2e9fbe0ec3b37e8b (diff)
downloadpango-8670c597a1a6b8f3332a35ed646fc06d13aaa7af.tar.gz
Add a new context_substitute() virtual function that replaces
2005-05-17 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.[ch]: Add a new context_substitute() virtual function that replaces default_substitute() and adds a PangoContext argument. * pango/pangocairo.h pango/pangocairo-fontmap.c docs/pango-sections.txt: Add pango_cairo_context_set/get_hinting() to control hinting on individual contexts. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c: Implement hinting control for the for the fontconfig/cairo backend.
Diffstat (limited to 'pango/pangocairo.h')
-rw-r--r--pango/pangocairo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pangocairo.h b/pango/pangocairo.h
index 147e619c..ba0949fc 100644
--- a/pango/pangocairo.h
+++ b/pango/pangocairo.h
@@ -62,6 +62,10 @@ PangoContext *pango_cairo_font_map_create_context (PangoCairoFontMap *fontmap);
void pango_cairo_update_context (cairo_t *cr,
PangoContext *context);
+void pango_cairo_context_set_hinting (PangoContext *context,
+ gboolean hinting);
+gboolean pango_cairo_context_get_hinting (PangoContext *context);
+
/* Convenience
*/
PangoLayout *pango_cairo_create_layout (cairo_t *cr);