Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final > Tutorials & Guides


Tutorials & Guides Contributions welcome! Please check the rules & guidelines for posting

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2007, 01:29 AM
theprez98's Avatar
Super Moderator
 
Join Date: Apr 2007
Location: Maryland
Posts: 2,556
Default Installing Microsoft TT fonts in BT2

If you noticed, some Microsoft True Type fonts (such as Arial & Times New Roman) are not installed in Linux. If you're used to looking at webpages in Arial (or whatever) like I am, serif is a little different. Here is the procedure that worked for me:
Downloads fonts in RPM package
Code:
rpm2tgz msttcorefonts-1.3-4.noarch.rpm
Converts RPM to TGZ
Code:
tgz2lzm msttcorefonts-1.3-4.noarch.tgz msttcorefonts-1.3-4.noarch.lzm
Converts TGZ to LZM
Code:
lzm2dir msttcorefonts-1.3-4.noarch.lzm /
Installs to directory.

Reboot! Your fonts are now installed. Firefox/Edit/Preferences/Content/Fonts & Colors to change the default.

If there is an easier way to do it, post your method!
__________________
theprez98
"I want peace on earth and goodwill toward men."
"We are the United States Government. We don't do that sort of thing!"
Reply With Quote
  #2 (permalink)  
Old 07-09-2007, 11:33 AM
Just burned his ISO
 
Join Date: Apr 2007
Posts: 4
Question

hi i have problem in the last setp
bt ~ # rpm2tgz msttcorefonts-1.3-4.noarch.rpm
bt ~ # tgz2lzm msttcorefonts-1.3-4.noarch.tgz msttcorefonts-1.3-4.noarch.lzm
Installing package msttcorefonts-1.3-4.noarch...
PACKAGE DESCRIPTION:

[================================================== ==============] 112/112 100%bt ~ #
bt ~ # lzm2dir msttcorefonts-1.3-4.noarch.lzm

Convert .lzm compressed module back into directory tree
usage: /usr/bin/lzm2dir source_file.lzm existing_output_directory

how i solve it
Reply With Quote
  #3 (permalink)  
Old 07-09-2007, 02:26 PM
theprez98's Avatar
Super Moderator
 
Join Date: Apr 2007
Location: Maryland
Posts: 2,556
Default

Quote:
Originally Posted by akramfuzzy View Post
hi i have problem in the last setp
bt ~ # rpm2tgz msttcorefonts-1.3-4.noarch.rpm
bt ~ # tgz2lzm msttcorefonts-1.3-4.noarch.tgz msttcorefonts-1.3-4.noarch.lzm
Installing package msttcorefonts-1.3-4.noarch...
PACKAGE DESCRIPTION:

[================================================== ==============] 112/112 100%bt ~ #
bt ~ # lzm2dir msttcorefonts-1.3-4.noarch.lzm

Convert .lzm compressed module back into directory tree
usage: /usr/bin/lzm2dir source_file.lzm existing_output_directory

how i solve it
The error message is telling you everything you need to know! You're missing the install location (output directory)

Instead of
Code:
bt ~ # lzm2dir msttcorefonts-1.3-4.noarch.lzm
Type
Code:
bt ~ # lzm2dir msttcorefonts-1.3-4.noarch.lzm /
That extra / is the location to install.
__________________
theprez98
"I want peace on earth and goodwill toward men."
"We are the United States Government. We don't do that sort of thing!"
Reply With Quote
  #4 (permalink)  
Old 07-09-2007, 03:20 PM
Junior Member
 
Join Date: Nov 2006
Posts: 7
Default

Thanx a lot for this one..!!!
Reply With Quote
  #5 (permalink)  
Old 07-09-2007, 03:35 PM
-~operator~-'s Avatar
Senior Member
 
Join Date: Apr 2007
Location: Black Forest
Posts: 173
Default

you really live up to your name, extraordinary spoonfeeder
__________________
The answer is 42.
Reply With Quote
  #6 (permalink)  
Old 07-09-2007, 05:15 PM
-=Xploitz=-'s Avatar
Senior Member
 
Join Date: Apr 2007
Location: Mesquite, Texas (Dallas County) USA
Posts: 3,489
Default

Great....

bt ~ # wget -c http://easylinux.info/uploads/msttco...3-4.noarch.rpm
--09:09:48-- http://easylinux.info/uploads/msttco...3-4.noarch.rpm
=> `msttco...3-4.noarch.rpm'
Resolving easylinux.info... 195.13.158.141
Connecting to easylinux.info|195.13.158.141|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:09:49 ERROR 404: Not Found.

Guess I'll try again later. But thanks again prez for the share.
Reply With Quote
  #7 (permalink)  
Old 07-09-2007, 06:49 PM
theprez98's Avatar
Super Moderator
 
Join Date: Apr 2007
Location: Maryland
Posts: 2,556
Default

Quote:
Originally Posted by -=Xploitz=- View Post
Great....

bt ~ # wget -c http://easylinux.info/uploads/msttco...3-4.noarch.rpm
--09:09:48-- http://easylinux.info/uploads/msttco...3-4.noarch.rpm
=> `msttco...3-4.noarch.rpm'
Resolving easylinux.info... 195.13.158.141
Connecting to easylinux.info|195.13.158.141|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:09:49 ERROR 404: Not Found.

Guess I'll try again later. But thanks again prez for the share.
wget failed for me too, but when I clicked the link directly it still worked in Firefox.
Code:
http://easylinux.info/uploads/msttcorefonts-1.3-4.noarch.rpm
__________________
theprez98
"I want peace on earth and goodwill toward men."
"We are the United States Government. We don't do that sort of thing!"
Reply With Quote
  #8 (permalink)  
Old 07-14-2007, 12:59 AM
Senior Member
 
Join Date: Oct 2006
Posts: 291
Default

I soooo love you, I was searching all day today... I thought it was a Firefox issue as Konqoreur looked fine.

I just read this as a last resort!

Kisses!
Reply With Quote
  #9 (permalink)  
Old 02-09-2008, 09:23 AM
Senior Member
 
Join Date: Feb 2008
Posts: 683
Default

Thank you theprez98

I know this was for BT2 but I tried this in BT3. Everything went smoothly, except when I rebooted and checked for the fonts in Firefox... they weren't there.

Updated: For BT3... I added this command after theprez98 commands:
cp /usr/share/fonts/msttcorefonts/*.ttf /usr/share/fonts/TTF/

There must be another way but it's working in BT3 now.
__________________
hehe...

Last edited by .lonewolf; 02-09-2008 at 10:20 AM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2