Description: Multiple copies of the same font created inside ODT file structure (Fonts folder) or totally wrong fonts are embedded. Steps to Reproduce: 1. Create new text document 2. Specify non-standard TTC font via direct formatting and write something 3. Save document 4. Uncompress created document as ZIP archive and check Fonts folder Actual Results: With some fonts I get multiple copies of the same font (e.g. Optima) or totally wrong fonts embedded (Didot instead of Hoefler Text). Expected Results: Embed only files used in document Reproducible: Always User Profile Reset: Yes Additional Info: Maybe linked with https://bugs.documentfoundation.org/show_bug.cgi?id=113656 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 137533 [details] Example test documents
Sorry, but the attachment-link only opens a new tab in the browser, but no document.
(In reply to Dieter Praas from comment #2) > Sorry, but the attachment-link only opens a new tab in the browser, but no > document. Previous comment obsolet
Downloaded the (empty) document => 25 MB 11 Embedded fonts: Microsoft YaHei bold => 9,4 MB Microsoft YaHei UI => 13,8 MB AR PL Sungtil GB => 2,3 MB I can't believe that this is useful => Set to NEW
(In reply to Dieter Praas from comment #4) > Downloaded the (empty) document => 25 MB > > 11 Embedded fonts: > Microsoft YaHei bold => 9,4 MB > Microsoft YaHei UI => 13,8 MB > AR PL Sungtil GB => 2,3 MB > > I can't believe that this is useful => Set to NEW Well, actually this is about embedding of TTC fonts when files are duplicated or wrong files are attached. I have created separate report regarding embedding unnecessary fonts — 113656.
> Well, actually this is about embedding of TTC fonts when files are > duplicated or wrong files are attached. I have created separate report > regarding embedding unnecessary fonts — 113656. Sorry, I had both bug reports opened in a tab and I made my comment to the wrong bug => so I change it back to unconfirmed
Could you please provide a TTC file that is free to distribute so it can be tested? Information copied from your text file: https://drive.google.com/file/d/0Bxs_utDd2nQgQTBMaEhQblM2Q1k/view?usp=sharing — wrong fonts https://drive.google.com/file/d/0Bxs_utDd2nQgS0p6NTRjeDZLcVk/view?usp=sharing — multiple copies of the same font
AFAIK, none of the fonts listed in Wikipedia as free are available in TTC file format. Fonts used in mentioned documents come from Mac OS X which I use in dual boot with Linux.
Created attachment 137721 [details] Broken file with TTC inside
You will find mentioned TTCs inside of attached ODT file's structure.
The content of attachment 137721 [details] has been deleted for the following reason: font piracy not allowed
Created attachment 138331 [details] Vegur font as TTC (zipped) I generated a .ttc from Vegur Regular, Light and Bold, which is used in LibreOffice branding. I used these instructions: https://confluence.atlassian.com/confkb/how-to-create-ttc-family-font-file-773981523.html Could you please test with this file? I had to zip it because Bugzilla does not allow .ttc
(In reply to Buovjaga from comment #12) > Created attachment 138331 [details] > Vegur font as TTC (zipped) > > I generated a .ttc from Vegur Regular, Light and Bold, which is used in > LibreOffice branding. I used these instructions: > https://confluence.atlassian.com/confkb/how-to-create-ttc-family-font-file- > 773981523.html > > Could you please test with this file? > > I had to zip it because Bugzilla does not allow .ttc Still buggy with your font. I made blank document with Vegur Regular font (installed in ~/.fonts) selected manually. Saved document has Vegur Bold embedded twice and no Regular.
I tested on Windows with no previous Vegur, I installed my TTC. Then: File - Properties - Font - Embed fonts in this document. I used Vegur Regular. In the zip there were 15 .ttf files, of which 2 Windows said they were not valid font files. There were .ttfs for every variant of Arial and Liberation Sans (bold, italic etc.). None of the .ttfs I could open were Vegur. I think we can call this a duplicate of 83675 tested with Version: 6.1.0.0.alpha0+ (x64) Build ID: 0bb0299b29960c3a27427eba5d5fc34e5e913a8b CPU threads: 4; OS: Windows 10.0; UI render: default; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-12-09_00:15:04 Locale: fi-FI (fi_FI); Calc: group threaded *** This bug has been marked as a duplicate of bug 83675 ***