diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-06-23 19:00:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-06-23 19:00:36 +0000 |
commit | 3aabb8d5ce0720c9a22cdcf975380d1d0213c4c8 (patch) | |
tree | b6a641821de5c6e8643fb869c3950cd9d167ed61 /docs/tmpl | |
parent | 1939a027b1d4e6c7d83af9e42e191f1bfb0cf8a0 (diff) | |
download | pango-3aabb8d5ce0720c9a22cdcf975380d1d0213c4c8.tar.gz |
Add new letter_spacing attribute.
Wed Jun 23 11:17:51 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add new letter_spacing
attribute.
* pango/pango-attributes.c (pango_attr_rise_new): Correct
description; rise is in Pango units, not em-relative.
* pango/pango-glyph-item.c: Break out iteration-over-clusters
from ApplyAttrsState into a separate GlyphItemIter.
* pango/pango-glyph-item.[ch]: New function
pango_glyph_item_letter_space() to add add letter spacing
to a single glyph item.
* pango/pango-markup.c: Add a letter_spacing attribute.
* pango/pango-layout.c: Use G_DEFINE_TYPE().
* pango/pango-layout.c (pango_layout_get_item_properties):
Switch to use a structure rather than a pile of out
parameters.
* pango/pango-layout.c (pango_run_get_extents): Remove
the unused shape_set out parameter.
* pango/pangofc-decoder.[ch] pango/pangofc-fontmap.[ch]:
Doc fixes.
* pango/pango-types.h: Deprecate pango_get_mirror_char()
* pango/pango-utils.c (pango_get_mirror_char): Add docs.
* docs/pango-sections.txt docs/pango-docs.sgml: Add
PangoFcDecoder and letter spacing.
Diffstat (limited to 'docs/tmpl')
-rw-r--r-- | docs/tmpl/glyphs.sgml | 11 | ||||
-rw-r--r-- | docs/tmpl/pangofc-fontmap.sgml | 21 | ||||
-rw-r--r-- | docs/tmpl/text-attributes.sgml | 10 |
3 files changed, 42 insertions, 0 deletions
diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index 952435a3..435d939d 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -393,3 +393,14 @@ The GObject type for #PangoGlyphString. @Returns: +<!-- ##### FUNCTION pango_glyph_item_letter_space ##### --> +<para> + +</para> + +@glyph_item: +@text: +@log_attrs: +@letter_spacing: + + diff --git a/docs/tmpl/pangofc-fontmap.sgml b/docs/tmpl/pangofc-fontmap.sgml index 7c505247..db72b732 100644 --- a/docs/tmpl/pangofc-fontmap.sgml +++ b/docs/tmpl/pangofc-fontmap.sgml @@ -84,3 +84,24 @@ Fontconfig-based backend involves deriving from both @fontmap: +<!-- ##### FUNCTION pango_fc_font_map_add_decoder_find_func ##### --> +<para> + +</para> + +@fcfontmap: +@findfunc: +@user_data: +@dnotify: + + +<!-- ##### USER_FUNCTION PangoFcDecoderFindFunc ##### --> +<para> + +</para> + +@pattern: +@user_data: +@Returns: + + diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml index 907b2f0a..9690711f 100644 --- a/docs/tmpl/text-attributes.sgml +++ b/docs/tmpl/text-attributes.sgml @@ -44,6 +44,7 @@ attribute is listed in parentheses after the description. @PANGO_ATTR_SHAPE: shape (#PangoAttrShape) @PANGO_ATTR_SCALE: font size scale factor (#PangoAttrScale) @PANGO_ATTR_FALLBACK: whether fallback is enabled (#PangoAttrInt) +@PANGO_ATTR_LETTER_SPACING: <!-- ##### MACRO PANGO_TYPE_ATTR_TYPE ##### --> <para> @@ -421,6 +422,15 @@ The scale factor for three magnification steps (1.2 * 1.2 * 1.2). @Returns: +<!-- ##### FUNCTION pango_attr_letter_spacing_new ##### --> +<para> + +</para> + +@letter_spacing: +@Returns: + + <!-- ##### STRUCT PangoColor ##### --> <para> The <structname>PangoColor</structname> structure is used to |