Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT/KDE 4: unnecessary font substitutions
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
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 163

PostPosted: Sat Oct 10, 2009 4:12 pm    Post subject: QT/KDE 4: unnecessary font substitutions Reply with quote

Hello gentoolmen :)

I googled my buns off trying to figure out what is really going on, but I just can't. Every search term combination I come up with returns a lot of results. It seems people have a lot of these problems, but none quite match.

I want to have some kind of bitmap font for my terminals. I've been using media-fonts/terminus-font for years now and I have no intention of switching. It contains all the glyphs I need. It seems, however, that qt4 disagrees with that assertion. I can, for example, use characters
Code:
éå¢

and they display as they should. On the other hand, characters
Code:
čšž€

do not. They are rendered in a different font, and I'm not sure which. It could be DejaVu, but I don't think it's important. This problem appears in both KDE and QT applications, like konsole, kate, systemsettings and qtconfig. It seems to me as if QT 4 doesn't see these particular glyphs and substitutes a different font.

Applications which do not use QT or use <x11-libs/qt-4.0, do not exhibit this behaviour. Tested with app-editors/emacs-23.1 and kde-3.5.10 versions of kate, konsole and kcontrol. I also tested the Fixed [misc] font and it has the same problem.

I would be very grateful if anyone can point me in the right direction. Here are my fontconfig settings. There are no font substitutions configured in qtconfig.
Code:

  [1]   10-autohint.conf                           
  [2]   10-no-sub-pixel.conf                       
  [3]   10-sub-pixel-bgr.conf                     
  [4]   10-sub-pixel-rgb.conf *                   
  [5]   10-sub-pixel-vbgr.conf                     
  [6]   10-sub-pixel-vrgb.conf
  [7]   10-unhinted.conf
  [8]   20-fix-globaladvance.conf *
  [9]   20-unhint-small-dejavu-sans.conf
  [10]  20-unhint-small-dejavu-sans-mono.conf
  [11]  20-unhint-small-dejavu-serif.conf
  [12]  20-unhint-small-vera.conf
  [13]  25-ttf-arphic-ukai-render.conf
  [14]  25-ttf-arphic-uming-bitmaps.conf
  [15]  25-ttf-arphic-uming-render.conf
  [16]  25-unhint-nonlatin.conf
  [17]  30-metric-aliases.conf *
  [18]  30-urw-aliases.conf *
  [19]  35-ttf-arphic-ukai-aliases.conf
  [20]  35-ttf-arphic-uming-aliases.conf
  [21]  40-nonlatin.conf *
  [22]  41-ttf-arphic-ukai.conf
  [23]  41-ttf-arphic-uming.conf
  [24]  45-latin.conf *
  [25]  49-sansserif.conf *
  [26]  50-user.conf
  [27]  51-local.conf
  [28]  57-dejavu-sans.conf *
  [29]  57-dejavu-sans-mono.conf *
  [30]  57-dejavu-serif.conf *
  [31]  60-aquafont.conf
  [32]  60-latin.conf *
  [33]  64-ttf-arphic-uming.conf
  [34]  65-fonts-persian.conf *
  [35]  65-khmer.conf *
  [36]  65-nonlatin.conf *
  [37]  69-unifont.conf *
  [38]  70-no-bitmaps.conf
  [39]  70-yes-bitmaps.conf *
  [40]  75-ttf-arphic-ukai-select.conf
  [41]  80-delicious.conf *
  [42]  90-synthetic.conf *
  [43]  90-ttf-arphic-ukai-embolden.conf
  [44]  90-ttf-arphic-uming-embolden.conf
Back to top
View user's profile Send private message
dw2sm
n00b
n00b


Joined: 13 Sep 2006
Posts: 29
Location: Poland, Wrocław

PostPosted: Sun Mar 25, 2012 12:27 am    Post subject: Reply with quote

Hi,

Look at this http://forums.gentoo.org/viewtopic-p-6994580.html#6994580 post. Maybe it solve your problem.
Back to top
View user's profile Send private message
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 163

PostPosted: Sun Mar 25, 2012 7:04 am    Post subject: Reply with quote

Wow, I never imagined one could get an answer for a problem this old :) . Great!
However, I can't confirm that your solution works because the problem resolved itself on its own in the meantime. I don't even know when, but it did take long enough for me to completely forget I ever asked this question.
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