LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Fonts look different after upgrade? (https://www.linuxquestions.org/questions/debian-26/fonts-look-different-after-upgrade-301863/)

sigma957 03-15-2005 09:45 AM

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

Josh222 03-15-2005 10:34 AM

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.

Nishtya 03-16-2005 08:00 PM

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.

ironwalker 03-16-2005 11:44 PM

#!/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.

alexcabuz 04-01-2005 02:04 AM

> 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.

alexcabuz 04-01-2005 02:56 AM

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.

Moloko 04-01-2005 03:39 AM

dpkg-reconfigure fontconfig

samael26 04-01-2005 04:40 AM

Sorry, this did not work. Fonts are still "different" :(

Dead Parrot 04-01-2005 05:59 AM

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.

samael26 04-01-2005 06:15 AM

YESSSSSS, cool !!! Even better than before

Thanks guys !

:cool: :D


All times are GMT -5. The time now is 12:46 PM.