summaryrefslogtreecommitdiff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/pango_markup.sgml10
-rw-r--r--docs/tmpl/text-attributes.sgml1
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/pango_markup.sgml b/docs/pango_markup.sgml
index e988e1d2..56f2ddae 100644
--- a/docs/pango_markup.sgml
+++ b/docs/pango_markup.sgml
@@ -135,6 +135,16 @@ subscript, positive for superscript.
</para></listitem>
</varlistentry>
+<varlistentry><term>fallback</term>
+<listitem><para>
+'true' or 'false' whether to enable fallback. If disabled, then characters
+will only be used from the closest matching font on the system. No fallback
+will be done to other fonts on the system that might contain the characters
+in the text. Fallback is enabled by default. Most applications should not
+disable fallback.
+</para></listitem>
+</varlistentry>
+
<varlistentry><term>lang</term>
<listitem><para>
A language code, indicating the text language
diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml
index ce2c5f64..4707232f 100644
--- a/docs/tmpl/text-attributes.sgml
+++ b/docs/tmpl/text-attributes.sgml
@@ -43,6 +43,7 @@ attribute is listed in parentheses after the description.
@PANGO_ATTR_RISE: baseline displacement (#PangoAttrInt)
@PANGO_ATTR_SHAPE: shape (#PangoAttrShape)
@PANGO_ATTR_SCALE: font size scale factor (#PangoAttrScale)
+@PANGO_ATTR_FALLBACK: whether fallback is enabled (#PangoAttrInt)
<!-- ##### MACRO PANGO_TYPE_ATTR_TYPE ##### -->
<para>