Bug 323173 – Add layout of mixed direction text for vertical layout
authorBehdad Esfahbod <behdad@gnome.org>
Tue, 16 Jan 2007 00:23:59 +0000 (00:23 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Tue, 16 Jan 2007 00:23:59 +0000 (00:23 +0000)
commit7a102793913cb7a1a0eefbbfc9d5c0d04c9eb868
treed614b6941c83927af97a818fde59841499dd7917
parentfd7ecbb0203d89f31e9b9b7c10147fa2a3864513
Bug 323173 – Add layout of mixed direction text for vertical layout

2007-01-15  Behdad Esfahbod  <behdad@gnome.org>

        Bug 323173 – Add layout of mixed direction text for vertical layout

        * pango/pango-gravity.h:
        * pango/pango-gravity.c:
        Moved gravity stuff here.  New public API:

                PangoGravityHint
                pango_gravity_get_for_matrix()
                pango_gravity_get_for_script()

        * pango/pango-context.h:
        * pango/pango-context.c (pango_context_init),
        (update_resolved_gravity), (itemize_state_update_for_new_run):
        Support gravity hint.  New public API:

                pango_context_set_gravity_hint()
                pango_context_get_gravity_hint()

        * pango/pango-utils.c:
        * pango/pango-matrix.c:
        * pango/pango-matrix.h:
        * pango/pango-types.h:
        Moved gravity and matrix stuff into its own header.  pango-types.h
        includes both pango-matrix.h and pango-gravity.h

        * pango/pango.h:
        Include new headers.

        * pango/pango.def:
        * pango/Makefile.am:
        Update.

        * docs/pango-docs.sgml:
        * docs/pango-sections.txt:
        * docs/tmpl/glyphs.sgml:
        * docs/tmpl/main.sgml:
        * docs/tmpl/vertical.sgml:
        Add a section for Vertical Text.

        * examples/renderdemo.c (do_output), (parse_gravity_hint),
        (parse_options):
        Support gravity hint.

        * examples/test-mixed.txt:
        New test, mixed Latin, Arabic, Chinese text.

svn path=/trunk/; revision=2144
26 files changed:
ChangeLog
docs/pango-docs.sgml
docs/pango-sections.txt
docs/tmpl/glyphs.sgml
docs/tmpl/main.sgml
docs/tmpl/vertical.sgml [new file with mode: 0644]
examples/renderdemo.c
examples/test-mixed.txt [new file with mode: 0644]
pango/Makefile.am
pango/pango-attributes.c
pango/pango-context.c
pango/pango-context.h
pango/pango-glyph-item-private.h
pango/pango-glyph-item.c
pango/pango-glyph-item.h
pango/pango-gravity.c [new file with mode: 0644]
pango/pango-gravity.h [new file with mode: 0644]
pango/pango-layout.c
pango/pango-matrix.c
pango/pango-matrix.h [new file with mode: 0644]
pango/pango-script.c
pango/pango-script.h
pango/pango-types.h
pango/pango-utils.c
pango/pango.def
pango/pango.h