Download it now!
Bug 115276 - RTF import: \expnd control word imports 25 times smaller than ought to
Summary: RTF import: \expnd control word imports 25 times smaller than ought to
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:6.1.0
Keywords: filter:rtf
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2018-01-28 12:03 UTC by Mike Kaganski
Modified: 2018-01-30 05:59 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Test file for \expnd control word (32 bytes, application/rtf)
2018-01-28 12:03 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
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.