LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2009, 04:43 AM   #1
marco@slack
LQ Newbie
 
Registered: Jun 2009
Location: Bergamo (Italy)
Distribution: Slackware Linux
Posts: 6

Rep: Reputation: 0
How to get MS fonts installed on /usr/share/fonts ?




I copied my /usr/share/fonts/msttcorefonts from my Debian partition in my Slackware one, making a new /usr/share/fonts/msttcorefonts.

Then I do as root

mkfontdir
mkfontscale

(and new font.dir and font.scale appeared in /usr/share/fonts/msttcorefonts)

Than

fc-cache -v -r /usr/share/fonts/*

fc-list don't display any new font

However fc-cache finded new fonts in /usr/share/fonts/msttcorefonts

*********

Than I try to copy palatino linotype pala*.ttf in /usr/share/fonts/TTF and always works..

*********

My question is : How can i get MS fonts installed into a separated directory, as msttcorefonts? I don't like to put all ttf in TTF directory, I want to held MS font in its own directory..

I hope my question is clear, and thanks in advance for all answers!

#######


now i copied all .ttf fonts into the TTF directory, and so i partially solved the problem, but i prefer to keep this fonts in a separated directory, i think it's better! if anyone has some idea about how fontconfig works please help me solving this thread! bye marco

Last edited by marco@slack; 06-25-2009 at 12:56 PM.
 
Old 06-25-2009, 09:44 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Why not do it the easy way? Why make it so complicated?

apt-get install ttf-mscorefonts-installer

Or just use ttf-liberation
ttf-liberation contains free variants of the Times,
Arial and Courier fonts. It's better to use those instead unless you
specifically need one of the other fonts from this package.
 
Old 06-26-2009, 11:54 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,270

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
*
My first try would be as simple as :

# cp <fonts> /usr/share/fonts/

Usually no fonts there. ( But some folders.)

.....
 
Old 06-27-2009, 06:59 AM   #4
marco@slack
LQ Newbie
 
Registered: Jun 2009
Location: Bergamo (Italy)
Distribution: Slackware Linux
Posts: 6

Original Poster
Rep: Reputation: 0


okay folks! I solved, just coping all .ttf fonts in /usr/share/fonts/TTF.

This is what i've done!

root@darkstar:/usr/share/fonts# cp -v msttcorefonts/*.ttf TTF/
`msttcorefonts/Andale_Mono.ttf' -> `TTF/Andale_Mono.ttf'
`msttcorefonts/Arial.ttf' -> `TTF/Arial.ttf'
`msttcorefonts/Arial_Black.ttf' -> `TTF/Arial_Black.ttf'
`msttcorefonts/Arial_Bold.ttf' -> `TTF/Arial_Bold.ttf'
`msttcorefonts/Arial_Bold_Italic.ttf' -> `TTF/Arial_Bold_Italic.ttf'
`msttcorefonts/Arial_Italic.ttf' -> `TTF/Arial_Italic.ttf'
`msttcorefonts/Comic_Sans_MS.ttf' -> `TTF/Comic_Sans_MS.ttf'
`msttcorefonts/Comic_Sans_MS_Bold.ttf' -> `TTF/Comic_Sans_MS_Bold.ttf'
`msttcorefonts/Courier_New.ttf' -> `TTF/Courier_New.ttf'
`msttcorefonts/Courier_New_Bold.ttf' -> `TTF/Courier_New_Bold.ttf'
`msttcorefonts/Courier_New_Bold_Italic.ttf' -> `TTF/Courier_New_Bold_Italic.ttf'
`msttcorefonts/Courier_New_Italic.ttf' -> `TTF/Courier_New_Italic.ttf'
`msttcorefonts/Georgia.ttf' -> `TTF/Georgia.ttf'
`msttcorefonts/Georgia_Bold.ttf' -> `TTF/Georgia_Bold.ttf'
`msttcorefonts/Georgia_Bold_Italic.ttf' -> `TTF/Georgia_Bold_Italic.ttf'
`msttcorefonts/Georgia_Italic.ttf' -> `TTF/Georgia_Italic.ttf'
`msttcorefonts/Impact.ttf' -> `TTF/Impact.ttf'
`msttcorefonts/Times_New_Roman.ttf' -> `TTF/Times_New_Roman.ttf'
`msttcorefonts/Times_New_Roman_Bold.ttf' -> `TTF/Times_New_Roman_Bold.ttf'
`msttcorefonts/Times_New_Roman_Bold_Italic.ttf' -> `TTF/Times_New_Roman_Bold_Italic.ttf'
`msttcorefonts/Times_New_Roman_Italic.ttf' -> `TTF/Times_New_Roman_Italic.ttf'
`msttcorefonts/Trebuchet_MS.ttf' -> `TTF/Trebuchet_MS.ttf'
`msttcorefonts/Trebuchet_MS_Bold.ttf' -> `TTF/Trebuchet_MS_Bold.ttf'
`msttcorefonts/Trebuchet_MS_Bold_Italic.ttf' -> `TTF/Trebuchet_MS_Bold_Italic.ttf'
`msttcorefonts/Trebuchet_MS_Italic.ttf' -> `TTF/Trebuchet_MS_Italic.ttf'
`msttcorefonts/Verdana.ttf' -> `TTF/Verdana.ttf'
`msttcorefonts/Verdana_Bold.ttf' -> `TTF/Verdana_Bold.ttf'
`msttcorefonts/Verdana_Bold_Italic.ttf' -> `TTF/Verdana_Bold_Italic.ttf'
`msttcorefonts/Verdana_Italic.ttf' -> `TTF/Verdana_Italic.ttf'
`msttcorefonts/Webdings.ttf' -> `TTF/Webdings.ttf'
`msttcorefonts/andalemo.ttf' -> `TTF/andalemo.ttf'
`msttcorefonts/arial.ttf' -> `TTF/arial.ttf'
`msttcorefonts/arialbd.ttf' -> `TTF/arialbd.ttf'
`msttcorefonts/arialbi.ttf' -> `TTF/arialbi.ttf'
`msttcorefonts/ariali.ttf' -> `TTF/ariali.ttf'
`msttcorefonts/ariblk.ttf' -> `TTF/ariblk.ttf'
`msttcorefonts/comic.ttf' -> `TTF/comic.ttf'
`msttcorefonts/comicbd.ttf' -> `TTF/comicbd.ttf'
`msttcorefonts/cour.ttf' -> `TTF/cour.ttf'
`msttcorefonts/courbd.ttf' -> `TTF/courbd.ttf'
`msttcorefonts/courbi.ttf' -> `TTF/courbi.ttf'
`msttcorefonts/couri.ttf' -> `TTF/couri.ttf'
`msttcorefonts/georgia.ttf' -> `TTF/georgia.ttf'
`msttcorefonts/georgiab.ttf' -> `TTF/georgiab.ttf'
`msttcorefonts/georgiai.ttf' -> `TTF/georgiai.ttf'
`msttcorefonts/georgiaz.ttf' -> `TTF/georgiaz.ttf'
`msttcorefonts/impact.ttf' -> `TTF/impact.ttf'
`msttcorefonts/pala.ttf' -> `TTF/pala.ttf'
`msttcorefonts/palab.ttf' -> `TTF/palab.ttf'
`msttcorefonts/palabi.ttf' -> `TTF/palabi.ttf'
`msttcorefonts/palai.ttf' -> `TTF/palai.ttf'
`msttcorefonts/times.ttf' -> `TTF/times.ttf'
`msttcorefonts/timesbd.ttf' -> `TTF/timesbd.ttf'
`msttcorefonts/timesbi.ttf' -> `TTF/timesbi.ttf'
`msttcorefonts/timesi.ttf' -> `TTF/timesi.ttf'
`msttcorefonts/trebuc.ttf' -> `TTF/trebuc.ttf'
`msttcorefonts/trebucbd.ttf' -> `TTF/trebucbd.ttf'
`msttcorefonts/trebucbi.ttf' -> `TTF/trebucbi.ttf'
`msttcorefonts/trebucit.ttf' -> `TTF/trebucit.ttf'
`msttcorefonts/verdana.ttf' -> `TTF/verdana.ttf'
`msttcorefonts/verdanab.ttf' -> `TTF/verdanab.ttf'
`msttcorefonts/verdanai.ttf' -> `TTF/verdanai.ttf'
`msttcorefonts/verdanaz.ttf' -> `TTF/verdanaz.ttf'
`msttcorefonts/webdings.ttf' -> `TTF/webdings.ttf'
root@darkstar:/usr/share/fonts# rm -r msttcorefonts

Yes I also use free fonts collections, but my favourite is Palatino Linotype, all my documents are written with this font!

Many thanks to all! [/FONT]

Last edited by marco@slack; 06-27-2009 at 07:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
A frontend to change the fonts of xterm/mrxvt using the ~/.fonts folder ? frenchn00b Linux - General 1 05-28-2008 12:28 PM
what's diference betwen core fonts and xft fonts? xcore_on Linux - Newbie 2 04-29-2006 08:11 PM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 11:11 AM
fonts.scale/fonts.dir: Naming convention kaon Linux - General 0 08-09-2004 05:02 AM
Any way to convert ttf fonts to linux console fonts? Glockage Linux - Software 7 12-30-2002 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration