Bug 1479297

Summary: Tahoma font rendering broken after upgrade from 25 to 26
Product: [Fedora] Fedora Reporter: Mark <rh-bugzilla>
Component: wineAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: andreas.bierfert, besser82, mike, stefan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 15:06:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Broken Rendering none

Description Mark 2017-08-08 09:59:01 UTC
Created attachment 1310501 [details]
Broken Rendering

Description of problem:

Since I upgraded from Fedora 25 to 26, the rendering of the Tahoma font as used by wine is broken. Usually, the embedded bitmaps are used to provide a perfect rendering, but now it seems that anti-aliasing is disabled and the embedded bitmaps are ignored. See attachment what it currently looks like - definitely not what you'd expect and very annoying when using Windows-applications under Wine.

Version-Release number of selected component (if applicable):

Not sure as it might be related to the font, freetype or any other font-renderer involved

How reproducible:

Steps to Reproduce:
1. Install wine
2. Run "wine regedit"
3. Observe Font

Actual results:

Ugly rendering as in the attachment

Expected results:

Perfect rendering as in http://www.onecomputerguy.com/images/regedit1.gif

Additional info:

Comment 1 Michael Cronenworth 2017-08-08 13:46:59 UTC
I cannot reproduce the issue.

Can you try with a fresh wine prefix and report if it still renders the same?

WINEPREFIX=~/wine-test regedit

Comment 2 Mark 2017-08-08 13:52:38 UTC
Yes, absolutely identical

Comment 3 Mark 2017-08-08 14:05:35 UTC
UPDATE: when I remove msttcorefonts, it renders as beautiful as ever.

Maybe something changed in the order in which the font dirs are used?

Comment 4 Michael Cronenworth 2017-08-08 15:06:03 UTC
The msttcorefonts package is not a Fedora package so I cannot say. If I had to guess the msttcorefonts no longer render well with freetype.

FYI: We also ship a (optional) Tahoma system font in a package: wine-tahoma-fonts-system

Comment 5 Michael Cronenworth 2017-08-10 14:20:10 UTC
You should check out bug 1470509 to see if it relates to your issue.

"If you prefer the older hinting engine, you can select it by setting environment variable "FREETYPE_PROPERTIES" to "truetype:interpreter-version=35" "

Comment 6 Mark 2017-08-18 15:54:34 UTC
Yes, that's the solution. It's probably, because the fonts shipped with wine have good hinting for the newer engine, but I prefer using the original MS fonts with freetype-world. Excellent, thanks for the solution!