Bug 69638 - Text is missing when converting from SVG
Summary: Text is missing when converting from SVG
Status: RESOLVED DUPLICATE of bug 32248
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-21 12:31 UTC by Ofir
Modified: 2013-12-09 11:25 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Taken from http://commons.wikimedia.org/wiki/File:Periodic_table_large.svg (295.46 KB, image/svg+xml)
2013-09-21 12:33 UTC, Ofir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2013-09-21 12:31:42 UTC

    
Comment 2 Ofir 2013-09-21 12:35:24 UTC
When converting the attached SVG to PDF from the command line the text is missing.
This is the command I'm using:
libreoffice --headless -–invisible --convert-to pdf:writer_pdf_Export

When dragging the SVG file to Impress or Draw it seems to import with the text.
When Dragging the SVG file to the main LO window, it opens Impress but the text is missing.

Thanks
Comment 3 Dominique Boutry 2013-10-17 08:54:10 UTC
It looks like the .SVG file doesn't contain the drawing, but some kind of SVG/XML code/extension to extract it from Wikipedia inline.

Maybe the LibO SVG input filter don't manage such extension, or some resources used by the extension are absent on my system (LibO 4.0.5.2 on Win7) ?
Comment 4 Ofir 2013-10-17 12:38:50 UTC
Dominique, this is the actual SVG file
http://upload.wikimedia.org/wikipedia/commons/4/4d/Periodic_table_large.svg

I don't understand what you mean by SVG/XML code/extension.
Comment 5 Dominique Boutry 2013-10-17 13:42:41 UTC
Thanks for the new attachment. It's really different than the previous one you provided (attachment 86240 [details]), and now I have some results (LibO 4.0.5.2 on Win7) :
- loading into Writer and Impress, re-exporting to PDF : OK (except font replacement which leads to overflows toward the right, mainly for the main title)
- LibO DRAW : only the graphics, no text.
- No test for the command-line SvgToPdf conversion.
Comment 6 Regina Henschel 2013-12-03 20:01:57 UTC
The missing text in case of File > Open is already tracked in bug 32248. I think, that the directly converting to *.pdf has the same reason. Close duplicate to bug 32248?
Comment 7 Owen Genat (retired) 2013-12-08 11:10:56 UTC
(In reply to comment #2)
> libreoffice --headless --invisible --convert-to pdf:writer_pdf_Export

Tested under Ubuntu 10.04 x86_64 with v4.1.3.2. All these commands have the same effect i.e., no text is output:

$ soffice --headless --convert-to pdf:"draw_pdf_Export" Periodic_table_large.svg
$ soffice --headless --convert-to pdf:"impress_pdf_Export" Periodic_table_large.svg
$ soffice --headless --convert-to pdf:"writer_globaldocument_pdf_Export" Periodic_table_large.svg
$ soffice --headless --convert-to pdf:"writer_pdf_Export" Periodic_table_large.svg
$ soffice --headless --convert-to pdf:"writer_web_pdf_Export" Periodic_table_large.svg

That stated, I completely agree with comment #6. This is a duplicate report. It is a bit confusing because the Component is set to Presentation due to this text in comment #2:

> When Dragging the SVG file to the main LO window, it opens Impress ...

This is a separate issue. Possibly a Windows-specific variation (reverse) of the MacOS one reported in bug 50091.
Comment 8 retired 2013-12-09 11:25:02 UTC

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