FS#66754 - [libreoffice-fresh/cantarell-fonts] export to pdf does not work for cantarell fonts

Attached to Project: Arch Linux
Opened by daimonion (demon) - Saturday, 23 May 2020, 14:09 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 08 February 2021, 10:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Export odt document with DejaVu, Liberation or other fonts, to pdf: text on the pdf is visible.
Export odt document with Cantarell fonts to pdf: any text written in Cantarell is NOT visible


Additional info:
* libreoffice 6.4.x versions
* other people noticed this as well: https://forum.manjaro.org/t/libreoffice-does-not-export-to-pdf/128139

Steps to reproduce:

Write something, change the text font to Cantarell, export the document to PDF. Open the resulting PDF.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 08 February 2021, 10:41 GMT
Reason for closing:  Upstream
Additional comments about closing:  I'm subscribed to the upstream report-
Comment by daimonion (demon) - Saturday, 23 May 2020, 15:17 GMT
Seems it actually might be some kind of problem with the Cantarell fonts. I have found a workaround:

rm /usr/share/fonts/cantarell/Cantarell-VF.otf
fc-cache

LibreOffice exports Cantarell fonts to PDF normal.

So the problem is in the Cantarell-VF.otf somehow.
Comment by Jan Alexander Steffens (heftig) - Sunday, 24 May 2020, 08:15 GMT
It's an OpenType 1.8 variable font. LibreOffice needs to ignore it and use the accompanying simple fonts instead if it has problems with variable fonts.
Comment by Andreas Radke (AndyRTR) - Sunday, 24 May 2020, 15:06 GMT Comment by nordine-philippe abdessemed (npa) - Friday, 23 October 2020, 02:19 GMT
Hello,

same problem for me :

Since i remove font-bh-ttf (i thought they were useless), then export odt document with Cantarell fonts to pdf : bold text written in Cantarell is NOT visible

I reinstall font-bh-ttf and everything works fine.

I don't understand.

Loading...