Description: Please have a look at the attached writer screenshots. You can see that for some fonts the space to the left of the letter "Ü" is too wide. Please note that this bug happens with *all* LibreOffice apps. I have attached a screenshot from Writer. The screenshot is taken with Ubuntu but I see the same bug under Windows 10. Version: 6.0.3.2 Build-ID: 8f48d515416608e3a835360314dac7e47fd0b821 CPU-Threads: 8; BS: Linux 4.4; UI-Render: Standard; VCL: gtk2; Gebietsschema: de-DE (de_DE.UTF-8); Calc: group Steps to Reproduce: . Actual Results: . Expected Results: . Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 142783 [details] Kerning.png
Created attachment 142785 [details] Kerning.odt (sample file)
There are also kerning issues with DejaVu Sans: Ü b e rn a c h t u n g
Correction: Ü b e rna c h t u n g
The font metric for the U+00dc Ü glyph is narrower than the glyph for U+0041 A; there is no "kerning" involved--other than the "gl" preceeding it, but don't think that was the question. The A is wider at that base than the Ü glyph, so they don't align on the left edge. That will differ with each font as they are designed.
In MS Office the letters look perfectly aligned. I will add a screenshot soon.
There is no bug here. Liberation Sans (and likely Arial too as they are metrics compatible) has negative kerning between the space and A glyph but not between it and Ü glyph, drawing the A closer to the space. MS Office defaults to kerning being off by default, while LibreOffice defaults to it being on by default, changing the default on either program should give you similar rendering in both.
(In reply to Khaled Hosny from comment #7) > MS Office > defaults to kerning being off by default, while LibreOffice defaults to it > being on by default... Do we have an option for that?
(In reply to Heiko Tietze from comment #8) > (In reply to Khaled Hosny from comment #7) > > MS Office > > defaults to kerning being off by default, while LibreOffice defaults to it > > being on by default... > > Do we have an option for that? Yes, in the character formatting tab IIRC.
(In reply to Khaled Hosny from comment #9) > > Do we have an option for that? > > Yes, in the character formatting tab IIRC. You mean Character... > Position > [ ] Pair kerning? No effect when off, testing with "Lorem Apsum <#13> Lorem Üpsum" and DejaVu Serif. (Alignment is perfect when using DejaVu Sans.) Version: 6.0.4.2 Build ID: 6.0.4-2 CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group
@Khaled: Thanks your your explanation. I can can confirm that in Writer the type face improves for Arial if I turn off kerning the character formatting tab. However it looks like I have found a related bug in Calc (where I first found such problems). - Please open the attached "Kerning_Calc.ods" - Note: You can see that the type face (centered positions of A and Ü in lines one upon the other) is identical bad for both cases, kerning turned on and off. - Now select cell A2 and and press F2 (in order to enter edit mode) - Note: After now the letter A is centered perfectly in relation to the Ü. - Press ESC in order to leave the edit mode. - Note: A and Ü are no longer "centered" - If you try the same with cell A4 (instead of A2) you will see that also in edit mode the letters are not centered. Conclusion: Kerning "off" is only applied in cell edit mode.
Created attachment 142818 [details] Kerning_Calc.ods
Created attachment 142819 [details] Kerning_Calc.png
(In reply to OfficeUser from comment #11) > @Khaled: > > Thanks your your explanation. I can can confirm that in Writer the type face > improves for Arial if I turn off kerning the character formatting tab. > > However it looks like I have found a related bug in Calc (where I first > found such problems). > > - Please open the attached "Kerning_Calc.ods" > > - Note: You can see that the type face (centered positions of A and Ü in > lines one upon the other) is identical bad for both cases, kerning turned on > and off. > > - Now select cell A2 and and press F2 (in order to enter edit mode) > > - Note: After now the letter A is centered perfectly in relation to the Ü. > > - Press ESC in order to leave the edit mode. > > - Note: A and Ü are no longer "centered" > > - If you try the same with cell A4 (instead of A2) you will see that also in > edit mode the letters are not centered. > > > Conclusion: > Kerning "off" is only applied in cell edit mode. Please open a new issue. Casually repurposing a closed issue for a completely different bug is not terribly a good idea.
I have filed Bug 118221 and put the same people on CC List. I hope this is ok.