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 70399 - Text attribute markup for paragraph direction and more sophisticated bidi embedding
Text attribute markup for paragraph direction and more sophisticated bidi emb...
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
0.23
Other other
: Normal enhancement
: Medium API
Assigned To: pango-maint
pango-maint
: 118546 337248 (view as bug list)
Depends on:
Blocks: 168108 Persian Hebrew Arabic 549882
 
 
Reported: 2002-02-02 22:28 UTC by Dov Grobgeld
Modified: 2018-05-22 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dov Grobgeld 2002-02-02 22:28:49 UTC
There should be a tag for specifying whether the paragraph direction is RTL
or LTR. This might be done e.g. by doing <p dir=RTL> </p> around a paragraph.

A more full solution would support the HTML 4.0 <span dir=RTL>...</span> tag.
Comment 1 Matthias Clasen 2003-01-02 23:39:17 UTC
Move bugs which are tracking planned GTK+ 2.4 features to the proper
target milestones.
Comment 2 Owen Taylor 2004-12-13 20:40:15 UTC
*** Bug 118546 has been marked as a duplicate of this bug. ***
Comment 3 Owen Taylor 2004-12-13 20:40:38 UTC
Bug 118546 hsa some more details about possible implementation
Comment 4 Behdad Esfahbod 2005-11-23 14:06:16 UTC
I sketch some other needs for such attributes in bug 168108.  That calls for a
more sophisticated set of tags, but the idea is the same.

I also had Owen's idea of playing with embedding levels, but kinda more
directly, instead of inserting format characters, getting inside FriBidi.

What I found harder to implement is real subtext that has it's own resolved
[paragraph] direction.  That's not supported by Unicode markup, but is in CSS
using unicode-bidi attribute:

  http://www.w3.org/TR/CSS21/visuren.html#direction

To handle that, you just need to consider the subtext as a separate paragraph of
it's own, and make it a object replacement character in the surrounding
paragraph.  Now of course the question is, how to resolved/propagate the
paragraph directions?
Comment 5 Behdad Esfahbod 2006-04-04 20:06:44 UTC
*** Bug 337248 has been marked as a duplicate of this bug. ***
Comment 6 Behdad Esfahbod 2008-09-01 23:11:36 UTC
Bug 549882 is kinda related.
Comment 7 GNOME Infrastructure Team 2018-05-22 11:59:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/1.