summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.h
diff options
context:
space:
mode:
authorNoah Levitt <nlevitt@columbia.edu>2004-02-29 20:31:45 +0000
committerNoah Levitt <nlevitt@src.gnome.org>2004-02-29 20:31:45 +0000
commitb1a7956a523e80a793461cc11d8d15c6b51b4dcc (patch)
treec6ae0547ec375c8e752ea3436ed2c701b7e69ddb /pango/pango-attributes.h
parent935375cc934cfa11dc08de4005b9d99c5c31d436 (diff)
downloadpango-b1a7956a523e80a793461cc11d8d15c6b51b4dcc.tar.gz
New attribute to turn font fallback on or off. (#105553)
2003-02-29 Noah Levitt <nlevitt@columbia.edu> * docs/pango_markup.sgml: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.c: * pango/pango-attributes.h: * pango/pango-context.c: * pango/pango-markup.c: New attribute to turn font fallback on or off. (#105553)
Diffstat (limited to 'pango/pango-attributes.h')
-rw-r--r--pango/pango-attributes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pango-attributes.h b/pango/pango-attributes.h
index 5a29f706..30a2fb24 100644
--- a/pango/pango-attributes.h
+++ b/pango/pango-attributes.h
@@ -80,7 +80,8 @@ typedef enum
PANGO_ATTR_STRIKETHROUGH, /* PangoAttrInt */
PANGO_ATTR_RISE, /* PangoAttrInt */
PANGO_ATTR_SHAPE, /* PangoAttrShape */
- PANGO_ATTR_SCALE /* PangoAttrFloat */
+ PANGO_ATTR_SCALE, /* PangoAttrFloat */
+ PANGO_ATTR_FALLBACK, /* PangoAttrInt */
} PangoAttrType;
typedef enum {
@@ -179,6 +180,7 @@ PangoAttribute *pango_attr_rise_new (int rise);
PangoAttribute *pango_attr_shape_new (const PangoRectangle *ink_rect,
const PangoRectangle *logical_rect);
PangoAttribute *pango_attr_scale_new (double scale_factor);
+PangoAttribute *pango_attr_fallback_new (gboolean enable_fallback);
GType pango_attr_list_get_type (void) G_GNUC_CONST;
PangoAttrList * pango_attr_list_new (void);