Bug 88908

Summary: .doc: text indented with spaces and checkboxes are not aligned
Product: LibreOffice Reporter: Török Edwin <edwin>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: jluth, vsfoote
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard: filter:ww8
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104527    
Attachments: http://rosenc.ro/wp-content/uploads/2015/01/chestionar-administratori-ESCO.doc
PDF how it is supposed to look like
spaceWidth2003.docx: docx simplified version - easy to see/change compat settings.

Description Török Edwin 2015-01-29 16:34:51 UTC
Created attachment 112920 [details]
http://rosenc.ro/wp-content/uploads/2015/01/chestionar-administratori-ESCO.doc

When opening the attached .doc file in LibreOffice the text and checkboxes are not aligned (they overlap), look at point 3 "Reparații curente", and "Termoizolații".
Apparently the text was indented using spaces (not very reliable). I tried installing the font used with ttf-mscorefonts-installer, but the alignment is still wrong.

See attached PDF on how it is supposed to look like.
Comment 1 Török Edwin 2015-01-29 16:35:17 UTC
Created attachment 112921 [details]
PDF how it is supposed to look like
Comment 2 Török Edwin 2015-01-29 16:36:23 UTC
Reproduced with:
Version: 4.4.0.3 Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7 Locale: en_US (.deb from documentfoundation.org)
Version: 4.3.3.2 Build ID: 430m0(Build:2) (.deb from Debian jessie)
Comment 3 V Stuart Foote 2015-01-29 20:34:44 UTC
Rather trivial to change Tab spacings and replace multiple spaces with TABs. But, OK this poorly structured document does have problems.
Comment 4 QA Administrators 2016-02-21 08:36:58 UTC Comment hidden (spam)
Comment 5 QA Administrators 2019-05-14 02:57:27 UTC Comment hidden (obsolete, spam)
Comment 6 Justin L 2020-06-16 08:36:36 UTC
This seems very strange to me. In Word, the "space" character is MUCH wider than it is in LO. How can that be?
Comment 7 Justin L 2020-06-16 08:41:41 UTC
Created attachment 162033 [details]
spaceWidth2003.docx: docx simplified version - easy to see/change compat settings.

The spacing width seems to be related to the compatibility setting <w:balanceSingleByteDoubleByteWidth/>
By toggling the compatibility option "Balance SBCS characters and DBCS characters", the width of the space changes significantly.
Comment 8 QA Administrators 2022-06-17 03:33:38 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2024-06-17 03:15:51 UTC Comment hidden (obsolete)
Comment 10 Török Edwin 2024-06-18 21:34:58 UTC
Issue still present on (renders differently from the PDF):

Version: 24.2.4.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 32; OS: Linux 6.9; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded