Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-10-2006, 09:59 AM
|
#1
|
Member
Registered: Apr 2006
Posts: 143
Rep:
|
Problems with displaying foriegn characters
I was helping out a friend with her Linux setup. She's using Slackware 9. When she attempts to read foriegn language webpages using firefox, the characters are showing up as boxes with hexadecimal numbers in them. We tried other browsers. Same problem.
I tried the same thing on the machine I have at home running Xandros 3.02 OC and it works fine.
1. Is this a font problem, do I need to install additional fonts?
2. Some googling indicate that Slackware does not often come with international support or that it is not a default option during install. The post I read seems to be instructions on installing KDE fonts, but I don't think firefox is a KDE app?
Paul
|
|
|
04-10-2006, 10:09 AM
|
#2
|
Member
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248
Rep:
|
Firefox is not a KDE app.
I had a very similar problem where I was unable to view some mathematical characters. What I did was copied all of the TrueType fonts [*.ttf] from a Windows installation and copied them into a fonts directory. Then I switced to those fonts only, which have a much larger character set is my best guess, and haven't had the problem since.
I think there are some other solutions, but this was simple and worked for me.
|
|
|
04-10-2006, 10:18 AM
|
#3
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
What's the definitive solution to this everyone? I've been wondering myself. I've always had this problem with Slackware but since I started rolling my own, I've had full support for just about every language under the sun. Gucharmap actually works now too. KDE never touches my system either so support has to be in a base package set, not in the form of il8n packages...
|
|
|
04-10-2006, 01:15 PM
|
#4
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
Do you have all X fonts installed? I have them all and there isn't any problem viewing even chinese fonts. I'm using opera but firefox I think also works ok.
|
|
|
04-14-2006, 02:30 AM
|
#5
|
Member
Registered: Apr 2006
Posts: 143
Original Poster
Rep:
|
Yes, the fonts were the cause of the problem. I copy all of the truetype fonts in my windows XP to the Linux box and reboot the machine. Suddenly, it all works fine. I wonder if there is an alternative though. Not everyone will have a windows machine to copy the fonts from.
|
|
|
04-14-2006, 04:54 AM
|
#6
|
Member
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345
Rep:
|
Once you've copied the ttf's from a Windows box to a directory - I am assuming it would be /usr/X11R6/lib/X11/fonts/TTF/ - you'd have to run mkfontdir, wouldn't you? Or, is there some other tool that is needed to get the fonts registered and available to the system?
|
|
|
04-14-2006, 10:30 AM
|
#7
|
Member
Registered: Apr 2006
Posts: 143
Original Poster
Rep:
|
mkfondir automatic?
In previous release, you would have to do a mkfontdir and restart X.
On Slackware 10.2, I did need to run mkfontdir since it worked right after I copy the font files to /usr/X11R6/lib/X11/fonts/TTF/ and rebooted the machine. I assumed that Slackware now does it automatically during startup.
Paul
|
|
|
04-14-2006, 02:18 PM
|
#8
|
Member
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345
Rep:
|
A restart wasn't necessary. Well, not of the machine at least. I did need to restart X.
I copied all the ttf files I could find on my Win2K box and copied them to /usr/X11R6/lib/X11/fonts/TTF/. Then I ran mkfontdir in the directory. When I restarted X, the fonts were there.
One thing I noticed about mkfontdir, though. It doesn't understand the flag -h or --help. If you use mkfontdir --help, it just runs normally as if you had just simply called it. Turned out to be OK, but it surprised me nonetheless. I had expected a short list of its possible options.
|
|
|
04-15-2006, 02:52 AM
|
#9
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
A lot of X server related applications behave this strange way. So I'm using info app or man app.
|
|
|
04-15-2006, 11:41 AM
|
#10
|
Member
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345
Rep:
|
Yeah, I had taken a look at the man page, but when it came to entering the command, I couldn't remember if I needed one of the options or not. I entered the command `mkfontdir --help` and was surprised when it just returned me back to the command prompt. I checked the modification date for fonts.dir in that directory and saw that it had just been changed.
Personally, I prefer `man app`. I have never really gotten the hang of navigating in `info app`, although I have to admit it really isn't that hard. And as far as I am concerned, there are times when `man -t app | lp` just can't be beat. (I check the length first though. )
|
|
|
All times are GMT -5. The time now is 01:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|