LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-15-2005, 09:45 AM   #1
sigma957
Member
 
Registered: Sep 2003
Location: Portland Oregon
Distribution: Debian Testing
Posts: 112

Rep: Reputation: 15
Fonts look different after upgrade?


I run Debian unstable. I did an apt-get update/upgrade last night. A lot of the upgrade involved fonts, from watching the screen.

This morning, my fonts look different. Not bad, mind you, just different. Thunderbird, Firefox, are still using the fonts I like (sans serif, mostly). Anyone else notice this? Sorry I can't describe this any better.

Not really a problem, more of a query wondering what happened.

Barbara
 
Old 03-15-2005, 10:34 AM   #2
Josh222
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
I had that same problem, it seemed that fontconfig got upgraded. I could never get my fonts back the way they were, after some messing around, so I ended up just compiling my own freetype package without the bytecode interpreter. Hopefully someone will post a better solution here.
 
Old 03-16-2005, 08:00 PM   #3
Nishtya
Member
 
Registered: Feb 2004
Distribution: Mint Cinnamon, Debian sid KDE, PCLOS Cinnamon, Manjaro XFCE
Posts: 280

Rep: Reputation: 32
same problem here. The best I can describe it is they are "weedy". Didn't even really matter whether TT or other. Ending up changing to different fonts, bold, etc to see them well. I too will watch for a solution or at least another fontconfig upgrade coming out. SID here.
 
Old 03-16-2005, 11:44 PM   #4
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
#!/bin/sh
if test $(id -u) != 0; then
echo Error: You must be root to run this script!
exit 1
fi
for dir in /usr/share/fonts /usr/X11R6/lib/X11/fonts; do
cd /
find $dir -name *ttf |while read x; do dirname $x; done|sort|uniq|while read x$
echo ttf processing... $x
cd $x
rm -f encodings.dir fonts.alias fonts.dir fonts.scale
mkttfdir
done
cd /
find $dir -name *pcf.gz|while read x; do dirname $x; done|sort|uniq|while read$
echo pcf processing... $x
cd $x
rm -f encodings.dir fonts.alias fonts.dir fonts.scale
update-fonts-scale $(basename $x)
update-fonts-dir $(basename $x)
update-fonts-alias $(basename $x)
done
done
fc-cache -f





save as fix-fonts.sh
in /usr/local/bin
chmod
run it


Will regenerate the font cache....update it.

Last edited by ironwalker; 03-16-2005 at 11:45 PM.
 
Old 04-01-2005, 02:04 AM   #5
alexcabuz
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 2

Rep: Reputation: 0
> Will regenerate the font cache....update it.

I have the same problem but I got an error on the 13th line of the little script, the "done".

/usr/local/bin/fix-fonts.sh: line 22: syntax error near unexpected token `done'
/usr/local/bin/fix-fonts.sh: line 22: `done'

Any suggestions?

Alex.
 
Old 04-01-2005, 02:56 AM   #6
alexcabuz
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 2

Rep: Reputation: 0
OK, for starters, there is a line missing from the /etc/X11/XF86Config-4 config file:

FontPath "unix/:7100" # local font server

coming right after

Section "Files".

I added it by hand, restarted X, and there are some new fonts that it sees, but not all the ones I had before.

Still looking for answers.

Alex.
 
Old 04-01-2005, 03:39 AM   #7
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
dpkg-reconfigure fontconfig
 
Old 04-01-2005, 04:40 AM   #8
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Sorry, this did not work. Fonts are still "different"
 
Old 04-01-2005, 05:59 AM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Sorry, this did not work. Fonts are still "different"
In "dpkg-reconfigure fontconfig" that Moloko suggested you can choose different options and your fonts will look different according to what you choose. Personally I prefer Autohinter but you may prefer some other rendering option. Run "dpkg-reconfigure fontconfig" a couple of times and experiment by choosing different options, and you should be able to make the fonts look like they used to before the fontconfig upgrade.
 
Old 04-01-2005, 06:15 AM   #10
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
YESSSSSS, cool !!! Even better than before

Thanks guys !

 
  


Reply



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
Fonts different after Linux upgrade MarvinD Linux - Software 2 10-10-2005 05:15 PM
missing fonts after fontconfig upgrade food Debian 2 04-07-2005 03:36 PM
Ugly fonts after 10.0 to 10.1 upgrade arobinson74 Slackware 2 02-21-2005 10:24 AM
fonts after kde 3.3 upgrade: help! thom Slackware 2 08-26-2004 07:30 PM
tiny fonts after kernel upgrade sms043 Debian 6 07-13-2004 11:38 PM

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

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