Bug 141263 - Justification and new lines are ignored with vsd2xhtml
Summary: Justification and new lines are ignored with vsd2xhtml
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libvisio (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:visio
Depends on:
Blocks:
 
Reported: 2021-03-26 12:59 UTC by Dusuaas
Modified: 2024-10-03 21:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Expected output (9.84 KB, image/png)
2021-03-26 13:16 UTC, Dusuaas
Details
Actual output (13.75 KB, image/png)
2021-03-26 13:22 UTC, Dusuaas
Details
Output from LibreOffice Draw (32.67 KB, image/png)
2021-03-26 13:27 UTC, Dusuaas
Details
Visio Test Drawing (29.28 KB, application/vnd.ms-visio.drawing)
2021-09-29 11:09 UTC, Dusuaas
Details
Sample image with LibreOffice 24.8.1.2 (47.93 KB, image/png)
2024-10-02 22:05 UTC, Bartosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dusuaas 2021-03-26 12:59:30 UTC

    
Comment 1 Dusuaas 2021-03-26 13:16:57 UTC
Created attachment 170754 [details]
Expected output

Expected output from libvisio / vsd2xhtml.
Output was generated by Visio 2013.
Comment 2 Dusuaas 2021-03-26 13:22:38 UTC
Created attachment 170755 [details]
Actual output

The output returned by libvisio / vsd2xhtml
Comment 3 Dusuaas 2021-03-26 13:27:35 UTC
Created attachment 170756 [details]
Output from LibreOffice Draw

Output directly from LibreOffice Draw.
Note that new lines are correctly shown.
Comment 4 Dusuaas 2021-03-26 13:31:21 UTC
When using libvisio to output a diagram, justification of text and new lines are ignored.

Please see screenshots of expected and actual output:
(https://bugs.documentfoundation.org/attachment.cgi?id=170754)
(https://bugs.documentfoundation.org/attachment.cgi?id=170755)

Interestingly, LibreOffice Draw appears to correctly display justification and new lines, see screenshot (https://bugs.documentfoundation.org/attachment.cgi?id=170756)
Comment 5 Dusuaas 2021-06-24 14:39:04 UTC Comment hidden (obsolete)
Comment 6 Bartosz 2021-09-16 14:26:39 UTC
Please provide the Visio file, which you are trying to import.
Comment 7 Dusuaas 2021-09-29 11:09:59 UTC
Created attachment 175351 [details]
Visio Test Drawing

Visio drawing that provides unusual output when run through vsd2xhtml
Comment 8 Dusuaas 2021-09-29 11:11:03 UTC
Attached Visio file that is being imported
Comment 9 Bartosz 2024-10-02 22:05:47 UTC
Created attachment 196860 [details]
Sample image with LibreOffice 24.8.1.2

With Libreoffice 24.8.1.2 the text looks correctly aligned.
The only issue is the color of the text.

Version: 24.8.1.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: pl-PL (pl_PL.UTF-8); UI: en-US
Ubuntu package version: 4:24.8.1-0ubuntu0.24.04.1~lo1
Calc: threaded