Bug 44576 - libvisio: arrow heads not scaled with line weight
Summary: libvisio: arrow heads not scaled with line weight
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Master old -3.6
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Fridrich Strba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 06:23 UTC by Bruno Girin
Modified: 2013-03-22 15:05 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Visio file that shows different arrow styles at different line weights (38.50 KB, application/vnd.visio)
2012-01-08 06:23 UTC, Bruno Girin
Details
PNG output from Visio showing what the diagram should look like (26.69 KB, image/png)
2012-01-08 06:24 UTC, Bruno Girin
Details
PNG output from LibreOffice showing what LO imports (33.74 KB, image/png)
2012-01-08 06:24 UTC, Bruno Girin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Girin 2012-01-08 06:23:48 UTC
Created attachment 55287 [details]
Visio file that shows different arrow styles at different line weights

Visio scales arrow heads so that the arrow is consistent with the line weight. When importing a Visio diagram in Libre Office Draw, this is not reflected and all arrows have the same size independent of the line weight. See the attached files for examples.
Comment 1 Bruno Girin 2012-01-08 06:24:16 UTC
Created attachment 55288 [details]
PNG output from Visio showing what the diagram should look like
Comment 2 Bruno Girin 2012-01-08 06:24:48 UTC
Created attachment 55289 [details]
PNG output from LibreOffice showing what LO imports
Comment 3 Fridrich Strba 2012-01-11 02:46:29 UTC
The arrow heads are only initial implementation. Another entry-level task that could be done by someone trying to enter libvisio's world. The VSDXContentCollector::_lineProperties function is where all this is happening.
Comment 4 Fridrich Strba 2013-03-22 15:05:01 UTC
Checking with recent build of LibreOffice, it seems that your work, Bruno, fixed this one. Maybe we need to add more arrow styles, but as it stands, it is scaled.