Hi all, I'm just getting into Wine. I'm using 20020411 which I know is pretty old, but it's part of Debian stable, and I don't want to upgrade unless I have to. I just tried to install some truetype fonts, and wine will now not load anything: antgel@brain:~$ wine /cdrom/SETUP.EXE 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 Building font metrics. This may take some time... fixme:font:LFD_InitFontInfo font '-microsoft-verdana-bold-i-normal--0-0-0-0-p-0-tcvn-5712' has unknown character encoding '5712' in known registry 'tcvn' fixme:font:LFD_InitFontInfo font '-microsoft-verdana-bold-r-normal--0-0-0-0-p-0-tcvn-5712' has unknown character encoding '5712' in known registry 'tcvn' fixme:font:LFD_InitFontInfo font '-microsoft-verdana-medium-i-normal--0-0-0-0-p-0-tcvn-5712' has unknown character encoding '5712' in known registry 'tcvn' fixme:font:LFD_InitFontInfo font '-microsoft-verdana-medium-r-normal--0-0-0-0-p-0-tcvn-5712' has unknown character encoding '5712' in known registry 'tcvn' X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 45 (X_OpenFont) Value in failed request: 0x2c000aa Serial number of failed request: 671 Current serial number in output stream: 672 Wine failed with return code 1 So, in an attempt to "bypass" the problem, I moved all my verdana*.ttf files out of /usr/share/fonts/truetype, and re-ran mkfontdir. antgel@brain:~$ wine /cdrom/SETUP.EXE 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 Building font metrics. This may take some time... X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 45 (X_OpenFont) Value in failed request: 0x2c00075 Serial number of failed request: 512 Current serial number in output stream: 513 Wine failed with return code 1 antgel@brain:~$ Can anyone give me a hand in debugging this? I'm running XF864.3, freetype 2.0.9, everything else standard Woody. Antony PS Don't know why wine reports that it can't find freetype - not sure if that is relevant though.
On Monday 21 July 2003 21:08, Antony Gelberg wrote:> Hi all, > > I'm just getting into Wine. I'm using 20020411 which I know is pretty > old, but it's part of Debian stable, and I don't want to upgrade unless > I have to. > > I just tried to install some truetype fonts, and wine will now not load > anything: > antgel@brain:~$ wine /cdrom/SETUP.EXE > 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.I'm not running woody, but in my system the freetype libs are under /usr/lib, and I had to create the links myself: alex@tux:~$ ls -l /usr/lib/libfreetype.* -rw-r--r-- 1 387180 Jun 8 01:49 /usr/lib/libfreetype.a -rw-r--r-- 1 732 Jun 8 01:49 /usr/lib/libfreetype.la lrwxrwxrwx 20 Jun 12 23:18 /usr/lib/libfreetype.so -> libfreetype.so.6.3.3 lrwxrwxrwx 20 Jun 12 23:18 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.3.3 -rw-r--r-- 316344 Jun 8 01:49 /usr/lib/libfreetype.so.6.3.3 If you don't have the links, that should be the issue. -A -- http://andrew.cmu.edu/~apapadop/pub_key.asc 3DAD 8435 DB52 F17B 640F D78C 8260 0CC1 0B75 8265 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: signature Url : http://www.winehq.org/pipermail/wine-users/attachments/20030721/3b93250c/attachment.pgp
On Mon, Jul 21, 2003 at 09:21:03PM -0400, Alexandros Papadopoulos wrote: Content-Description: signed data> On Monday 21 July 2003 21:08, Antony Gelberg wrote: > > Hi all, > > > > I'm just getting into Wine. I'm using 20020411 which I know is pretty > > old, but it's part of Debian stable, and I don't want to upgrade unless > > I have to. > > > > I just tried to install some truetype fonts, and wine will now not load > > anything: > > antgel@brain:~$ wine /cdrom/SETUP.EXE > > 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. > > I'm not running woody, but in my system the freetype libs are under /usr/lib, > and I had to create the links myself: > > alex@tux:~$ ls -l /usr/lib/libfreetype.* > -rw-r--r-- 1 387180 Jun 8 01:49 /usr/lib/libfreetype.a > -rw-r--r-- 1 732 Jun 8 01:49 /usr/lib/libfreetype.la > lrwxrwxrwx 20 Jun 12 23:18 /usr/lib/libfreetype.so -> libfreetype.so.6.3.3 > lrwxrwxrwx 20 Jun 12 23:18 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.3.3 > -rw-r--r-- 316344 Jun 8 01:49 /usr/lib/libfreetype.so.6.3.3 > > If you don't have the links, that should be the issue. > > -A > -- > http://andrew.cmu.edu/~apapadop/pub_key.asc > 3DAD 8435 DB52 F17B 640F D78C 8260 0CC1 0B75 8265Thanks Andrew, that helped - the "cannot find Freetype" message has gone now. But I'm still getting the errors below that, which stop wine from loading. Without wanting to get too off-topic, I'm running xft2. Out of interest, does this mean that the FontPath in XF86Config-4 and the dir lines in XftConfig are now obsolete, replaced by fonts.conf? Antony