diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-03-01 15:23:15 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-03-01 15:23:15 +0000 |
commit | 509868236b87e04a9367630bf9c441e5d1399698 (patch) | |
tree | 18a36e76e9942738fd16d278ba4e7cea1c26aad9 /pango/pango-context.h | |
parent | fa8ac6be9ea65de7f4f0c15ff68c0ff9ddb4b189 (diff) | |
download | pango-509868236b87e04a9367630bf9c441e5d1399698.tar.gz |
Patch from Dov Grobgeld to add auto-direction to PangoLayout (more of
Fri Feb 27 11:23:21 2004 Owen Taylor <otaylor@redhat.com>
Patch from Dov Grobgeld to add auto-direction to PangoLayout
(more of #70451)
* examples/pangofttopgm.c: Add --no-auto-dir argument.
* pango-layout.[ch]: Add pango_layout_set_auto_dir()
defaulting to TRUE; resolve paragraph direction within
a layout by propagating base direction downwards
from paragraph to paragraph.
* pango-context.[ch]: Add pango_itemize_with_base_dir()
which overrides the base direction from the PangoContext.
Mon Mar 1 10:01:58 2004 Owen Taylor <otaylor@redhat.com>
* docs/tmpl/text-attributes.sgml: Document %PANGO_UNDERLINE_ERROR.
* pango/pangofc-fontmap.c: Pango*Fc*FontmapPrivate. Make compile.
Diffstat (limited to 'pango/pango-context.h')
-rw-r--r-- | pango/pango-context.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pango/pango-context.h b/pango/pango-context.h index 078e841f..878c3c28 100644 --- a/pango/pango-context.h +++ b/pango/pango-context.h @@ -82,13 +82,19 @@ PangoDirection pango_context_get_base_dir (PangoContext * consistent shaping/language engine and bidrectional level. * Returns a GList of PangoItem's */ -GList *pango_itemize (PangoContext *context, - const char *text, - int start_index, - int length, - PangoAttrList *attrs, - PangoAttrIterator *cached_iter); - +GList *pango_itemize (PangoContext *context, + const char *text, + int start_index, + int length, + PangoAttrList *attrs, + PangoAttrIterator *cached_iter); +GList *pango_itemize_with_base_dir (PangoContext *context, + PangoDirection base_dir, + const char *text, + int start_index, + int length, + PangoAttrList *attrs, + PangoAttrIterator *cached_iter); G_END_DECLS |