Bug 164777 - Frames and tables clipping italics
Summary: Frames and tables clipping italics
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering Frame
  Show dependency treegraph
 
Reported: 2025-01-20 20:53 UTC by lomacar
Modified: 2025-01-21 15:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of clipping bug (38.67 KB, image/png)
2025-01-20 20:55 UTC, lomacar
Details
test document (18.80 KB, application/vnd.oasis.opendocument.text)
2025-01-20 20:56 UTC, lomacar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lomacar 2025-01-20 20:53:17 UTC
Description:
I don't know how recent this bug is. I just noticed it happening throughout the document I am working on a few days ago. I said it affects 24.8.3.2, but I am actually using 24.8.4.1.

Steps to Reproduce:
1. Create a frame or table with no padding.
2. Type some lower case f's or j's in the table cell or frame.
3. Apply italics to the text. Use a large font to better see the effect.
4. Use left or right alignment and size the table/frame such that the letters inside  are right against the edge of the table/frame.

Actual Results:
the bottom of the leftmost j and the top of the rightmost f are clipped and not visible.

Expected Results:
The full letters should be visible.


Reproducible: Always


User Profile Reset: No

Additional Info:
There is something truly bizarre going on. In the document I am attaching you can see 3 frames. In the top one everything is clipped. In the second one, I have typed additional f's on the first line and that has cause the j on the bottom line to become magically unclipped. 

Now, if you put your cursor in the middle of the f line and type anything, nothing will improve. However, if you go to the end of the line and type anything then the bottom tail of the f at the beginning of the line will appear!! (Even this didn't work for me at one point until I re-opened the document.) (It may not completely appear until you force a re-paint of the screen by scrolling away or minimizing the document.) Nothing I have tried prevents the top of the f from clipping on the right side.

Fortunately in PDF exports the clipping does not occur.
Comment 1 lomacar 2025-01-20 20:55:57 UTC
Created attachment 198643 [details]
screenshot of clipping bug

Note everything clipped in frame 1. J unclipped in frame 2. Left f unclipped in frame 3.
Comment 2 lomacar 2025-01-20 20:56:38 UTC
Created attachment 198644 [details]
test document
Comment 3 BogdanB 2025-01-21 15:40:36 UTC
I confirm.
It depends on the font.

Version: 25.2.0.2 (X86_64) / LibreOffice Community
Build ID: 62af784cc06624122f17ee71c7cf13d906cbaed0
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded