LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-12-2006, 12:56 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Location: Washington DC area
Posts: 214

Rep: Reputation: 30
i need help viewing arabic/farsi fonts in Slackware 10.2


Hey everyone i recently installed Slackware 10.2 and upgraded my Firefox to the newest version. I am having trouble viewing arabic/farsi websites in the Firefox browser. I installed international support for Slackware when I installed the OS but i do not know if slack by default supports foreign fonts especially the Traditional Arabic Truetype font from Windows. Do any of you know how i should go about configuring my system so that i can view arabic/farsi/foreign websites as clearly as i can in Windows XP? Also how do I install new fonts?
 
Old 05-12-2006, 04:35 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384Reputation: 5384
Good questions. I think I can help.

Bitstream Cyberbit is a free unicode truetype font that supports Arabic.

Download it, extract it, and put it in /usr/local/share/fonts. Issue the following commands:

Code:
cd /usr/local/share/fonts
/usr/X11R6/bin/mkfontdir .
/usr/X11R6/bin/mkfontscale .
This will create two files named fonts.dir and fonts.scale. Have a look at them. They should contain entries for all the fonts in that directory.

Edit xorg.conf and added FontPath "/usr/local/share/fonts" to the appropriate section. It should be pretty obvious where this goes.

Now copy /etc/fonts/fonts.conf to /etc/fonts/local.conf. Then edit local.conf and delete everything between the opening and closing "fontconfig" tags. In that space add one line: <dir>/usr/local/share/fonts/</dir>.

Then issue the following command:

Code:
fc-cache -f -v
Now restart X. If you don't see Arabic characters in Firefox by this point, make a follow-up post.
 
  


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
arabic fonts on xfig abd_bela Debian 0 04-10-2006 01:39 PM
Does Linspire support Arabic fonts ?? zeid Linspire/Freespire 2 01-03-2006 11:35 PM
squares instead of arabic characters on Slackware 10.1 with KDE 3.4 Basel Slackware 2 06-18-2005 01:38 PM
arabic fonts wael_nasreddine Debian 4 03-24-2005 05:00 AM
arabic fonts abd_bela Debian 1 02-08-2004 03:28 AM

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

All times are GMT -5. The time now is 04:42 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