[SOLVED] 13.1 fonts changed after gslapt update

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

[SOLVED] 13.1 fonts changed after gslapt update

Post 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:
Last edited by Dennola4 on 14. Mar 2012, 17:41, edited 2 times in total.
There are no stupid questions.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Fonts changed after last update

Post 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.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Fonts changed after last update

Post 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.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: Fonts changed after last update

Post 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?

:?:
There are no stupid questions.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Fonts changed after last update

Post 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.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: Fonts changed after last update

Post by Dennola4 »

Okey doke.

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

:)
There are no stupid questions.
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: [SOLVED] 13.1 fonts changed after gslapt update

Post 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
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: [SOLVED] 13.1 fonts changed after gslapt update

Post 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:
There are no stupid questions.
User avatar
Andyun
Posts: 456
Joined: 17. Jun 2010, 09:51
Location: Russia: Severodvinsk / Россия: Северодвинск

Re: [SOLVED] 13.1 fonts changed after gslapt update

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