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 /pango/pangofc-decoder.h | |
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 'pango/pangofc-decoder.h')
-rw-r--r-- | pango/pangofc-decoder.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/pango/pangofc-decoder.h b/pango/pangofc-decoder.h index 0178ab1b..d5bb6818 100644 --- a/pango/pangofc-decoder.h +++ b/pango/pangofc-decoder.h @@ -46,37 +46,33 @@ typedef struct _PangoFcDecoderClass PangoFcDecoderClass; * function callback that was originally registered with * pango_fc_font_map_add_decoder_find_func(). Pango requires * information about the supported charset for a font as well as the - * indivdual character to glyph conversions. Pango gets that + * individual character to glyph conversions. Pango gets that * information via the #get_charset and #get_glyph callbacks into your * object implementation. * * Since: 1.6 - * **/ - struct _PangoFcDecoder { + /*< private >*/ GObject parent_instance; }; /** * PangoFcDecoderClass: - * * @get_charset: This returns an #FcCharset given a #PangoFcFont that - * includes a list of supported characters in the font. The - * #FcCharSet that is returned should be an internal reference to your - * code. Pango will not free this structure. It is also important - * that you make this callback very fast because this callback is also - * used to determine unicode coverage on a per-character basis. + * includes a list of supported characters in the font. The + * #FcCharSet that is returned should be an internal reference to your + * code. Pango will not free this structure. It is important that + * you make this callback fast because this callback is called + * separately for each character to determine unicode coverage. * @get_glyph: This returns a single #PangoGlyph for a given unicode - * code point. + * code point. * * Class structure for #PangoFcDecoder. * * Since: 1.6 - * **/ - struct _PangoFcDecoderClass { /*< private >*/ |