LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-08-2005, 06:07 PM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Microsoft Fonts on Slackware: How?


Hi,

in order to produce portable documents I would like to use the free Microsoft fonts (unbelievable: "free" and "Microsoft" in one sentence...) in OpenOffice.org. On SuSE there's a command line tool called fetchmsttfonts (or so) that can be called from within YaST.

How can I make the freely downloadable Microsoft fonts available to OOo (and possibly X) on my Slackbox? And how do I download them (which URL, is there a script or tool that knows the paths, ...)?

Reason behind my problem: The fonts that come with the default install of OOo look different on Windows and Linux. (Don't ask me, why, this is something I just don't get, given that even some screen refresh bugs of OOo are ported to all supported platforms... but they didn't manage to deliver the same fonts).


Thanks!

gargamel
 
Old 04-08-2005, 06:59 PM   #2
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Microsoft terminated the free font download a long time ago.

You can get them from your XP CD or XP installation. The extension are tt_ and ttf.

Once you get them just cp them into your /usr/X11R6/lib/fonts/TTF, and then run fc-cache. Restart X. They should now be avialable in X. fc-list to check.
 
Old 04-08-2005, 07:03 PM   #3
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
The site that hosts the fonts - http://corefonts.sourceforge.net - gives instructions on how to build an RPM to install the fonts, etc. But that's complicated.

I did it by:

1) Go to the downloads section instead - http://prdownloads.sourceforge.net/corefonts/

Get *.exe and cabextract

2) Build cabextract

3) Use cabextract to open up the *.exe files (I also renamed the corresponding TTF files to all lowercase)

4) Copy the *.ttf files to /usr/X116/lib/fonts/TTF

(You could create a new directory instead, but then you have to add it to /etc/X11/xorg.conf)

5) As root, run fc-cache in /usr/X116/lib/fonts/TTF (I'm a little hazy on this step, but I think this is about right).

6) Enjoy your MS fonts!

Legal notes: Tahoma was bundled with IE, and bound by its license. To use Tahoma, you need IE. But IE requires Windows by its license, so the inference is to use Tahoma, you need a Windows license.
 
Old 04-08-2005, 07:23 PM   #4
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
If you use that link and the scripts then the fonts will be available to Xft and from the older X font server. In my xorg.conf file, I only list the misc font directory because I only want the bare minimium fonts to be rendered by the x font server because it basically sucks and is outdated. Everything else I let Xft take care of. It's config is in /etc/fonts which there shouldn't be a need to mess with it if you dump your ttf fonts into the ttf directory. Also the fc-cache can be run from anywhere becuase the directories are listed in the /etc/fonts/ config file.
 
Old 04-08-2005, 07:31 PM   #5
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Man, you guys make this hard. R)

Just go to the dropline site and download the webfonts.tgz and cabextract.tgz (or somesuch) files and install the tgz files.

Or head over to KDE-look.org and under fonts they have the MS Core Fonts. Install using KControl's font installer (assuming you use KDE).
 
Old 04-08-2005, 10:41 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
How is copy/pasting fonts into a folder and then updating the font cache hard?
 
Old 04-09-2005, 06:16 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Its probably quicker to copy and paste than downloading them, then having to install them using kfont installer.
 
Old 04-09-2005, 10:40 AM   #8
proglottis
LQ Newbie
 
Registered: Nov 2004
Location: NZ
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
The guide here worked perfectly for me when i was using both slack 10 and 10.1
 
Old 04-09-2005, 06:09 PM   #9
sporks
Member
 
Registered: Dec 2004
Location: Indonesia
Distribution: Slackware
Posts: 211

Rep: Reputation: 30
Quote:
Originally posted by reddazz
Its probably quicker to copy and paste than downloading them, then having to install them using kfont installer.
Quote:
The site that hosts the fonts - http://corefonts.sourceforge.net - gives instructions on how to build an RPM to install the fonts, etc. But that's complicated.

I did it by:

1) Go to the downloads section instead - http://prdownloads.sourceforge.net/corefonts/

Get *.exe and cabextract

2) Build cabextract

3) Use cabextract to open up the *.exe files (I also renamed the corresponding TTF files to all lowercase)

4) Copy the *.ttf files to /usr/X116/lib/fonts/TTF

(You could create a new directory instead, but then you have to add it to /etc/X11/xorg.conf)

5) As root, run fc-cache in /usr/X116/lib/fonts/TTF (I'm a little hazy on this step, but I think this is about right).

6) Enjoy your MS fonts!

That's quicker than downloading two packages and installpkg *tgz?
 
Old 04-09-2005, 11:23 PM   #10
dkpw
Member
 
Registered: Sep 2003
Location: Scotland
Distribution: LinuxMint16 & Ubuntu 12.0.4 LTS
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by sporks
Man, you guys make this hard. R)

Or head over to KDE-look.org and under fonts they have the MS Core Fonts. Install using KControl's font installer (assuming you use KDE).
Hi Sporks,

Thanks for this quick tip. I've now got the MS fonts installed and it took about 30 seconds. Much quicker than SuSE which always seemed to take an age to install the M$ fonts.

Regards.

dkpw
 
Old 04-10-2005, 02:10 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by sporks
That's quicker than downloading two packages and installpkg *tgz?
I was referring to copying and pasting them from a windows installation cd as was suggested in one of the posts above. I copied all mine a while ago from a windows XP machine onto a cd and everytime I need to install them on Linux, I just copy and paste them.
 
Old 04-10-2005, 05:10 AM   #12
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Original Poster
Rep: Reputation: 242Reputation: 242Reputation: 242
Thank you all guys! You really helped me, finally I can exchange OOo docs between platforms.

Thanks!

gargamel
 
  


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 Truetype Fonts ScottPowell SUSE / openSUSE 20 02-24-2005 09:51 AM
Distro with Microsoft Fonts??? signal99 Linux - Newbie 8 02-11-2005 06:09 PM
Microsoft ttf fonts freetype jferrando Debian 4 02-01-2005 04:04 AM
Microsoft fonts missing TazG Linux - General 16 09-22-2004 07:27 AM
copying microsoft fonts to mandrake bigjohn Linux - Software 1 04-12-2003 03:46 AM

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

All times are GMT -5. The time now is 11:19 PM.

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