ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.76k stars 318 forks source link

Exported PDF shows some garbage characters instead of the written text with the Cantarell font #1269

Open Luhrel opened 1 year ago

Luhrel commented 1 year ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

7.3.3

Expected Behavior

The exported PDF shows the text with the Cantarell font, as shown in the editor : Screenshot_20230422_233018

Actual Behavior

The exported PDF shows some garbage characters instead of the written text : Screenshot_20230422_233113

Reproduction Steps

  1. Create a Word/Spreadsheet/Presentation document
  2. Write some text with the Cantarell font (package used)
  3. Export to PDF
  4. Open the PDF

Additional information

XDmitryK commented 1 year ago

@Luhrel Hi I can confirm - this is bug, issue 62362 in our internal issue tracker. Thank you for report.

OE1FEU-DF5JT commented 1 year ago

Same with 7.3.3.49 from Fedora 38 repository. Tried different fonts, same result. The web based editor, however, works fine with the same document.

It seems that this is about additional locally installed fonts under /usr/share/fonts/, because the garbage output only exists in this case. This is true for all other regularly installed fonts.

As soon as one removes the additional fonts and renews the font cache, conversion to PDF works fine with the "regular" fonts.