Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/freetype with cleartype_hinting breaks WINE smoot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Sep 22, 2016 11:06 pm    Post subject: media-libs/freetype with cleartype_hinting breaks WINE smoot Reply with quote

Hi guys,


like written in the title - using media-libs/freetype (e.g. 2.7.0*) with the new cleartype_hinting ("tweaked" and mainlined infinality),

WINE fonts are suddenly ugly as it can get,


the usual settings do NOT work, e.g.:

http://www.wine-reviews.net/2009/03/how-to-enable-font-anti-aliasing-in.html


anyone uses WINE on a daily basis and feels offended by really ugly fonts and found the solution ?


Fonts in the displayed documents (e.g. PDF files in PDF-XChange Editor) are fine, but the fonts of the menu entries (and all the text in winecfg) are really ugly,

if there's no short-term solution I'm tempted to temporarily go back to freetype 2.6.3* or 2.6.5*


edit:

seems like it broke either with upgrade to latest freetype or WINE (wine-staging 1.9.17 [9999 ebuild] -> 1.9.19)

shows the same behavior with infinality enabled on freetype 2.7*
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1425
Location: United Kingdom

PostPosted: Fri Mar 03, 2017 3:30 am    Post subject: Reply with quote

Hi kernelOfTruth, did you find a solution to the problem?

My main laptop (Optimus hardware with nvidia-drivers, amd64) is at the repair shop so I am using my backup laptop (ATI GPU with ati-drivers, ~amd64) and the fonts in Windows applications running under WINE are awful. I changed USE="cleartype_hinting" to USE="-cleartype_hinting" which results in slightly more readable fonts in Windows applications, but they are still not great. This is what I've got at the moment:

