We're currently migrating from Ask to Discourse, read the details here

Ask Your Question

Writer embedded font not used in headless convert to pdf [closed]

asked 2014-05-31 18:06:40 +0200

glenix gravatar image

updated 2021-05-31 09:48:14 +0200

Alex Kemp gravatar image

I created a writer document using libreoffice 4.1 and embedded the fonts into the writer document. I then copied it to another computer which does not have that font and did:

libreoffice --headless --convert-to pdf myfile.odt

The embedded font was not used. Is there a way to get it to use the embedded font?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-16 21:49:56.647859


did you find the answer? i have tryed to add fonts to the ~/.fonts/ directory but this didn't work for me.

NijboerIT gravatar imageNijboerIT ( 2014-10-02 13:39:09 +0200 )edit

Sorry spoke to soon.. add them to /usr/share/fonts/ and it will work!

NijboerIT gravatar imageNijboerIT ( 2014-10-02 13:41:42 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-03-04 15:52:09 +0200

munzli gravatar image

libreoffice --invisible --convert-to pdf myfile.odt -> seems to work.

--headless ignores the embedded fonts and i've also noticed that some embedded fonts don't work at all (even if you open the document as odt normally in libreoffice)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-05-31 18:06:40 +0200

Seen: 1,819 times

Last updated: Mar 04 '15