Bug 166368 - exporting file as PDF jumbles the text with a specific font in .otf format
Summary: exporting file as PDF jumbles the text with a specific font in .otf format
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2025-04-27 15:13 UTC by anoymious
Modified: 2025-05-04 01:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
the second line of text seems to be fine, but the top one is clearly jumbled into an incoherent mess (11.72 KB, application/pdf)
2025-04-27 15:16 UTC, anoymious
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anoymious 2025-04-27 15:13:48 UTC
Description:
when i try to export a file as pdf, all the text that's been set to a custom font I have are for some reason messed up, even though things look perfectly normal while editing.

Steps to Reproduce:
1.download custom .otf fonts
2.change text to new fonts
3.export as pdf

Actual Results:
i'm not sure if it's the specific font that's the problem, but the text that is in those fonts comes out garbled as if there was an error while exporting

Expected Results:
since it looked fine while editing, i expected that it would export without issue


Reproducible: Always


User Profile Reset: Yes

Additional Info:
the fonts i used were from these links: 
https://fontstruct.com/fontstructions/show/2392353/rain-world-menu
https://fontstruct.com/fontstructions/show/2322206/ancient-braids-1
Comment 1 anoymious 2025-04-27 15:16:37 UTC
Created attachment 200575 [details]
the second line of text seems to be fine, but the top one is clearly jumbled into an incoherent mess
Comment 2 raal 2025-04-28 15:52:46 UTC
I can confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 492c94abe05e5ac213475cdd85f158b7a462f824
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
and "RAIN WORLD MENU" font.
Tested with 7.3 and in this version LO crashes during export.
Comment 3 anoymious 2025-04-28 17:11:38 UTC
i've done some testing, and it seems that it was the .otf font that caused the bug, while .ttf font was able to be exported normally.