wanna text frame to support vertical layout

Previous topic - Next topic

tenuun

hello guys, I wanna text frame to support vertical layout(starting from left column), I mean the texts will be rendered from the top to the botom of the column.
I followed the insight of the code and tried modifying something, no effect.   
anyone has the idea?

a.l.e

hi tenuun,

it would probably useful to know what you already tried.
do you have a branch on github (or any other git platform)?

personally, i don't know much about this specific topic, but i will try to get somebody to help you.
but, first, i think we need more information from your side...

ciao
a.l.e

a.l.e

hi tenuun,

i talked to jean (one of the lead developers) about your request and, sadly, he does not have time to get into this today.

here is what he could say right now:

"""
adding vertical layout is lot of work.

not just a matter of rendering top to bottom.

necessary work goes down to the fonts level.
"""

so, you should be prepared to spend some time on the project!
but if you manage to do it, you will make many people very happy!

i also mailed the person who took charge of the right to left rendering in scribus and asked if he has some time for you.

as said, personally, i cannot help you much with the details, since i have no idea about the text engine, but if you come to the irc channel on freenode, you can ask (simple) questions and possibly get answers.

ciao
a.l.e

tenuun

Hi a.l.e,

many thanks for your help.

i'm not yet open any branch on git since I just cut into this, I still need more time to look into the code and do some research on how to lay out texts vertically , and i hope i can do something on the vertical layout.

Tenuun.

a.l.e

you might also have a look at the closed in the scribus-HOST repository:

https://github.com/HOST-Oman/scribus/pulls?q=is%3Apr+is%3Aclosed

it's where the right to left support has been developped...

Fahad

Hi tenuun,

there is a lot of work to get vertical layout supported. to start, please read this design file to understand the whole process. the file here:
https://github.com/HOST-Oman/scribus/blob/host/scribus/text/design.txt

Right now, scribus use freetype, icu & harfbuzz for low-level text layer, The good thing is that they all support vertical layout. The difficult part is in pageitem_textframe:: layout().

Please read the mention file and then if you want help I would be happy to answer your questions.

Regards,
Fahad Al-Saidi


tenuun

Hi a.l.e, Fahad,

very useful info.   thanks lot.

Regards,
Tenuun.