Bug 160436 - Vertically oriented rotated text is partially cut off on Windows with Skia disabled
Summary: Vertically oriented rotated text is partially cut off on Windows with Skia di...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:24.8.0 target:24.2.3
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 19:08 UTC by Mike Kaganski
Modified: 2024-04-09 11:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
A sample vertically oriented rotated text (10.89 KB, application/vnd.oasis.opendocument.text)
2024-03-30 19:08 UTC, Mike Kaganski
Details
Screenshot of the problem (42.24 KB, image/png)
2024-03-30 19:09 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-03-30 19:08:14 UTC
Created attachment 193407 [details]
A sample vertically oriented rotated text

The attachment has three text boxes, which are set to vertical text direction; additionally, they are rotated by 0, 90, and 45 degrees.

With Skia disabled, on Windows, the two with non-0 rotation are displayed partially.
Comment 1 Mike Kaganski 2024-03-30 19:09:35 UTC
Created attachment 193408 [details]
Screenshot of the problem

Using Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded
Comment 2 Mike Kaganski 2024-03-30 19:13:26 UTC
Note that the character used in the text is ยง (U+00A7 SECTION SIGN), which has vo property U, as of https://www.unicode.org/Public/vertical/revision-17/VerticalOrientation-17.html.

This is related, but different from, bug 160430.
Comment 3 Mike Kaganski 2024-03-30 19:50:38 UTC
https://gerrit.libreoffice.org/c/core/+/165581
Comment 4 Commit Notification 2024-04-01 11:07:00 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/dff57d2b4f5abd1b51ebfb0015339471f61e72f9

tdf#160436: fix glyph bounds calculation for vertical glyphs

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2024-04-09 11:56:56 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/61e94a59a947c372a5802134d94f0908327a2366

tdf#160436: fix glyph bounds calculation for vertical glyphs

It will be available in 24.2.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.