[Bug 41758] New: wine can' t load freetype if the latter is built with harfbuzz support

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 21 17:34:44 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41758

            Bug ID: 41758
           Summary: wine can't load freetype if the latter is built with
                    harfbuzz support
           Product: Wine
           Version: 1.9.23
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdi32
          Assignee: wine-bugs at winehq.org
          Reporter: bero at lindev.ch
      Distribution: ---

Created attachment 56202
  --> https://bugs.winehq.org/attachment.cgi?id=56202
Proposed workaround

If freetype (tried freetype 2.7, wine 1.9.23; probably also valid for other
versions) is built with harfbuzz support, wine complains about:

Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.

Adding some debug statements, it turns out that wine_dlopen fails not because
the library isn't there, but because dlopen barfs because it can't resolve
hb_ft_font_create in libfreetype.so.6. (Same for libfontconfig.so.1).

A fix (workaround?) is to use RTLD_LAZY instead of RTLD_NOW when dlopening
freetype and fontconfig -- seems to work well after that.

Patch relative to wine-staging 1.9.23 attached.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list