LinuxQuestions.org Member Success StoriesJust spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.
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.
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.
Idle, no problem here with the blog and firefox. Try deleting the cache (edit. pref, priv, cache) Not sure what else to suggest. Also try starting firefox from the command line to see if it gives any error messages before it craps out. Also try it as another user - if this works you can delete the .firefox directory in your home folder - save your bookmarks first. I will create a new one and that may clear up the issue.
I tried what you suggested, including deleting the firefox directory, but nothing works. When I run it from the command line, I get this error:
"/opt/firefox/run-mozilla.sh: line 159: 11701 Segmentation fault "$prog" ${1+"$@"}"
Thank you very much for your how-to franklin. I bow before thee!
I'm so glad I was able to read this thread. Now I dont have to suffer looking at the ugly fonts in Suse. I think the only thing I ever miss in Xp are the fonts, but now i dont have to anymore thanks to you!
I tried it in Suse 9.2 and Ubuntu and it worked for both distros.
You should transfer this how-to to the tutorial section so it can get better exposure and many more will be able to recieve help from it.
by the way, to those who still dont know, M$ true type core fonts can now be downloaded under the EULA license in this site
just scroll down to the bottom of the webpage where you can download the fonts. there you can even download 6760 FONTS IN A SINGLE FILE WHOOOHOOO!! check it out!
I think that this is a fine place for this thread for a couple reasons:
1. It seems to be getting plenty of views.
2. I labled the thread such that anyone willing to do a search will find it.
3. While it works for me and the few who have also confirmed success, I have only tested
this on a handful of distros and was not confident that this was a general "fix".
4. Placing a thread like this in the "Answers" forum might make LQ look as though it
endorses doing things that might be "problematic" depending on a users situation.
If a mod sees it and suggests moving it so be it. It's not for me to decide and, like I said, it seems to be getting some views where it is.
By the way, no bowing required:
Much of this can be found in other places on the web anyway, I just tried to consolidate it a bit and add a couple tweaks I came up with. Must give credit where credit is due.
The Dropline-Gnome forum has a font-FAQ that discusses some of this.
Also, do a search in Google <groups> under alt.os.linux.suse for posts by softedges. He had some pages posted that go into some more detail regarding font.config files etc in SuSE 8.2. Also varius font-deuglification Howto's (tho many are dated) are a must read as well.
Originally posted by Idle Marvellous! Thanks for the tips, it works just fine for me. There's one small problem after the changes, though. Firefox doesn't seem to like my blog anymore, it just crashes when I try to view it (idleblog.iceware.net, if someone else wants to try). Seems to be the only page I have the problem with. Ideas, anyone?
You may need to change the permissions on your TrueType fonts (or whatever font you're using in your Blog)? I had the exact same thing happen to me, and discovered only root had any permissions at all on those fonts.
Worked great on Mandrake 10.1 / GNOME 2.6. Thanks for such a clear and thorough walkthrough. Seems like I was in the same boat with a lot of folks; love Linux but get headaches from the fonts. That is, I USED to get headaches.
This problem has plagued me off and on since I started with linux it seems 2 1/2
years ago. I often solve the problem, as do others, through some other action
(read 'by accident' ) and am left with no reproduceable solution. This also
appears to be the case with many related threads I found through google which
appear to end either without resolution or "I don't know why, but when I did
"X" it fixed itself". I offer this as a definitive fix. Hope it helps others.
Problem:
For some unknown reason, trying to set the font in Konsole (KDE) to type "Linux" will
result in the following error message:
Font:
Of course, README.linux.console, once I found it (not on my system by the way)
was of no use whatsoever.
After much googling I found a post that identified the missing font(s) as:
console8x16.pcf.gx and/or
console8x8.pcf.gz
Clearly this font was missing from the "misc" font directory.
Performing a locate, the fonts were found at:
/opt/kde/share/fonts
I first tried to add this location to my font paths but this did not seem to
help. I then used the KDE Font installer in the Control Panel (as root), selected the
"misc" font directory as my destination directory and /opt/kde/share/fonts as my
source directory, selected the 2 fonts and restarted X. Since the only people having
this issue will be using KDE, this is likely the simplest procedure.
I'm running Fedora Core 3 and Gnome 2.8 (that comes with it) and all default configs.
Your screenshots look amazing, and even better than Windows.
Here's what I did: http://distributions.linux.com/howto...OWTO/fix.shtml
I used the recompiled RPM for Fedora Core 3 (cause I don't like to recompile; recompiling has always given me issues). I did not follow your step (B), cause I hate to mess around with the text files myself (I'm a Linux Newbie). But it's still not giving me the right results. Font's aren't crisp at all... in fact they're very very fuzzy, and I don't see any striking difference b/w these fonts and the fonts rendered by freetype that was compiled without bci. I also installed the truetype fonts, which were equally ugly.
Also, I looked around Gnome font manager (click the foot icon, preferences, fonts), and there's no option to uncheck anti-aliasing. I think my biggest problem is that AA is set to on for every font (even smaller ones, or even truetype ones). So is there a way to disable AA thru' Gnome (graphical GUI method preferred over text method)?
I'm asking this cause you have a screenshot with Gnome... which means you probably turned off AA in Gnome too. I'm pretty sure there is a way to do it, but I just can't find the option to turn it off! Also tell me which is better; Best Contrast or Best Shapes? (I'm talking about the Gnome font manager GUI)
Regards,
To turn off antialiasing in Gnome, choose Desktop Prefs - Font.
Then click the details button and choose "None" for both Smoothing and Hinting.
This will automagically turn of the radio buttons on the first page of the font rendering
dialogue box.
Generally, edits made in KDE's Control Panel for font preferences will carry into Gnome -
I "think" they both edit the same /home/<user>/font.conf xml file, but don't hold me to that
You may also want to cd to the /usr/lib directory and run the command:
ls -la libfreetype* to make sure the symlinks are pointing to the new libs.
As you can see, there is an old lib present, but my symlinks piont to the new lib.
Quote:
I used the recompiled RPM for Fedora Core 3 (cause I don't like to recompile; recompiling has always given me issues). I did not follow your step (B), cause I hate to mess around with the text files myself (I'm a Linux Newbie).
While I understand how you feel, I would strongly suggest you get past this. It's far easier to control your system this way.
[madiyaan@r57h63 lib]$ ls -la libfreetype*
lrwxrwxrwx 1 root root 20 Jan 23 22:05 libfreetype.so.6 -> libfreetype.so.6.3.7
-rwxr-xr-x 1 root root 1236799 Nov 10 22:09 libfreetype.so.6.3.7
[madiyaan@r57h63 lib]$
Seems to me that everything's right. Now I change my gnome options to no hinting and no smoothing and I get very very ugly fonts. As you can see in the screenshot below, I find text EXTREMELY hard to read.
As I cannot speak for the whether the RPM is indeed correctly compiled, the only thing I can suggest is that you compile from source as I outlined. Looking at your screenshot, it's clear that the bytecode interpreter is either still disabled, or you are still linking to your old lib from your old RPM which likely is the same release of freetype so you won't see a version number difference.
If you are determined not to compile from source and you trust the RPM (you know for a fact that it has worked as advertised for others), then I would uninstall and hunt down every trace of freetype on the box that might have been left behind and delete them. Then reinstall the RPM before rebooting (Gnome will not boot without freetype installed).
I have used my method with Suse in the past - another RPM based distro - and had success. I have also had trouble with Debian Sid, but have not played with it enough to figure why.
Also, I have found that restarting X may not be enough. Try rebooting and/or running ldconfig as root. Other than that, you'll just have to play around with it. An earlier post indicated that it worked for fedora, so we know it's possible.
I tinkered a bit with freetype2, but was unable to install it properly with bci enabled*. But I figured the guys at the website I quoted earlier in this thread (the site that had a link to the bci enabled) have no motive of fooling people by placing bci-disabled rpm's there. http://distributions.linux.com/howto...OWTO/fix.shtml
This site.
So I went ahead and browsed my font preferences, went into details, and disabled smoothing, but ENABLED hinting. After all, bci is a type of hinting, I figured.
Now results are way better (by the way, this particular configuration of hinting enabled and smoothing disabled is the monochrome option in the first font config GUI).
Here's the screenshot: http://www.prism.gatech.edu/~gtg839f...s/bci_mono.png
I think this is the limit Linux can go to. Tell me if this screenshot is up to mark, if not, I guess I'll keep on trying until I succeed. :-) If possible, can you somehow email me a link to the bci-enabled BINARY rpm file? In other words, can you build one for Fedora Core 3? I have AIM so you can transfer it to me thru' there, or email me at my address.
* You said that when I would do ./configure and make, I would get a bunch of messages. I got messages for about 50 seconds (that's a lot of screenful of messages), and many of them were errors. So I could not rebuild my source into binary.
Then I tried a different method; I downloaded .src.rpm and then a rpm -i freetype2.src.rpm. This caused a bunch of files to be copied to /usr/src/redhat/ directory tree. I went into /usr/src/redhat/SPECS and edited the file freetype2.spec. The first line in that spec file had this:
disable bci 1
I changed it to 0, and did rpmbuild -ba freetype2.spec. I got a lot of error messages (which I think are the same as the ones I got with your other method). And again it said that it cannot build the rpm. So I just gave up!
Originally posted by Idle I tried what you suggested, including deleting the firefox directory, but nothing works. When I run it from the command line, I get this error:
"/opt/firefox/run-mozilla.sh: line 159: 11701 Segmentation fault "$prog" ${1+"$@"}"
This howto rox .... Thanks Franklin ...
I've follwed everything in this howto ..and now the fonts look great ... but ..When I try to start firefox .,..the following error comes out ...
The same error as idle's ...does someone know how to fix that .... In other browser (like mozilla ..which I'm using right now) the fonts look great ...and there is no problems at all ... but firefox crashes ...
I think Idle may have solved his problem in another thread in the slackware forum. I have seen in other places where one of the later upgrades in current (glibc ? can't remember) caused a firefox problem as well. One of these was easily fixed by a reinstall of firefox. I use the firefox-installer script from the Mozilla site, but some of the people with issues are using a linuxpackages.net .tgz. I don't know what your situation is, but I have had no issues with firefox at all. Perhaps it the .tgz ?
What many people seem to not realize is that using the slack-10 packages on a current install can cause problems in some packages the farther current gets from the last stable release.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.