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 742297 - [Texttool] Support for East Asian vertical text writing style
[Texttool] Support for East Asian vertical text writing style
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
2.8.14
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 765871 (view as bug list)
Depends on:
Blocks: 766324
 
 
Reported: 2015-01-04 04:00 UTC by littlearcher
Modified: 2018-05-24 15:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description littlearcher 2015-01-04 04:00:24 UTC
The use case here is, in most mangas and some other books,  the writing style is that "vertically in columns going from top to bottom and ordered from right to left" (some info on wikipedia: http://en.wikipedia.org/wiki/Horizontal_and_vertical_writing_in_East_Asian_scripts ), just like the following example:
--------
l e i T 
e x s h 
. a   i 
  m a s 
  p n  
--------
It's very useful for CJK language users, and though there're some scripts can do that, it'll be much easier to maintain and manipulate the text if it can be integrated into texttool. 
So, could you please implement this function? Thanks in advance :)
Comment 1 Michael Natterer 2015-01-04 13:35:46 UTC
We can only do that if Pango supports it (short of implementing all text
rendering ourselves, which is highly unlikely). I don't see anything in
the Pango API that would allow this.
Comment 2 Behdad Esfahbod 2015-01-05 04:45:59 UTC
Mitch:

Pango has been supporting vertical text since Pango 1.16 (2006).  See:

  https://developer.gnome.org/pango/stable/pango-Vertical-Text.html
  http://www.pango.org/ScriptGallery
Comment 3 Behdad Esfahbod 2015-01-05 04:47:50 UTC
For example, in the pango/pango-view directory try:

$ pango-view --gravity auto --rotate -90 test-mixed.markup --markup --font 32

and to force all scripts (Latin, Arabic, all) to be upright, like the original request:

$ pango-view --gravity auto --rotate -90 test-mixed.markup --markup --font 32 --gravity-hint strong
Comment 4 Michael Natterer 2015-01-05 13:10:25 UTC
Oh, thanks, I have totally missed that. Old knowledge about what stuff
can do is sometimes very persistent ;)
Comment 5 Michael Natterer 2016-05-01 17:06:11 UTC
*** Bug 765871 has been marked as a duplicate of this bug. ***
Comment 6 Krasnaya Ploshchad’ 2016-05-12 12:51:19 UTC
Unicode Technical Note #22 has some informations related to this writing style
http://www.unicode.org/notes/tn22/

As the OpenType specification, there are several features used for vertical layout, such 'vert', 'vrt2', 'valt', they should be enabled by default within vertical texts.
https://www.microsoft.com/typography/otspec/featurelist.htm
Comment 7 Krasnaya Ploshchad’ 2016-07-15 15:19:07 UTC
The CSS3 Writing Modes Level 3 draft have a appendix lists some scripts that shouls be special treated when they need transformation in vertical texts. This appendix is informative for web developers, but I think this is also useful for other developers which need to implement vertical layouts.

https://drafts.csswg.org/css-writing-modes-3/#script-orientations
Comment 8 Krasnaya Ploshchad’ 2016-07-15 15:24:15 UTC
(In reply to Krasnaya Ploshchad from comment #7)
> The CSS3 Writing Modes Level 3 draft have a appendix lists some scripts that
> shouls be special treated when they need transformation in vertical texts.
> This appendix is informative for web developers, but I think this is also
> useful for other developers which need to implement vertical layouts.
> 
> https://drafts.csswg.org/css-writing-modes-3/#script-orientations

Note this appendix is based on Unicode 6.0 standard, Unicode 9.0 added a new script “Tangut”, it is the first siniform ideographic script encoded after the Han (CJK) script, this script should be performanced the same as CJK texts in vertical layout.
Comment 9 littlearcher 2017-05-31 15:46:12 UTC
2 years passed and sorry to bother again, 
just want to ask if this feature could be implemented, since it'll provide much convenience for manga creation and edition and so, 
and still, whatever the answer is, thanks all the same ;)
Comment 10 Krasnaya Ploshchad’ 2018-05-15 02:00:06 UTC
Inkscape is already implemented it for both vector and raster (via expert to PNG) images, and Inkscape 0.92 is implemented both RTL and LTR block direction. So GIMP can follow it anyway.
Comment 11 GNOME Infrastructure Team 2018-05-24 15:01:18 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/gimp/issues/641.