Ask Your Question
3

Embedding font feature status [closed]

asked 2013-05-07 11:08:42 +0200

a-s-r gravatar image

updated 2015-08-27 23:29:14 +0200

Alex Kemp gravatar image

Hello. I just wanted to know what the current status of the much desired font embedding feature on LibreOffice Writer (on ODT files, since it's already implemented for PDF files).

Also, I wonder if ODT file's font embedding feature implementation will also allow doing the some on DOC files, which could be useful for interoperability with non-LibreOffice (Microsoft Office, etc.) users.

Any info on these two issues would be much welcome.

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 2016-03-03 18:41:49.691876

1 Answer

Sort by » oldest newest most voted
5

answered 2013-05-07 16:18:00 +0200

oweng gravatar image

updated 2014-09-14 15:07:58 +0200

As I understand it, font embedding via the svg:font-face-src and child svg:font-face-uri element will be available for ODT (fdo#42195), ODS (fdo#61073), and ODP (fdo#61072) in the v4.1 release due in July 2013. There is still a problem with the way LO embeds fonts not being handled correctly by Calligra (KDE#316373) This issue is now resolved under Calligra v2.8. Looking at a rudimentary example ODT containing an embedded font the TTF file is stored in a /Fonts directory and linked from within content.xml (standard style:font-face definitions exist in styles.xml). The indicated facility will evidently be available via File > Properties > Fonts tab[1].

The related sections of ODF v1.2 for the elements mentioned (and other related ones) are §§16.21-16.26. Whether the indicated XML elements are the desired manner within the ODF specification for handling the embedding of fonts is still being debated (including under this question on AskLO). The list of considerations, from the technical to legal, are lengthy. Two comments on the OASIS lists that provide a reasonable amount of detail on what some of these considerations are include: Michiel Leenaars on 27 Mar 2010 and Dennis Hamilton on 14 Dec 2011. Cross-product compatibility (e.g., OOXML) may also be interesting. Until ODF v1.3 is finalised I do not feel it is clear what the position of OASIS is on this matter, thus the technical implementations remain (IMO) contingent i.e., user beware.

[1] Note that this location may change. Refer fdo#64357.

edit flag offensive delete link more

Comments

1

Fantastic answer! Thank you, oweng! I can confirm that this feature works correctly under Windows using a daily build from the Master branch! Well done LO developers!!!

Pedro gravatar imagePedro ( 2013-05-07 16:45:21 +0200 )edit
1

Question Tools

1 follower

Stats

Asked: 2013-05-07 11:08:42 +0200

Seen: 1,903 times

Last updated: Sep 14 '14