| Summary: | Can't see SVG picture with encoding="windows-1252" in the prolog | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | OfficeUser <norbert.notz> |
| Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | miguelangelrv, rb.henschel, stephane.guillou, xiscofauli |
| Priority: | medium | Keywords: | filter:svg |
| Version: | 5.0.0.5 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 88278 | ||
| Attachments: | SVG picture | ||
|
Description
OfficeUser
2024-07-07 14:37:44 UTC
Created attachment 195149 [details]
SVG picture
Image is imported but not visible, neither selectable, even it is listed on the Navigator. Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cdf2681d996286953dffa8a033de1b947ae23768 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded It seems, that the import filter struggles with encoding="windows-1252" in the prolog. Change it to encoding="UTF-8" and the import works. (In reply to Regina Henschel from comment #3) > It seems, that the import filter struggles with encoding="windows-1252" in > the prolog. Change it to encoding="UTF-8" and the import works. Thanks, you are right! In case it is somehow useful, I would like to point out that ONLYOFFICE has a similar problem, but fails not on import but on printout with the same SVG: https://github.com/ONLYOFFICE/DocumentServer/issues/2792#issuecomment-2210535901 Also reproduced in Version: 7.3.0.0.alpha1+ / LibreOffice Community Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: fr-FR (es_ES.UTF-8); UI: en-US Calc: threaded (In reply to m_a_riosv from comment #2) > Image is imported but not visible, neither selectable, even it is listed on > the Navigator. In a recent master build, it's possible to right-click it and open its Properties, which shows a 0×0 size. Changing it has not effect. Same with Properties sidebar deck. Back in 5.0.0.5, it would be imported with a ridiculously large size according to the values in the sidebar, and changing the size would persist, but contents of the SVG still weren't shown. |