Bug 73370

Summary: Spacing of words containing ligatures break up - regression?
Product: LibreOffice Reporter: Zoltan Laszlo <zrlaszlo>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: 4.1.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: The test line, with 8 different features
Singhala smartfont with 90% ligatures.

Description Zoltan Laszlo 2014-01-07 19:16:44 UTC
Problem description: When formatting words containing ligatures with the Linux Libertine G font and any style other than normal, ligatures shift to the left or right touching or overlapping the neighboring characters.

Steps to reproduce:
1. Open a Writer document
2. Type any word containing ligatures such as ffi, fj, gy, fi, etc. Ligatures should be preceded by at least one character! Sample text: "afia maffia ifja shaggy agy"
3. Format the text with the Linux Libertine G font. Change style to italic, bold or bold italic. See what happens.

Current behavior: changing the font style to italic, bold or bold italic will break up the even spacing of characters inside a word - it will move the ligature horizontally to the left or right related to their expected position.

Expected behavior: ligatures should not affect horizontal character spacing inside a word at all, regardless of their style. It worked before (no such problems since 3.4.0 until now), so I consider it a REGRESSION. Linux Libertine is one of the best looking fonts shipped with LibO having the most OpenType and Graphite features much needed in many environments, therefore severity is at least normal or more than that.
Comment 1 Dominique Boutry 2014-01-15 10:52:44 UTC
Created attachment 92130 [details]
The test line, with 8 different features

4 lines with standard spacing, 4 with expanded (2 pt) spacing

As far as I correctly interpret the attached picture, not reproduced with LibO 4.2.0.1 rc1 on Win7.
Comment 2 JC Ahangama 2014-05-10 01:51:51 UTC
Created attachment 98798 [details]
Singhala smartfont with 90% ligatures.

This font makes it easier to discover ligature problems becuase it has something like 2400 ligatures.
Comment 3 JC Ahangama 2014-05-10 01:59:27 UTC
Please copy a paragraph from the web site, http://lovatasinhala.com/ and place it inside Writer and format it with the attached font. The errors would become obvious comparing the web page and the Writer doc.
Thanks
Comment 4 Jay Philips 2014-05-27 08:37:55 UTC
Tested on Linux Mint with 4.2.4 and 4.3 beta and wasnt able to reproduce it with both examples. If it is still there, please provide a file that can be tested against.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.