Bug 107446 - Pitch between Latin characters missed comparing to MS Word
Summary: Pitch between Latin characters missed comparing to MS Word
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
 
Reported: 2017-04-26 12:52 UTC by Mark Hung
Modified: 2017-07-07 01:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (23.50 KB, application/msword)
2017-04-26 12:52 UTC, Mark Hung
Details
Screenshot of MS Word (3.07 KB, image/png)
2017-04-26 12:53 UTC, Mark Hung
Details
Screenshot of Writer (34.81 KB, image/png)
2017-04-26 12:54 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2017-04-26 12:52:29 UTC
Created attachment 132862 [details]
Sample document

With text grid enabled ( lines and chars and do not snap to char ), Word display Latin characters with pitch that is half of the one between CJK characters. The formatting behavior was partially implemented in the code [1][2] so I believe this was intended.

https://cgit.freedesktop.org/libreoffice/core/tree/sw/source/core/txtnode/fntcache.cxx?h=libreoffice-5-3-3#n91
https://cgit.freedesktop.org/libreoffice/core/tree/sw/source/core/txtnode/fntcache.cxx?h=libreoffice-5-3-3#n1035
Comment 1 Mark Hung 2017-04-26 12:53:07 UTC
Created attachment 132863 [details]
Screenshot of MS Word
Comment 2 Mark Hung 2017-04-26 12:54:10 UTC
Created attachment 132864 [details]
Screenshot of Writer

Version: 5.3.1.2
Build ID: e80a0e0fd1875e1696614d24c32df0f95f03deb2
CPU Threads: 8; OS Version: Windows 6.2; UI Render: default; Layout Engine: new; 
Locale: zh-TW (zh_TW); Calc: single
Comment 3 Xisco Faulí 2017-04-27 16:48:12 UTC
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: 7c11fe076005ed4e28f04f14990b7011a03a4517
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 4 Mark Hung 2017-07-03 16:14:34 UTC
This has been fixed in the following commit:

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

tdf#107362 don't insert kern if snap to char is not checked.

And is available in 5.4.0.