Bug 115276

Summary: RTF import: \expnd control word imports 25 times smaller than ought to
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: WriterAssignee: Mike Kaganski <mikekaganski>
Status: RESOLVED FIXED    
Severity: normal Keywords: filter:rtf
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:6.1.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 81234    
Attachments: Test file for \expnd control word

Description Mike Kaganski 2018-01-28 12:03:35 UTC
Created attachment 139405 [details]
Test file for \expnd control word

In the attached document, the text has character spacing set to 10 pt using \expnd control word (that takes values in quarter-points).

LibreOffice imports it with spacing 0.4 pt.
Comment 1 Mike Kaganski 2018-01-28 12:10:41 UTC
https://gerrit.libreoffice.org/48780
Comment 2 Commit Notification 2018-01-28 14:32:29 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=968084838e980b4152d88b95570c16ebad9d9b16

tdf#115276: multiply quarter-points by 5 (not divide) to convert to twips

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2018-01-28 20:09:55 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=21a15d5106bf081d3c896f9f1b01702b2c61d135

Unit test for tdf#105910, tdf#115276, tdf#115278

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.