Wine cannot find the FreeType font library.

Questions about Wine on Linux
Locked
lnx64
Newbie
Newbie
Posts: 3
Joined: Tue Nov 08, 2016 3:25 am

Wine cannot find the FreeType font library.

Post by lnx64 »

Ubuntu 16.04 LTS 64-bit
All packages currently up to date as far as I can without going to 16.10 (I can't do a distro update as I am a first responder and my radio gear will not work on 16.10 as of yet).
Laptop is currently configured the same, yet it seems to work just fine, so I'm not sure what's causing this.

When trying to open simply Notepad, I am given the following error:

Code: Select all

brandon@BrandonsDesktop:~$ wine notepad
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.
http://www.freetype.org
The window opens, but the menu bar is blank and no letters type out, in fact doing that brings up an invisible Program Error box that has to be closed by the task bar.

What I have done to attempt to remedy this:
Purged Wine, libfreetype6, ttf-mscorefonts
Then did the following:
rm -rf $HOME/.wine
rm -f $HOME/.config/menus/applications-merged/wine*
rm -rf $HOME/.local/share/applications/wine
rm -f $HOME/.local/share/desktop-directories/wine*
rm -f $HOME/.local/share/icons/????_*.xpm

I then reinstalled WINE, but the same issue ocurrs. I'm not even sure why it's doing this? The only configuration difference between this computer and the laptop, is that this computer has 3 monitors.

Any help is greatly appreciated. Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine cannot find the FreeType font library.

Post by dimesio »

You are probably missing 32 bit libfreetype6.
lnx64
Newbie
Newbie
Posts: 3
Joined: Tue Nov 08, 2016 3:25 am

Re: Wine cannot find the FreeType font library.

Post by lnx64 »

dimesio wrote:You are probably missing 32 bit libfreetype6.
That's what I was thinking, but it's there.

Code: Select all

brandon@BrandonsDesktop:~$ dpkg -l "*freetype*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
un  libfont-freetype-perl           <none>               <none>               (no description available)
ii  libfreetype6:amd64              2.6.1-0.1ubuntu2     amd64                FreeType 2 font engine, shared library files
ii  libfreetype6:i386               2.6.1-0.1ubuntu2     i386                 FreeType 2 font engine, shared library files
I have even reinstalled those packages, and it still insists it's not there. I just tried btw using wine-staging using the Winhq ppa, rather than Ubuntus older copy, but it's the same exact error.
lnx64
Newbie
Newbie
Posts: 3
Joined: Tue Nov 08, 2016 3:25 am

Re: Wine cannot find the FreeType font library.

Post by lnx64 »

Looks like I was able to fix this by completely purging the i386 freetype, and reinstalling it.

For whatever reason, even though it was already installed, it wasn't budging.
Locked