<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Impress OTP file grows hugely embedding fonts"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138797">138797</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Impress OTP file grows hugely embedding fonts
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Impress
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gponzo@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
A template passes from 11KB to more than 36MB just selecting the font embedding
option. Does LO embed ALL the system's fonts?

I'm not sure it is a bug :)

Steps to Reproduce:
1. Open Impress (choosing a blank template if asked)
2. Write some dummy text and Save the file
3. Go to Menu "File -> Properties", Tab "Font"
4. Check "Embed fonts in the document" and click "OK"
5. Save the file with a different name
6. Open the folder and compare sizes

Actual Results:
In my PC file size passes from 11.4KB to 36.4MB

Expected Results:
I'd expect a grow comparable to the size of all fonts "mentioned" in the file,
even if not used. Something less than 1MB in this case.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.6.2
Build ID: 1:6.4.6-0ubuntu0.20.04.1
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: it-IT (it_IT.UTF-8); UI-Language: en-GB
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>