docx
docx copied to clipboard
Custom font works in Word but not in LibreOffice
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):
LibreOffice Writer:
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.