Menu

#2880 xft detection script should directly link with freetype

open
5
2011-02-17
2011-02-17
Yarda
No

The xft detection script should directly link with the freetype, otherwise the xft is not detected on systems with disabled indirect linking (e.g. Fedora). This bug originates from: https://bugzilla.redhat.com/show_bug.cgi?id=677692

Discussion

  • Yarda

    Yarda - 2011-02-17
     
  • Sergei Golovan

    Sergei Golovan - 2011-03-03

    This bug is revealed on Debian sid also (where xft-config script was removed recently, so the Tk library is not linked to libfontconfig and libfreetype anymore). Though the attached patch seems to be incomplete, because libtk uses some fontconfig symbols, so fontconfig should be added to the pkg-config call.

    Also, libtk doesn't use freetype directly, so I wouldn't add freetype2 to pkg-config call, but replaced checking for FT_New_Face by something alse (e.g. XftFontOpen).

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.