Bug 67913

Summary: Formatting of text within a drawing in Visio format is not placed vertically correctly
Product: Document Liberation Project Reporter: m_josenhans
Component: libvisioAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WONTFIX    
Severity: major CC: dtardon, fridrich.strba, m_josenhans, serval2412
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Vertically incorrect alignment of text with Visio diagram.
screenshot - VisioViewer
screenshot - LibreOffice
sample diagram

Description m_josenhans 2013-08-08 18:04:28 UTC
Created attachment 83859 [details]
Vertically incorrect alignment of text with Visio diagram.

A Viso drawing with a vertically incorrect allignment in LibreOffice 4.0.3.3.

This error apprears on Windows and Linux.
Comment 1 m_josenhans 2013-08-08 18:14:10 UTC
The above attachment is a zip file. This bug is closely related to bug #67914.
Comment 2 Mike Kaganski 2013-08-09 01:41:50 UTC
Reproducible with 4.1.0.4 under Win7x64.

The text in the attachment 83859 [details] is in single text frame, empty lines between labels make the alignment.

Looks like the frame is positioned by its center (correctly), but paragraph spacing is choosen incorrectly (it should be ~112% instead of 125%).
Comment 3 Julien Nabet 2013-08-24 06:38:34 UTC
On pc Debian x86-64 with master sources updated yesterday, I reproduced the problem.
Comment 4 QA Administrators 2015-04-01 14:40:31 UTC Comment hidden (obsolete)
Comment 5 Mike Kaganski 2015-04-02 09:03:13 UTC
Still REPRODUCIBLE with Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Locale: ru_RU
Comment 6 David Tardon 2015-12-31 13:03:19 UTC
Created attachment 121659 [details]
screenshot - VisioViewer
Comment 7 David Tardon 2015-12-31 13:03:39 UTC
Created attachment 121660 [details]
screenshot - LibreOffice
Comment 8 David Tardon 2015-12-31 13:04:12 UTC
Created attachment 121661 [details]
sample diagram
Comment 9 Fridrich Strba 2016-01-15 09:58:13 UTC
OK, the only solution there is to play manually with the line spacing. I see in Visio line spacing of 125% and I set the same in Draw. It grows then little by little out of place. I played manually with the spacing and set it to something like 115% and the result is suddenly much better. I cannot fix this because I have no idea how Visio computes the rendering exactly. This are subtle implementation problems that a document importer cannot handle :(