Code:
fitzcarraldo@meshedgedx ~ $ eix -I freetype
[I] media-libs/freetype
     Available versions:  (2) 2.6.3-r1^d (~)2.6.5^d (~)2.7.1-r1^d **9999^d
       {X +adobe-cff bindist bzip2 (+)cleartype_hinting debug doc fontforge harfbuzz infinality png static-libs utils ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.7.1-r1(2)^d(03:14:00 03/03/17)(adobe-cff bzip2 fontforge harfbuzz png static-libs -X -bindist -cleartype_hinting -debug -doc -infinality -utils ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://www.freetype.org/
     Description:         A high-quality and portable font engine

Any suggestions?
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Mar 03, 2017 4:24 pm    Post subject: Reply with quote

@Fitzcarraldo

it seemed to have fixed itself,

I upgraded a few wine versions and after some point the font smoothing is working great again.

Sorry can't provide more information,

only that it didn't seem to occur on a different device:

I made a stage4 backup and extracted it on my laptop, naturally WINE directory has to be created anew for that (haswell -> ivybridge, whole system is built with ivybridge in mind),

and there the font smoothing worked even with the version I had assumed was broken.


So it must be something .config, .local or freetype itself that causes this


Code:
eix freetype
[I] media-libs/freetype
     Available versions:  (2) 2.5.5^d[1] 2.6.3-r1^d[1] 2.6.3-r1^d (~)2.6.3-r20160423^d[2] (~)2.6.5^d[1] (~)2.6.5^d (~)2.7-r1^d[1] (~)2.7.1-r1^d **9999^d
       {X abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64 abi_x86_32 abi_x86_64 abi_x86_x32 +adobe-cff auto-hinter bindist bzip2 (+)cleartype_hinting debug doc fontforge harfbuzz infinality png static-libs utils}
     Installed versions:  2.7.1-r1(2)^d(09:59:32 PM 02/22/2017)(X abi_x86_32 abi_x86_64 adobe-cff bzip2 harfbuzz infinality png utils -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_ppc_32 -abi_ppc_64 -abi_s390_32 -abi_s390_64 -abi_x86_x32 -bindist -cleartype_hinting -debug -doc -fontforge -static-libs)
     Homepage:            http://www.freetype.org/
     Description:         A high-quality and portable font engine

[1] "portage" /usr/gentoo/overlays
[2] "bobwya" /usr/gentoo/layman/bobwya

_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1425
Location: United Kingdom

PostPosted: Fri Mar 03, 2017 7:40 pm    Post subject: Reply with quote

Thanks for your reply. I have improved matters and now have the following configuration:

Code:
meshedgedx fitzcarraldo # eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   10-autohint.conf
  [2]   10-hinting-full.conf
  [3]   10-hinting-medium.conf
  [4]   10-hinting-none.conf
  [5]   10-hinting-slight.conf
  [6]   10-no-sub-pixel.conf
  [7]   10-scale-bitmap-fonts.conf
  [8]   10-sub-pixel-bgr.conf
  [9]   10-sub-pixel-rgb.conf
  [10]  10-sub-pixel-vbgr.conf
  [11]  10-sub-pixel-vrgb.conf
  [12]  10-unhinted.conf
  [13]  11-lcdfilter-default.conf
  [14]  11-lcdfilter-legacy.conf
  [15]  11-lcdfilter-light.conf
  [16]  20-unhint-small-dejavu-sans.conf
  [17]  20-unhint-small-dejavu-sans-mono.conf
  [18]  20-unhint-small-dejavu-serif.conf
  [19]  20-unhint-small-vera.conf
  [20]  25-unhint-nonlatin.conf
  [21]  30-metric-aliases.conf
  [22]  30-urw-aliases.conf
  [23]  40-nonlatin.conf
  [24]  45-latin.conf
  [25]  49-sansserif.conf
  [26]  50-user.conf
  [27]  51-local.conf
  [28]  52-infinality.conf *
  [29]  57-dejavu-sans.conf
  [30]  57-dejavu-sans-mono.conf
  [31]  57-dejavu-serif.conf
  [32]  60-latin.conf
  [33]  60-liberation.conf
  [34]  62-croscore-arimo.conf
  [35]  62-croscore-cousine.conf
  [36]  62-croscore-symbolneu.conf
  [37]  62-croscore-tinos.conf
  [38]  65-culmus.conf
  [39]  65-fonts-persian.conf
  [40]  65-khmer.conf
  [41]  65-nonlatin.conf
  [42]  69-unifont.conf
  [43]  70-no-bitmaps.conf
  [44]  70-yes-bitmaps.conf
  [45]  80-delicious.conf
  [46]  90-synthetic.conf
  [47]  99pdftoopvp.conf

Code:
meshedgedx fitzcarraldo # eselect infinality list
Available styles:
  [1]   debug
  [2]   infinality *
  [3]   linux
  [4]   nyx
  [5]   osx
  [6]   osx2
  [7]   win7
  [8]   win98
  [9]   winxp

Code:
meshedgedx fitzcarraldo # eselect lcdfilter list
Available styles:
  [1]   custom
  [2]   default
  [3]   infinality *
  [4]   infinality-classic
  [5]   infinality-nudge
  [6]   infinality-push
  [7]   infinality-sharpened
  [8]   infinality-shove
  [9]   ipad
  [10]  linux
  [11]  nyx
  [12]  osx
  [13]  ubuntu
  [14]  vanilla
  [15]  windows-7
  [16]  windows-7-light
  [17]  windows-xp
  [18]  windows-xp-light

Code:
meshedgedx fitzcarraldo # eix -I freetype
[I] media-libs/freetype
     Available versions:  (2) 2.6.3-r1^d (~)2.6.5^d (~)2.7.1-r1^d **9999^d
       {X +adobe-cff bindist bzip2 (+)cleartype_hinting debug doc fontforge harfbuzz infinality png static-libs utils ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.7.1-r1(2)^d(18:07:36 03/03/17)(X adobe-cff bzip2 harfbuzz infinality png static-libs utils -bindist -cleartype_hinting -debug -doc -fontforge ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://www.freetype.org/
     Description:         A high-quality and portable font engine


The fonts in Windows applications have improved considerably. They are still not as sharp as on my other laptop, but at least they are not painful to the eyes any more.
_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum