Bug 165397 - FILEOPEN PDF Mis-determined horizontal positions (and size?) of text objects
Summary: FILEOPEN PDF Mis-determined horizontal positions (and size?) of text objects
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Import-Draw PDF-Import-Writer
  Show dependency treegraph
 
Reported: 2025-02-22 22:21 UTC by Eyal Rozenberg
Modified: 2025-10-30 09:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Side-by-side screenshot: Attachment 198915, Pg. 2 in LO Draw 25.8 nightly vs Atril PDF viewer (153.02 KB, image/png)
2025-02-22 22:21 UTC, Eyal Rozenberg
Details
Org Mode Compact Guide (PDF) (286.48 KB, application/pdf)
2025-10-30 08:50 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-02-22 22:21:58 UTC
Created attachment 199396 [details]
Side-by-side screenshot: Attachment 198915 [details], Pg. 2 in LO Draw 25.8 nightly vs Atril PDF viewer

Consider the PDF document in attachment 198915 [details] - page 2, at the bottom. There is a block of text there beginning with the word "Copyright".

When opened in LO Draw, the placement of the text object with "2004–2021 Free Software Foundation, Inc." is too far to the right, overlapping the (c) graphic.

Note that this happens with various fallback fonts, including even a converted Computer Modern ("CMU Serif Medium", Converted by Andrey V. Panov from TeX fonts. Some glyphs are copied from Blue Sky fonts released by AMS. From here: https://sourceforge.net/projects/cm-unicode/). So, I don't believe the issue here is font metrics.
Comment 1 Buovjaga 2025-10-30 08:50:53 UTC
Created attachment 203604 [details]
Org Mode Compact Guide (PDF)

(In reply to Eyal Rozenberg from comment #0)
> Consider the PDF document in attachment 198915 [details] - page 2, at the
> bottom. There is a block of text there beginning with the word "Copyright".

The referenced attachment is incorrect. I am attaching the correct one. I repro.

Arch Linux 64-bit
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 38121c6f0208f9db0a6d69e33efc7d1eec0aae31
CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 30 October 2025
Comment 2 Buovjaga 2025-10-30 09:33:04 UTC
This particular overlap seems to have happened in 4.4, but I get a bogus bibisect result with the Windows repo (Linux crashes). It's not a regression as such as the copyright section has other overlaps even in the prior state.