| Summary: | LibreOffice leaks embedded Fonts between documents | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | MM <marina.malic> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | minor | CC: | ilmari.lauhakangas, joaopauloag-freedesktop, xiscofauli |
| Priority: | low | Keywords: | implementationError |
| Version: | 4.1.0.4 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 113338 | ||
| Attachments: | added example documents - embedded and non_embedded font file | ||
|
Description
MM
2021-06-30 12:44:37 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it. See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.) Created attachment 173291 [details]
added example documents - embedded and non_embedded font file
The same problem also exists in: Version: 7.0.6.2 (x64) Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: en-US (en_AT); UI: en-US Calc: threaded I reproduce. You don't have to export as PDF. It is enough to first open the one with embedded and then the one without. You can immediately see from the non-embedded file that the font is not substituted, the font name is not shown in italics in the font toolbar. I tested with old bibisect repos and noticed that it has been like this since the feature of embedding fonts was introduced in 4.1: https://wiki.documentfoundation.org/ReleaseNotes/4.1#Writer Arch Linux 64-bit Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 3a4a12b3801b0b88d119c6e7aaca1e183f7e470f CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 29 April 2022 We register embedded fonts the same way we register bundled fonts. I don’t think we have a way to limit fonts to a single document (I think our font list is global, but don’t quote me on it). With the previous comment, this is close to WontFix. Xisco, please see. (In reply to Timur from comment #6) > With the previous comment, this is close to WontFix. Xisco, please see. Why close it as WontFix if the registered embedded fonts could be unregistered? When registering embedded fonts, save this info in a list to deregister them after the document with the embedded font is closed. |