LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem with fonts after last current upgrade. (https://www.linuxquestions.org/questions/slackware-14/problem-with-fonts-after-last-current-upgrade-4175614100/)

gildbg 09-19-2017 07:13 AM

Problem with fonts after last current upgrade.
 
Hello,
I use slakcware current on x86_64. After last upgrade from today Mon Sep 18 19:15:03 UTC 2017
All texts on web pages become very ugly. My kde setup is activated 96 dpi and subpixel. I don't have problems with kde fonts, only with mozilla, terminal.

My custom config is:
Code:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
  <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
  <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
  <const>hintmedium</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="autohint">
  <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
  <bool>true</bool>
  </edit>
 </match>
</fontconfig>


Any one can point me some solution ?

gmgf 09-19-2017 07:31 AM

For firefox maybe it's this bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1393467

gildbg 09-19-2017 07:39 AM

Thx,
It's seems this wont be fixes in version 55 of firefox.

gmgf 09-19-2017 08:28 AM

I will try to rebuild firefox with this patch:

https://git.archlinux.org/svntogit/p...ckages/firefox

gmgf 09-19-2017 10:26 AM

It seem that it is little better with this patch, but not perfect, for me ;)

ponce 09-19-2017 10:39 AM

Quote:

Originally Posted by gildbg (Post 5760463)
I use slakcware current on x86_64. After last upgrade from today Mon Sep 18 19:15:03 UTC 2017
All texts on web pages become very ugly. My kde setup is activated 96 dpi and subpixel. I don't have problems with kde fonts, only with mozilla, terminal.

My custom config is:
Code:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
  <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
  <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
  <const>hintmedium</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="autohint">
  <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
  <bool>true</bool>
  </edit>
 </match>
</fontconfig>


Any one can point me some solution ?

as the latest updates contained a new freetype package could it be that you have mistakenly overwritten your custom configuration in /etc/profile.d/freetype.sh ?

onebuck 09-19-2017 10:41 AM

Member response
 
Hi,

My .Xresources file for reference;
Code:

cat .Xresources

XTerm*faceName: Inconsolata
XTerm*faceSize: 10
XTerm*cursorBlink: true
XTerm*cursorUnderLine: true
XTerm*saveLines:  32768
XTerm*locale: true
XTerm*reverseVideo: true
XTerm*utf8: 1
XTerm*termName: xterm-256color
XTerm*autoWrap: true

Xft.dpi: 96
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
Xft.autohint: 0

URxvt.font: xft:Inconsolata:pixelsize=16
URxvt.saveLines: 65535
URxvt.scrollBar: false
URxvt.reverseVideo: true
URxvt.depth: 32
URxvt*cursorUnderline: true
URxvt*transparent: true
URxvt*shading: 20
URxvt*cusorBlink: false
URxvt*termName: rxvt-unicode-256color

Rxvt*cursorBlink: true
Rxvt*visualBell: true

Hope this helps.
Have fun & enjoy!
:hattip:

e5150 09-19-2017 10:53 AM

The new freetype defaults to infinality-ish subpixel hinting setting FREETYPE_PROPERTIES to truetype:interpreter-version=35 reverts the behaviour to the sane old hinting engine.

andygoth 09-19-2017 11:31 AM

Quote:

Originally Posted by e5150 (Post 5760534)
The new freetype defaults to infinality-ish subpixel hinting setting FREETYPE_PROPERTIES to truetype:interpreter-version=35 reverts the behaviour to the sane old hinting engine.

Running "FREETYPE_PROPERTIES=truetype:interpreter-version=35 firefox" doesn't seem to make any difference. Is there something else I need to do to test this change?

The problem I'm experiencing is the rightmost column of pixels is not being displayed, so for example, depending on the font, "q" looks like "c". Is this the same problem everyone else is having, or do I have some other issue? It started just minutes ago due to me updating to the latest -current, which included a freetype change. My last update was a few days ago, and everything seemed fine then.

ponce 09-19-2017 11:36 AM

Quote:

Originally Posted by andygoth (Post 5760551)
Running "FREETYPE_PROPERTIES=truetype:interpreter-version=35 firefox" doesn't seem to make any difference. Is there something else I need to do to test this change?

The problem I'm experiencing is the rightmost column of pixels is not being displayed, so for example, depending on the font, "q" looks like "c". Is this the same problem everyone else is having, or do I have some other issue? It started just minutes ago due to me updating to the latest -current, which included a freetype change. My last update was a few days ago, and everything seemed fine then.

set it in /etc/profile.d/freetype.sh, logout from your session (and X) and login again.

dugan 09-19-2017 11:38 AM

Quote:

The problem I'm experiencing is the rightmost column of pixels is not being displayed, so for example, depending on the font, "q" looks like "c". Is this the same problem everyone else is having, or do I have some other issue?
I'm having this issue. So far, Firefox is the only app I've had it with. I don't have a fix.

Quote:

set it in /etc/profile.d/freetype.sh, logout from your session (and X) and login again.
After I set it, I launch xfce from sddm (from ktown), I launch a terminal, and check whether it's set. It's not. I'm going to try to check why not later tonight.

ponce 09-19-2017 11:42 AM

here I'm using the new renderer and things seem to look fine
Code:

$ set | grep FREETYPE
FREETYPE_PROPERTIES=truetype:interpreter-version=40


andygoth 09-19-2017 11:42 AM

Quote:

Originally Posted by ponce (Post 5760552)
set it in /etc/profile.d/freetype.sh, logout from your session (and X) and login again.

I made this change, restarted X, fired up Firefox, but there is no effect. Screenshot:

http://andy.junkdrome.org/forum/badfont.png

andygoth 09-19-2017 11:44 AM

Quote:

Originally Posted by dugan (Post 5760554)
So far, Firefox is the only app I've had it with. I don't have a fix.

I'm also experiencing the problem in Thunderbird. No surprise there. It doesn't seem to be happening in vim (gvim).

Quote:

Originally Posted by dugan (Post 5760554)
After I set it, I launch xfce from sddm (from ktown), I launch a terminal, and check whether it's set. It's not. I'm going to try to check why not later tonight.

I confirmed that this variable is in fact being set for me.

Code:

$ echo $FREETYPE_PROPERTIES
truetype:interpreter-version=35


gmgf 09-19-2017 11:47 AM

I have rerebuild firefox + this other patch:

https://git.archlinux.org/svntogit/p...ckages/firefox

and the font are really better now .


All times are GMT -5. The time now is 03:11 PM.