Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old April 18th, 2009   #1
helino
A Carafe of Ubuntu
 
helino's Avatar
 
Join Date: Jun 2006
Location: Sweden
Beans: 119
Ubuntu Jaunty Jackalope (testing)
Exclamation Re: Firefox 3.5 looks strange

After searching around on the internet, I found this post:

http://ubuntuforums.org/showpost.php...51&postcount=7

mentioning that:
Quote:
firefox-3.5 takes its font hinting orders from fontconfig, instead of gnome's font settings
The question, how do I change fontconfig to use the same font as my gnome's font settings?

SOLVED: The following solved the font problem for me:

Code:
cd /etc/fonts/
sudo mv conf.d/10-hinting-slight.conf .
sudo ln -s conf.avail/10-hinting-slight.conf conf.d/
sudo mv conf.d/10-hinting.conf .
sudo ln -s conf.avail/10-hinting.conf conf.d/
sudo dpkg-reconfigure fontconfig
__________________
Quake Live profile

Last edited by helino; April 18th, 2009 at 08:55 AM.. Reason: Problem found and solved
helino is offline   Reply With Quote
Old July 1st, 2009   #2
mutew
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 9
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by helino View Post
SOLVED: The following solved the font problem for me:

Code:
cd /etc/fonts/
sudo mv conf.d/10-hinting-slight.conf .
sudo ln -s conf.avail/10-hinting-slight.conf conf.d/
sudo mv conf.d/10-hinting.conf .
sudo ln -s conf.avail/10-hinting.conf conf.d/
sudo dpkg-reconfigure fontconfig
Since the existing hinting files in conf.d are nothing more than soft links to the same filename under ../conf.avail I am assuming that by these commands you are disabling the soft link. I tried the same by renaming the soft link instead of pointing it to elsewhere, as you have done, but the browser still renders the fonts like before.

Here is a screenshot of Firefox 3.0.11 and Firefox 3.5
Attached Images
File Type: png Screenshot.png (203.0 KB, 596 views)
File Type: png Screenshot-1.png (125.3 KB, 578 views)

Last edited by mutew; July 1st, 2009 at 01:24 AM..
mutew is offline   Reply With Quote
Old July 1st, 2009   #3
magnuseh
First Cup of Ubuntu
 
Join Date: May 2007
Beans: 1
Ubuntu 9.04 Jaunty Jackalope
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by mutew View Post
Since the existing hinting files in conf.d are nothing more than soft links to the same filename under ../conf.avail I am assuming that by these commands you are disabling the soft link. I tried the same by renaming the soft link instead of pointing it to elsewhere, as you have done, but the browser still renders the fonts like before.

Here is a screenshot of Firefox 3.0.11 and Firefox 3.5
I also experienced very different and strange-looking fonts in Firefox after upgrading to 3.5. Changing the default hinting from slight to medium in fontconfig solved the problem for me.

The following steps should to the trick:
Code:
cd /etc/fonts/conf.d
rm 10-hinting-slight.conf
ln -s ../conf.avail/10-hinting-medium.conf .
Then close all open instances of Firefox and restart it.
magnuseh is offline   Reply With Quote
Old July 1st, 2009   #4
Vadi
Happy user
 
Vadi's Avatar
 
Join Date: May 2007
Location: Toronto, Canada
Beans: 4,365
Ubuntu Karmic Koala (testing)
Send a message via AIM to Vadi
Re: Firefox 3.5 looks strange

Thanks, this helped.
Vadi is offline   Reply With Quote
Old July 1st, 2009   #5
mutew
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 9
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by magnuseh View Post
I also experienced very different and strange-looking fonts in Firefox after upgrading to 3.5. Changing the default hinting from slight to medium in fontconfig solved the problem for me.

The following steps should to the trick:
Code:
cd /etc/fonts/conf.d
rm 10-hinting-slight.conf
ln -s ../conf.avail/10-hinting-medium.conf .
Did you make any further changes in /etc/fonts/conf.d or just this one?
mutew is offline   Reply With Quote
Old July 1st, 2009   #6
tinivole
Should have gone to University
 
tinivole's Avatar
 
Join Date: Jan 2008
Location: UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Re: Firefox 3.5 looks strange

May I also note that the URL colours in the address bar are also different in the new firefox-3.5 version. (Blue and brownish black do not go very well with my eyes).

To fix.

Go into your ~/.mozilla/firefox-3.5/*/chrome directory, and create the following file:
Code:
userChrome.css
Then paste in the following:
Code:
    .ac-comment {
    font-size: 100%! important;
    color: #CCCCCC ! important;
    }

    .ac-comment[selected=”true”] { color: #FFFFFF !important; }

    .ac-url-text {
    font-size: 100% ! important;
    color: #999999 ! important;
    }

    .ac-url-text[selected=”true”] { color: #FFFFFF !important; }
This restores it to near enough expected behaviour (for me at least) that I get in Firefox 3.0

Feel free to play about with the colours.

Regards
Iain

Last edited by tinivole; July 1st, 2009 at 11:44 AM..
tinivole is online now   Reply With Quote
Old July 8th, 2009   #7
chris.pappas
First Cup of Ubuntu
 
chris.pappas's Avatar
 
Join Date: Dec 2006
Beans: 4
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by magnuseh View Post
I also experienced very different and strange-looking fonts in Firefox after upgrading to 3.5. Changing the default hinting from slight to medium in fontconfig solved the problem for me.

The following steps should to the trick:
Code:
cd /etc/fonts/conf.d
rm 10-hinting-slight.conf
ln -s ../conf.avail/10-hinting-medium.conf .
Then close all open instances of Firefox and restart it.
This helped me fix the hinting problem as well. Font 'sizes' are now back to normal.
chris.pappas is offline   Reply With Quote
Old October 13th, 2009   #8
sleepingdragon
Gee! These Aren't Roasted!
 
sleepingdragon's Avatar
 
Join Date: Aug 2006
Location: /media/party
My beans are hidden!
Ubuntu 8.04 Hardy Heron
Send a message via MSN to sleepingdragon Send a message via Skype™ to sleepingdragon
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by magnuseh View Post
I also experienced very different and strange-looking fonts in Firefox after upgrading to 3.5. Changing the default hinting from slight to medium in fontconfig solved the problem for me.

The following steps should to the trick:
Code:
cd /etc/fonts/conf.d
rm 10-hinting-slight.conf
ln -s ../conf.avail/10-hinting-medium.conf .
Then close all open instances of Firefox and restart it.
Thanks! That one worked for me. Me eyes were starting to bleed with the rough fonts.
__________________
<<< ADVERTISE HERE >>>
sleepingdragon is offline   Reply With Quote
Old October 13th, 2009   #9
brendanpiater
5 Cups of Ubuntu
 
Join Date: May 2007
Beans: 36
Re: Firefox 3.5 looks strange

Quote:
Originally Posted by magnuseh View Post
I also experienced very different and strange-looking fonts in Firefox after upgrading to 3.5. Changing the default hinting from slight to medium in fontconfig solved the problem for me.

The following steps should to the trick:
Code:
cd /etc/fonts/conf.d
rm 10-hinting-slight.conf
ln -s ../conf.avail/10-hinting-medium.conf .
Then close all open instances of Firefox and restart it.
I ran the above commands as sudo and worked 100% for me.

Thanks.
brendanpiater is offline   Reply With Quote
Old July 1st, 2009   #10
EarthMind
5 Cups of Ubuntu
 
Join Date: Jun 2007
Beans: 32
Ubuntu 9.04 Jaunty Jackalope
Re: Firefox 3.5 looks strange

Nothing works for me, the fonts still look ugly. The userChrome.css fix for the address dropdown list urls didn't work either...
__________________
Repository idea: http://brainstorm.ubuntu.com/idea/4533
EarthMind is offline   Reply With Quote

Bookmarks

Tags
3.5, firefox, ubufox

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

Forum Jump


All times are GMT -4. The time now is 09:27 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry