LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2004, 04:51 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Installing Microsoft's TrueType core fonts in Slackware


Okay, so I'm trying to install WineX's CVS, since I'm cheap. I figure out how to use regapi and fix the regestry problems since they didn't get solved when I installed WineX. Now, however, whenever I try to run an autorun program from CD's or the install program, it complains:
Code:
rob@4300:/mnt/cdrom2$ wine autorun.exe
err:font:Fontconfig_Init Fontconfig support was not compiled in at compile time.err:font:ReadFontDir Can't open directory "/home/wine/c/windows/Fonts"
err:font:FTAlias_FindBestBuiltins Could not create alias for serif fonts
Unable to find a sufficient number of fonts available to FreeType.
        FreeType will not be loaded as a result.
FreeType could not be loaded.
        This is not necessarily a fatal error, however some
        applications require FreeType to be installed and
        may not function or display text correctly otherwise.
        Please consult the WineX Font FAQ for more details
        about this problem
So I find this page: ttp://www.linux-gamers.net/modules/newbb/viewtopic.php?topic_id=601&forum=10
and that page tells me to install Microsoft's TrueType core fonts from this page:
http://corefonts.sourceforge.net/

The only problem right now, is that when I try to issue the command
Code:
rpmbuild -bb msttcorefonts-1.3-4.spec
I get this error:
[code]
rob@4300:~$ rpmbuild -bb msttcorefonts-1.3-4.spec
error: Failed build dependencies:
/usr/bin/ttmkfdir is needed by msttcorefonts-1.3-4
wget is needed by msttcorefonts-1.3-4
cabextract is needed by msttcorefonts-1.3-4
Code:
when I use whereis for wget I get:
[code[
rob@4300:~$ whereis wget
wget: /usr/bin/wget /usr/man/man1/wget.1.gz /usr/share/man/man1/wget.1.gz
and whereis cabextract gives me this:

Code:
rob@4300:~$ whereis cabextract
cabextract: /usr/bin/cabextract /usr/man/man1/cabextract.1.gz /usr/share/man/man1/cabextract.1.gz
Any help? I'd really like to get the CVS version of WineX working. I had Wine working before, compiled from source, and it wasn't this big of a hassle to get going, and it even included things like Notepad and the like! If anyone could help me out, it'd be greatly appreciated.
 
Old 08-13-2004, 05:27 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Slackware isn't rpm based, so things like cabextract aren't in rpm database that's in slackware.
From the page you posted: "If you don't have a rpm based distribution, you can compile the tool to extract the .ttf files from the .exe files, cabextract from source, found here" Here takes to: http://www.kyz.uklinux.net/cabextract.php3

So if you already have cabextract skip that step. Tell rpm to ignore dependencies (i don't remember the option right now).

I was looking at the .spec file, you probably don't even have to make it using rpm, you can look at it and see what it does, it's not difficult.

Last edited by gbonvehi; 08-13-2004 at 05:31 PM.
 
Old 08-13-2004, 05:29 PM   #3
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
did you try rpmbuild with --nodeps switch ?
 
Old 08-13-2004, 05:43 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
All I had to do was install them like normal fonts, after I decompressed them with cabextract.

For example.. Extract them and put all of them in ~/.fonts/ms/
Then run

mkfontdir .
mkfontscale .
fc-cache -vv .
from within that directory.

--Shade
 
Old 09-12-2004, 06:54 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by Shade
All I had to do was install them like normal fonts, after I decompressed them with cabextract.

For example.. Extract them and put all of them in ~/.fonts/ms/
Then run

mkfontdir .
mkfontscale .
fc-cache -vv .
from within that directory.

--Shade
Okay, that works for a per-user basis, but is there a way to install them in a system-wide way? I don't want to have to do that for all of the family members (I made an account for each one of them)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Core TrueType Fonts for SUSE 10? vharishankar SUSE / openSUSE 4 11-02-2005 08:30 PM
Installing TrueType fonts in Fedora 3 swcng2001 Fedora 2 03-05-2005 07:35 PM
(RedHat 9) Installing TrueType Fonts sbrewer Linux - Software 4 08-16-2004 02:08 PM
Truetype fonts wonderpun Linux - Software 2 10-09-2002 11:47 AM
TrueType Fonts under X B_Balazs Linux - Newbie 1 07-25-2001 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration