docx icon indicating copy to clipboard operation
docx copied to clipboard

Custom font works in Word but not in LibreOffice

Open ivmarcos opened this issue 7 months ago • 0 comments

I’m using a custom font following the example from the docs and it shows up fine in Word, but LibreOffice (v25.x) doesn’t seem to pick it up.

MS Word (correct): Image

LibreOffice Writer: Image

At first I thought LibreOffice just didn’t support embedded fonts in DOCX, but I tested another .docx file created elsewhere using a embedded font, and it worked, so that’s not the issue. As reference, this file contains the embedded font "Ubuntu" which display correctly in Word and LibreOffice: https://calibre-ebook.com/downloads/demos/demo.docx.

Maybe something about how the font is defined in the generated file isn’t playing well with LibreOffice.

ivmarcos avatar May 26 '25 19:05 ivmarcos