diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-03 06:21:49 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-03 06:21:49 +0000 |
commit | 891b984fc26e0f2422a6c5c13d5b310dc7c2f7e9 (patch) | |
tree | ef651ed3c746e47dd08fc1accf97d5649454d835 /pango/pango-layout.h | |
parent | bbdb12a9e6894109259286050464da44904d21d8 (diff) | |
download | pango-891b984fc26e0f2422a6c5c13d5b310dc7c2f7e9.tar.gz |
Rename PangoLayoutRun to PangoGlyphItem (with a typedef for compat), add
Sun Nov 17 23:28:26 2002 Owen Taylor <otaylor@redhat.com>
* pango/pango-glyph-item.[ch] pango/pango-layout.h:
Rename PangoLayoutRun to PangoGlyphItem (with a
typedef for compat), add pango_glyph_item_split(),
pango_glyph_item_apply_attrs().
* pango/pango-attributes.[ch]: Add
pango_attr_list_filter(), pango_attr_iterator_get_attrs().
* pango/pango-layout.c: Remove attributes that don't
affect shaping before shaping, shape and then add
them back. Fixes the infamous "underscores break
arabic shaping" bug (#83058)
* pango/pango-item.h: Remove an extraneous include.
* pango/pango-layout.c (imposed_shape): Fix bytes/chars
problem for glyph->log_clusters.
* pango/pango-layout.c (cluster_end_index)
* pango/pango-layout.c (pango_layout_iter_next_cluster): Fix
confusion between global indices and run-relative indices.
* docs/tmpl/glyphs.sgml: Improve docs for log_clusters.
* docs/*: Document new API and PangoOTRuleset
Diffstat (limited to 'pango/pango-layout.h')
-rw-r--r-- | pango/pango-layout.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pango/pango-layout.h b/pango/pango-layout.h index e840de79..f3c8dfce 100644 --- a/pango/pango-layout.h +++ b/pango/pango-layout.h @@ -24,7 +24,7 @@ #include <pango/pango-attributes.h> #include <pango/pango-context.h> -#include <pango/pango-glyph.h> +#include <pango/pango-glyph-item.h> #include <pango/pango-tabs.h> G_BEGIN_DECLS @@ -32,7 +32,9 @@ G_BEGIN_DECLS typedef struct _PangoLayout PangoLayout; typedef struct _PangoLayoutClass PangoLayoutClass; typedef struct _PangoLayoutLine PangoLayoutLine; -typedef struct _PangoLayoutRun PangoLayoutRun; + +/* For backwards compatiblity */ +typedef PangoGlyphItem PangoLayoutRun; typedef enum { PANGO_ALIGN_LEFT, @@ -54,12 +56,6 @@ struct _PangoLayoutLine GSList *runs; }; -struct _PangoLayoutRun -{ - PangoItem *item; - PangoGlyphString *glyphs; -}; - #define PANGO_TYPE_LAYOUT (pango_layout_get_type ()) #define PANGO_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_LAYOUT, PangoLayout)) #define PANGO_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_LAYOUT, PangoLayoutClass)) |