Bug 114791 - Windows-Font "Tahoma" as menu font has wrong kerning in Libreoffice (hinting issue see comment 9)
Summary: Windows-Font "Tahoma" as menu font has wrong kerning in Libreoffice (hinting ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2018-01-01 11:20 UTC by andreas.franz
Modified: 2022-08-22 23:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Menu with SegUI-Standard-font (7.36 KB, image/png)
2018-01-01 11:22 UTC, andreas.franz
Details
Menu with Tahoma-font (8.73 KB, image/png)
2018-01-01 11:24 UTC, andreas.franz
Details
Open menu with Tahoma (20.80 KB, image/png)
2018-01-01 11:26 UTC, andreas.franz
Details
Different fonts with 9px (2.06 KB, image/png)
2018-01-02 14:32 UTC, andreas.franz
Details
Different fonts with 10px (2.12 KB, image/png)
2018-01-02 14:33 UTC, andreas.franz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andreas.franz 2018-01-01 11:20:00 UTC
Description:
If changed my system-menu-font in Windows 10 to "Tahoma". This font makes wrong font-kerning in all Libreoffice-application.
Latest working Version was 5.2.7. Now I´m on 5.3.7.2

Steps to Reproduce:
1. change your system-menu-font to Tahoma 
2. start Libreoffice eg. Writer


Actual Results:  
wrong font-kerning 

Expected Results:
same look as 5.2.7


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 andreas.franz 2018-01-01 11:22:08 UTC
Created attachment 138785 [details]
Menu with SegUI-Standard-font
Comment 2 andreas.franz 2018-01-01 11:24:31 UTC
Created attachment 138786 [details]
Menu with Tahoma-font
Comment 3 andreas.franz 2018-01-01 11:26:23 UTC
Created attachment 138787 [details]
Open menu with Tahoma
Comment 4 andreas.franz 2018-01-01 11:32:25 UTC
First sentence should be:
I´ve changed my system-menu-font to "Tahoma" ...
Comment 5 V Stuart Foote 2018-01-01 20:01:02 UTC
Hmm, changing Windows 10 system font requires a registry modification [1] so not a common practice; however the issue can be visualized using LO's font replacement table mechanism: Tools -> Options -> Fonts: "Apply replacement table" checkbox and setting Tahoma as a replacement (Always) for Segoe UI.

IHMO believe the issue is with Tahoma's font metrics, for example doing the same with Arial, or Source Sans, or Noto Sans is clean. Lucida Sans shows some horizontal compression--but not as noticeable as Tahoma--to me this is a bad font metrics issue and Not Our Bug (NOB).

Khaled?

=-ref-=
https://www.windowscentral.com/how-change-default-system-font-windows-10
Comment 6 andreas.franz 2018-01-02 14:32:58 UTC
Created attachment 138806 [details]
Different fonts with 9px
Comment 7 andreas.franz 2018-01-02 14:33:18 UTC
Created attachment 138807 [details]
Different fonts with 10px
Comment 8 andreas.franz 2018-01-02 14:37:22 UTC
It seems, that Tahoma in Libreoffice looks ugly, when it´s size is 9px. If you switch to 10px, it looks normal. Maybe a rounding issue?

System-Font-changing is not a big thing - Windows 7 has preferences for that task,
in Windows 10 you can use this simple tool:

https://www.wintools.info/index.php/advanced-system-font-changer-font-settings

regards,

Andy
Comment 9 ⁨خالد حسني⁩ 2018-01-03 04:57:11 UTC
Tahoma is an old font designed for aliased rendering, so it probably does strong hinting that affects glyph advance width, but we always use the unhinted glyph advances.

We probably need away to tell if we are rendering text for UI or content and use hinted or unhinted advances accordingly (for content we always want to use unhinted advances so that document does not reflow based on hinting settings or screen resolution). I don’t know how easy to do this, though.
Comment 10 QA Administrators 2019-01-04 03:39:52 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2021-01-04 04:05:27 UTC Comment hidden (obsolete)
Comment 12 andreas.franz 2021-01-04 12:10:56 UTC
Bug still exists (by design?).

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded

regards, Andy