Bug 167076 - Printing export to PDF of an ODT file did not include all the text show on the screen missed a duplicate span of rotated text at larger font size
Summary: Printing export to PDF of an ODT file did not include all the text show on th...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export PDF-Export-Options-Dialog
  Show dependency treegraph
 
Reported: 2025-06-18 10:02 UTC by Brian Quarterman
Modified: 2025-06-18 14:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT file containing the word Sarah twice (411.39 KB, application/vnd.oasis.opendocument.text)
2025-06-18 10:02 UTC, Brian Quarterman
Details
PDF output with only one "Sarah" (6.30 MB, application/pdf)
2025-06-18 10:04 UTC, Brian Quarterman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Quarterman 2025-06-18 10:02:41 UTC
Created attachment 201342 [details]
ODT file containing the word Sarah twice

I edited an an existing birthday card in ODT format change the name from Brenda to Sarah which appeared successfully.  saved the file with a new name and tried printing it.  The name "Sarah" appears on the screen but when printed to my HP printer or to a PDF file was not printed.
Comment 1 Brian Quarterman 2025-06-18 10:04:36 UTC
Created attachment 201343 [details]
PDF output with only one "Sarah"
Comment 2 V Stuart Foote 2025-06-18 11:42:30 UTC
Confirmed.

The PDF receives subset the "Apple Chancery" font. But the missing Sarah is formatted at 24pt while the rest of the visible text is formatted at 20pt.

Would be curious if a gs based print to PDF handles correctly.
Comment 3 V Stuart Foote 2025-06-18 12:29:14 UTC Comment hidden (obsolete)
Comment 4 V Stuart Foote 2025-06-18 12:30:48 UTC
Guess issue is with the reuse of the subset font for a duplicated text span with larger font size, 24pt vs 20pt.
Comment 5 Brian Quarterman 2025-06-18 14:43:07 UTC
I noted that viewing the document in LibreOffice’s print preview option every thing is fine.

The WYSIWYG issue still remains a bug.
Comment 6 V Stuart Foote 2025-06-18 14:50:24 UTC
(In reply to Brian Quarterman from comment #5)
> I noted that viewing the document in LibreOffice’s print preview option
> every thing is fine.
> 
> The WYSIWYG issue still remains a bug.

OK, that is sort of expected. The export to PDF is not totally the same as the Print/Print preview code. Dropping the second instance of the "Sarah" text span (the first is present, so the subset into PDF included the glyphs) is an issue with the PDF export code.

If you had a physical printer, or a direct print to PS/PDF utility (I use ghostscript based printer on Windows) my guess is it probably would show the second "Sarah" in that output.