HOWTO:MS Fonts

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
m (used nowiki on link)
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
  cd msfonts
 
  cd msfonts
 
  for i in andale arial arialb comic courie georgi impact times trebuc verdan webdin wd97vwr;
 
  for i in andale arial arialb comic courie georgi impact times trebuc verdan webdin wd97vwr;
  do wget -c http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/"$i"32.exe && cabextract "$i"32.exe;
+
  do wget -c <nowiki>http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/"$i"32.exe && cabextract "$i"32.exe;</nowiki>
 
  done
 
  done
 
  mv *.TTF *.ttf /usr/share/fonts/mscorefonts
 
  mv *.TTF *.ttf /usr/share/fonts/mscorefonts
Line 21: Line 21:
 
THE SCRIPT CANNOT DOWNLOAD THE FONTS ANYMORE WITH THIS NEW ADDRESS.
 
THE SCRIPT CANNOT DOWNLOAD THE FONTS ANYMORE WITH THIS NEW ADDRESS.
  
Obs : Modified the directory of the location of the fonts, since the link doesn't work anymore, sourceforge changed its website structure. And the list is missing another msfont wd97vwr
+
Diogo Lima : Modified the directory of the location of the fonts, since the link doesn't work anymore, sourceforge changed its website structure. And the list is missing another msfont wd97vwr
  
 
[[tr:NASIL:Microsoft Fontlarının Kurulumu]]
 
[[tr:NASIL:Microsoft Fontlarının Kurulumu]]
 
[[fr:HOWTO:Polices de caractères Microsoft]]
 
[[fr:HOWTO:Polices de caractères Microsoft]]

Latest revision as of 08:58, 11 May 2011

Download this script and run it as root in a console. It will download core fonts and install them.

In case of broken link, here is the content of the script :

pisi it cabextract
mkdir -p /usr/share/fonts/mscorefonts
mkdir -p msfonts
cd msfonts
for i in andale arial arialb comic courie georgi impact times trebuc verdan webdin wd97vwr;
	do wget -c http://downloads.sourceforge.net/project/corefonts/the%20fonts/final/"$i"32.exe && cabextract "$i"32.exe;
done
mv *.TTF *.ttf /usr/share/fonts/mscorefonts
fc-cache -v
cd ..
rm -rf msfonts

Save it with kwrite in your home repository as corefonts.sh and run it in konsole with the following command line :

sudo sh ./corefonts.sh

NB : NEW ADDRESS : http://sourceforge.net/projects/corefonts/files/ THE SCRIPT CANNOT DOWNLOAD THE FONTS ANYMORE WITH THIS NEW ADDRESS.

Diogo Lima : Modified the directory of the location of the fonts, since the link doesn't work anymore, sourceforge changed its website structure. And the list is missing another msfont wd97vwr

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox
In other languages