Page 1 of 1

[SOLVED] 13.1 fonts changed after gslapt update

Posted: 14. Mar 2012, 14:52
by Dennola4
Running SalixOS 13.1.....

update notifier popped up on my tray, as usual I just clicked ok, several things were updated.... can't remember what exactly, but system stuff. Anyway, now my fonts are changed in a way that is terrible. I noticed it first in Thunar, the default monospace was replaced with some serif font. Then I opened Opera and several of the fonts there are changed.

I know it was the update because I reverted to a pre-update backup and the fonts went back to normal. The notifier popped up, I accepted the updates, and again.... crappy fonts.

Help please.

Thanks.

:cry:

Re: Fonts changed after last update

Posted: 14. Mar 2012, 14:57
by gapan
What fonts? Where?

Since you can roll back to a previous version, find out which package did it by upgrading them one by one.

Re: Fonts changed after last update

Posted: 14. Mar 2012, 15:41
by gapan
OK, I see it now. I upgraded a 13.0 system and the fonts changed after a reboot. Now the fonts are the same as in 13.37. What changed these was an update to the freetype package, issued by slackware. This was a necessary upgrade as far as I can tell due to security issues. Here's the excerpt from the slackware changelog:

Code: Select all

patches/packages/freetype-2.4.8-i486-1_slack13.1.txz:  Upgraded.
  Some vulnerabilities in handling CID-keyed PostScript fonts have
  been fixed.
  For more information, see:
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3439
  (* Security fix *)
BTW, I actually prefer the fonts the way they are in 13.37.

Re: Fonts changed after last update

Posted: 14. Mar 2012, 15:57
by Dennola4
I see.

Perhaps I shouldn't say that they are "crappy" and "terrible"; it's just that I was quite happy with them as they were. But you seem to be saying that the update is a security fix from Slackware, they are aware that the fonts might necessarily change, and basically that's the end of the story unless I decide to go into both Thunar and Opera and set font preferences which are closer to the pre-update choices.

Is this correct?

:?:

Re: Fonts changed after last update

Posted: 14. Mar 2012, 16:00
by gapan
I don't think you can do anything to change the fonts back to how they were before the update, short of downgrading the freetype package and sticking with the old version. And I would certainly advise against that.

Re: Fonts changed after last update

Posted: 14. Mar 2012, 16:02
by Dennola4
Okey doke.

I'll mark this problem solved then. Thanks as always, Gapan.

:)

Re: [SOLVED] 13.1 fonts changed after gslapt update

Posted: 15. Mar 2012, 15:07
by Andyun
Try this:
From root:

Code: Select all

ln -s ../conf.avail/10-autohint.conf /etc/fonts/conf.d/
and reboot the computer.
If so do not like it, you can return:

Code: Select all

rm /etc/fonts/conf.d/10-autohint.conf
More details here: http://mirror.yandex.ru/slackware/slack ... _HINTS.TXT

Re: [SOLVED] 13.1 fonts changed after gslapt update

Posted: 22. Mar 2012, 23:43
by Dennola4
Thanks Andyun....

I have been using the newer font scheme and gotten used to it, so I no longer find it *terrible*, but honestly the old font scheme seems cleaner and less distracting to my eyes. Just a matter of personal taste.

Thanks again both to you and Gapan.

:geek:

Re: [SOLVED] 13.1 fonts changed after gslapt update

Posted: 27. Mar 2012, 10:10
by Andyun
In Slackware 13.37 in Freetype is disabled subpixel rendering setup. To fix this, download all from
http://mirror.yandex.ru/slackware/slack ... /freetype/ or
http://mirror.yandex.ru/slackware/slack ... /freetype/ or
http://mirror.yandex.ru/slackware/slack ... /freetype/ and edit "freetype.SlackBuild": uncomment (remove the symbol "#") at beginning of the line:

Code: Select all

zcat $CWD/freetype.subpixel.rendering.diff.gz | patch -p1 --verbose || exit 1
You can still immediately add that manually does not make the link (ln -s ../conf.avail/10-autohint.conf /etc/fonts/conf.d/).
Add this:

Code: Select all

mkdir -p $PKG/etc/fonts/conf.d
( cd $PKG/etc/fonts/conf.d
  ln -s ../conf.avail/10-autohint.conf .
)
after lines:

Code: Select all

mkdir -p $PKG/usr/include
( cd $PKG/usr/include
  rm -rf freetype
  ln -sf freetype2/freetype .
)
Make the file "freetype.SlackBuild" executable and recompile the package Freetype. Open a terminal in the folder with the compiled package and run (root):

Code: Select all

removepkg freetype && installpkg freetype-2.4.10-i486-1.txz
Font settings (in Xfce) are done in the menu Settings -> Appearance -> Font.
For the changes to take effect, log off and log back on to the graphical environment.