Bug 99654 - FILESAVE Embedding font makes file incredibly large
Summary: FILESAVE Embedding font makes file incredibly large
Status: RESOLVED DUPLICATE of bug 65353
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-03 16:06 UTC by Olivier Hallot
Modified: 2017-10-05 04:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2016-05-03 16:06:26 UTC
When embedding fonts in a Writer document, the file gets incredibly large, way beyond practical use.

A single 17K file with 1ยง grows to 94MB

Steps to reproduce

1) Open a blank file, type some text, save it with name 
test-without-embeded-fonts.odt

2) Activate File - Properties - Fonts and mark Embed fonts in document

3) save file with name test-with-embeded-fonts.odt (you will notice the time it takes to save the file)

4) with the file manager, compare the files 

Actual results: A file with dozens of megabytes

Expected results: a file with a few megabytes more.
Comment 1 V Stuart Foote 2016-05-03 16:45:59 UTC
On Windows 10 Pro 64-bit en-US with
Version: 5.1.2.2 (x64)
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f
CPU Threads: 8; OS Version: Windows 6.19; UI Render: default; 
Locale: en-US (en_US)

Confirmed.
Comment 2 V Stuart Foote 2016-05-03 16:47:18 UTC
On windows embedding in an .ODT document with a single font bumped from ~9KB to ~11MB
Comment 3 QA Administrators 2017-05-22 13:39:24 UTC Comment hidden (obsolete)
Comment 4 Yousuf Philips (jay) (retired) 2017-10-05 04:43:27 UTC

*** This bug has been marked as a duplicate of bug 65353 ***