After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 99523 - Add support for additional writing directions (vertical)
Add support for additional writing directions (vertical)
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: Big API
Assigned To: pango-maint
pango-maint
: 311982 (view as bug list)
Depends on: 99468 vertical 323173 323174
Blocks: 137912
 
 
Reported: 2002-11-25 17:14 UTC by Owen Taylor
Modified: 2007-05-24 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2002-11-25 17:14:19 UTC
Pango needs support for additional writing directions.  In
the initial version of Pango, support is only present for
right-to-left and left-to-right text. However, vertical
writing is also important in many applications.

One reason why vertical text has not been implemented in
Pango-1.0 is that the target rendering system, X, has week
facilities for handling text in other than a horizontal
location. The obvious, though not the only, way of treating
vertical writing is to keep the logic in
PangoLayout the same, but to have an
implicit transformation of the coordinate system.  Doing it
this way, the only extra code in Pango that is needed is to
transform glyph metrics as appropriate.  (some characters
will rotate, some not), and also to handle selecting
appropriate glyph variants when a font has separate variants
for vertical and horizontal text.  (CJK punctuation being a
common example of this.)

[ From TODO.xml ]
Comment 1 Owen Taylor 2004-12-13 20:37:13 UTC
Situation is a better now for the target rendering system ...
with Pango-1.8 we have pretty comprehensive support for rotated
coordinate systems for all non-obsolete backends.
Comment 2 Behdad Esfahbod 2005-08-18 17:24:15 UTC
*** Bug 311982 has been marked as a duplicate of this bug. ***
Comment 3 Behdad Esfahbod 2005-08-18 17:27:20 UTC
Unicode Technical Note #22, Robust Vertical Text Layout:
http://www.unicode.org/notes/tn22/
Comment 4 Maciej Katafiasz 2005-12-04 02:52:41 UTC
Created new bug 323172, bug 323173 and bug 323174 to split this into separate
sub-tasks
Comment 5 Behdad Esfahbod 2006-09-03 01:59:14 UTC
Closing this one as it's been split into three, and the basic support has already been committed.
Comment 6 Behdad Esfahbod 2007-01-16 00:30:35 UTC
Remaining bits here are:

  - gravity and gravity_hint attributes and markup
  - more documentation
  - handling vert features in basic module

Reopening to get these done.
Comment 7 Behdad Esfahbod 2007-01-16 13:21:04 UTC
attributes and markup are done.

Remains to fill in the "Vertical Text" section of documentation with some text and samples, and to handle vert features in basic module.
Comment 8 Behdad Esfahbod 2007-05-24 20:16:32 UTC
'vert' was already fixed.

2007-05-24  Behdad Esfahbod  <behdad@gnome.org>

        * docs/tmpl/vertical.sgml: Document how Pango's vertical text support
        works.