Created attachment 182406 [details] Shape 'lr-tb' vs. shape 'tb-rl' Open attached document. It contains two shapes with same geometry. The enhanced-geometry has an attribute draw:text-areas="0 16200 16200 21600 0 5400 5400 21600" That defines two rectangular areas given as left-top-right-bottom. The second one has to be used, if the text style has an attribute style:writing-mode="tb-rl". That is the case for the right shape. For definition in ODF see above link. The left shape has to use the first text area 0 16200 16200 21600, which is a rectangle with width 16200 and height 5400 and left-top corner 0|16200. The right shape has to use the second text area 0 5400 5400 21600, which is a rectangle with width 5400 and height 16200 and left-top corner 0|5400. Error: The text with east Asian writing mode 'tb-rl' uses the same text area as the text with 'lr-tb' writing mode.
Created attachment 184735 [details] PDF export of document Is this the bad result? Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7195e2740eb1c71f5bbc4322b3535d56b39e2817 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 18 January 2023
Created attachment 185674 [details] Added rectangles to indicate the text frame position (In reply to Buovjaga from comment #1) > Created attachment 184735 [details] > PDF export of document > > Is this the bad result? Yes, the vertical text uses the wrong rectangle. I have now attached a file, where I have added rectangles to show where the text should appear. The blue rectangle indicates the text frame to be used for lr-tb writing-mode (Latin text) and the red rectangle indicates the text frame to be used for tb-rl writing-mode (East Asian text).
Issues with top-to-bottom writing modes are not tracked on RTL-CTL. I think (?) they're tracked on the CJK meta bug...