Bug 143991 - The imported text in the SVG image is partially invisible.
Summary: The imported text in the SVG image is partially invisible.
Status: RESOLVED DUPLICATE of bug 153092
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL: https://wysi.sper.hr/SVG_text_bug.odg
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2021-08-21 13:15 UTC by Sper
Modified: 2023-08-07 15:22 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (101.97 KB, image/svg+xml)
2022-10-03 10:22 UTC, Xisco Faulí
Details
Comparison LibreOffice 7.5 master and Firefox (113.01 KB, image/png)
2022-10-03 10:23 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sper 2021-08-21 13:15:03 UTC
Description:
The imported text in the SVG image is partially invisible.
Usually the part of the row at the top and the characters at the right end are missing. The error only occurs in the Draw application. Writer does not have these problems. But if it is copied from the Writeer (via clipboard) to Draw, the error appears in Draw.  Changing the font does not help. 

Steps to Reproduce:
1. Open Draw
2. Insert SVG Image with graphic and text (https://wysi.sper.hr/HVSP_6_wires.svg)
3. 

Actual Results:
The graphics are well imported. Part of the text is partially visible, and the text of a few characters is visible well. 

Expected Results:
Graphics and text are well imported. 


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
The same SVG file is well imported into Writer? SVG is made with Inkscape. I tried versions 0.92, 1.0, 1.1 and 1.2. The result is the same. 
The only way to import SVG well from Inkscape is to export it to a pdf file and then import the pdf into an additional Draw window. Then copy the resulting image via clipboard to the main Draw document.
Comment 1 Roman Kuznetsov 2021-08-22 20:11:17 UTC
Confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4677345e3695bac158bb04048b4d5c608ed764b4
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

ps: I think Inkscape can export images to PNG too
Comment 2 Xisco Faulí 2022-10-03 10:22:03 UTC
Created attachment 182808 [details]
sample file
Comment 3 Xisco Faulí 2022-10-03 10:23:31 UTC
Created attachment 182809 [details]
Comparison LibreOffice 7.5 master and Firefox
Comment 4 Stéphane Guillou (stragu) 2022-11-23 12:09:32 UTC
Reproduce also on Linux, as attachment 182809 [details]:

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1435c5b12646269e2b5b58ec7d51626dce6505db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

There is some regression in 7.5, the text looked better in:

Version: 7.4.2.3 / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

(although, as OP said, some part of some strings in the central rectangle are not displayed, which can also be evidenced by zooming in and out)
Comment 5 Xisco Faulí 2023-08-07 15:22:06 UTC
This issue is fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=9d60497954ed25bd802e66b5de0f375b301c79eb
Closing as duplicated of bug 153092

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