GNOME Bugzilla – Bug 742297
[Texttool] Support for East Asian vertical text writing style
Last modified: 2018-05-24 15:01:18 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 :)
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.
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
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
Oh, thanks, I have totally missed that. Old knowledge about what stuff can do is sometimes very persistent ;)
*** Bug 765871 has been marked as a duplicate of this bug. ***
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
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
(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.
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 ;)
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.
-- 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.