In some use cases it is necessary to export a Writer document to PDF embedding completely the fonts used. Now the export generates only subset of fonts embedded. It should be useful if there will be an option to fully embed fonts
IIUC our font embedding (File -> Properties -> Font tab) subsets into ODF, but with poppler export to PDF it also renames the font to meet PDF needs. Would we need to add an 'Export' control(s) to the Font tab? Also there are font file format issues with .cff, .woff, .otf, .ttf and then each font carries its own permissions as to allowing subset or full-embedding as licensing. Seems a real can of worms to attempt full font embedding. An equally viable approach for users needing to publish to PDF might be authoring with "do not require embedding" fonts, the "base 14" Courier (Regular, Oblique, Bold, Bold Oblique), Helvetica (Regular, Oblique, Bold, Bold Oblique), Times (Roman, Italic, Bold, Bold Italic), Symbol, and ITC Zapf Dingbats Which is what we've already done with fields in our PDF forms export to assure our exported form fields are fully editable. Just not seeing the need to attempt this.
Please elaborate on the need to export the entire font. What use case is not covered with the current implementation?
(In reply to Heiko Tietze from comment #2) > Please elaborate on the need to export the entire font. What use case is not > covered with the current implementation? See the liked Ask question.
sorry s/liked/linked/
Duplicate of bug 50879 "form exported as pdf does not embed all required fonts" (patch submitted by Miklos in https://gerrit.libreoffice.org/c/core/+/99032) or bug 78216 "PDF export should not remap embedded font". At least related is bug 78216 "PDF export should not remap embedded font". And there is bug 85295 - PDF: handling of embedded fonts, glyphs, subsets with the statement from Michael Stahl "PDF does not embed fonts, it embeds those glyphs which are used." and many more tickets. File > Properties > Font offers "[x] Embed fonts in the document" and "[ ] Only embed fonts that are used in documents" - is this options respected on export to PDF? But at https://kdp.amazon.com/en_US/help/topic/G202145450 I read: "You can find out if the fonts are embedded by opening the file in Adobe Acrobat and checking under the File/Properties on the Fonts tab. Every font in the list needs to show "Embedded" or "Embedded Subset" for your file to work.", nothing about a restriction to complete fonts.
Just my 2 cents. You can see the embedding status of fonts with the Open Source pdffont utility As an example my last writer file exported as PDF says pdffonts hosepla_book.pdf name type encoding emb sub uni object ID ------------------------------------ ----------------- ---------------- --- --- --- --------- BAAAAA+LiberationSans-Bold TrueType WinAnsi yes yes yes 2126 0 CAAAAA+LiberationSans TrueType WinAnsi yes yes yes 2106 0 DAAAAA+LiberationSerif TrueType WinAnsi yes yes yes 2121 0 EAAAAA+LiberationSerif-Bold TrueType WinAnsi yes yes yes 2101 0 FAAAAA+LiberationSerif-Italic TrueType WinAnsi yes yes yes 2111 0 GAAAAA+LiberationMono TrueType WinAnsi yes yes yes 2131 0 HAAAAA+LiberationMono-Bold TrueType WinAnsi yes yes yes 2136 0 IAAAAA+DejaVuSansMono TrueType WinAnsi yes yes yes 2116 0 JAAAAA+NotoColorEmoji Type 3 Custom yes yes yes 2139 0
Removing UX keyword, see comment 5. If we need another option to embed the entire font, it should be quite simple to do UI-wise.