Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
updated nvidia, xorg-server, font rendering sux :( [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Apr 13, 2016 6:38 pm    Post subject: updated nvidia, xorg-server, font rendering sux :( [SOLVED] Reply with quote

Just got back from a trip, and updated the kernel (gentoo-sources-4.5.1), nvidia-drivers (364.15), and xorg-server (1.18.3). Now, when I start back into X (actually FVWM), fonts in a bunch of apps look terrible: audacious, libreoffice, the file-save dialog for Opera, mplayer, etc (but not the fonts that Opera renders itself, such as the context menu or this text-entry field).

So, what update caused font rendering to go so wonky? All the fonts are pixellated and ugly, to the point that unequal-weight fonts (like the otherwise excellent Linux Libertine) are completely unreadable in LibreOffice.

Thanks for the help,

EE
Update: this is only seeming to affect GTK apps: the font rendering in Qt apps (such as K3B or Dolphin) still looks fine. I vaguely think it has something to do with either mesa or cairo, but atm I can't update mesa (due to this bug). I'll try working around that and update some other stuff and see if it gets fixed.


Last edited by ExecutorElassus on Thu Apr 14, 2016 6:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Apr 13, 2016 7:32 pm    Post subject: Reply with quote

I doubt mesa has anything to do with your problem in a nvidia system.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Apr 13, 2016 8:00 pm    Post subject: Reply with quote

update: I remerged cairo, glib, gtk+:2 and gtk+:3. It did not help, and in fact, font rendering is even worse. Audacious looks like it's using some dot-matrix console font, and the fonts in LibreOffice are awful in the menus now as well (and the document itself is still damn near unreadable).

Any idea what might be causing this? It's an unholy mess. Should I try downgrading xorg-server, and see if that fixes it? Or nvidia-drivers?

EDIT: Here's another wrinkle: lxappearance allows me to set font hinting and antialiasing for gtk apps. However, the setting isn't being preserved. Why might that be?

Cheers,

EE
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Apr 13, 2016 8:17 pm    Post subject: Reply with quote

Maybe you should start with eselect fontconfig list
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Wed Apr 13, 2016 8:23 pm    Post subject: Reply with quote

I get this:
Code:
# eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   09-texlive.conf
  [2]   10-autohint.conf *
  [3]   10-hinting-full.conf
  [4]   10-hinting-medium.conf
  [5]   10-hinting-none.conf
  [6]   10-hinting-slight.conf *
  [7]   10-no-sub-pixel.conf
  [8]   10-scale-bitmap-fonts.conf *
  [9]   10-sub-pixel-bgr.conf
  [10]  10-sub-pixel-rgb.conf *
  [11]  10-sub-pixel-vbgr.conf
  [12]  10-sub-pixel-vrgb.conf
  [13]  10-unhinted.conf
  [14]  11-lcdfilter-default.conf
  [15]  11-lcdfilter-legacy.conf
  [16]  11-lcdfilter-light.conf
  [17]  20-unhint-small-dejavu-sans.conf
  [18]  20-unhint-small-dejavu-sans-mono.conf
  [19]  20-unhint-small-dejavu-serif.conf
  [20]  20-unhint-small-vera.conf *
  [21]  25-ttf-arphic-ukai-render.conf
  [22]  25-ttf-arphic-uming-bitmaps.conf
  [23]  25-ttf-arphic-uming-render.conf
  [24]  25-unhint-nonlatin.conf
  [25]  30-metric-aliases.conf *
  [26]  30-urw-aliases.conf *
  [27]  35-ttf-arphic-ukai-aliases.conf
  [28]  35-ttf-arphic-uming-aliases.conf
  [29]  40-nonlatin.conf *
  [30]  41-ttf-arphic-ukai.conf
  [31]  41-ttf-arphic-uming.conf
  [32]  45-latin.conf *
  [33]  49-sansserif.conf *
  [34]  50-user.conf *
  [35]  51-local.conf *
  [36]  57-dejavu-sans.conf
  [37]  57-dejavu-sans-mono.conf
  [38]  57-dejavu-serif.conf
  [39]  60-latin.conf *
  [40]  60-liberation.conf
  [41]  64-ttf-arphic-uming.conf
  [42]  65-0-lohit-marathi.conf
  [43]  65-0-lohit-nepali.conf
  [44]  65-culmus.conf
  [45]  65-fonts-persian.conf *
  [46]  65-khmer.conf
  [47]  65-nonlatin.conf *
  [48]  66-ja-ipafonts.conf
  [49]  66-lohit-assamese.conf
  [50]  66-lohit-bengali.conf
  [51]  66-lohit-devanagari.conf
  [52]  66-lohit-gujarati.conf
  [53]  66-lohit-gurmukhi.conf
  [54]  66-lohit-kannada.conf
  [55]  66-lohit-odia.conf
  [56]  66-lohit-tamil-classical.conf
  [57]  66-lohit-tamil.conf
  [58]  66-lohit-telugu.conf
  [59]  67-lohit-malayalam.conf
  [60]  69-unifont.conf *
  [61]  70-no-bitmaps.conf
  [62]  70-yes-bitmaps.conf
  [63]  75-ttf-arphic-ukai-select.conf
  [64]  80-delicious.conf *
  [65]  90-synthetic.conf *
  [66]  90-ttf-arphic-ukai-embolden.conf
  [67]  90-ttf-arphic-uming-embolden.conf
  [68]  99pdftoopvp.conf


Anything I should do with that?

Cheers,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1170
Location: Stuttgart, Germany

PostPosted: Thu Apr 14, 2016 6:07 pm    Post subject: Reply with quote

Ah, I fixed it. Your comment put me on the path to looking into my fontconfig settings. Turns out I had kinda weak settings in my ~/.fonts.conf file, and also needed to enable some of the items in the eselect list. Now things look much better (and I also figured out that using a "weight=x" statement in my conkyrc file was being ignored and causing it to default to something stupid, so now I deleted all those and conky is more reliable as well).

Thanks for the help! Setting to [SOLVED]

EE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum