Ask Your Question

Writer embedded font not used in headless convert to pdf

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

glenix gravatar image

updated 2015-08-28 19:45:29 +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 close merge delete


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
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 1,608 times

Last updated: Mar 04 '15