Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]New freetype subpixel font rendering for lcd monitors
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 27, 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Sat Nov 01, 2008 3:31 pm    Post subject: Reply with quote

Thanks Paul, I've fixed the directfb-no-accel patch and updated to 1.8.2 in the overlay.
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sat Nov 01, 2008 10:19 pm    Post subject: Reply with quote

Thanks for your work, I have updated devnull overlay too.
Back to top
View user's profile Send private message
briancl
n00b
n00b


Joined: 30 Jun 2007
Posts: 7

PostPosted: Tue Nov 04, 2008 8:26 pm    Post subject: Reply with quote

I have my fonts setup the way I want using the devnull overlay and configs I copies from this thread, but for some reason the bold fonts are fuzzy. Can anyone identify what I am missing? Also, one thing I notice is a bit odd. I have hinting set to full in all possible places, but xrdb -query shows "Xft.hintstyle" is set to medium. Why is that?

In this screenshot you can see the non-bold text looks good, but the bold text in the titlebar and in the webpage is fuzzy. http://kokshark.techbandits.com/~silent/font.png

build options and overlay:
Code:
[ebuild   R   ] media-libs/freetype-2.3.7  USE="X ubuntu -bindist -debug -doc -utils" 0 kB [1]
[ebuild   R   ] media-libs/fontconfig-2.6.0-r2  USE="ubuntu -doc" 0 kB [1]
[ebuild   R   ] x11-libs/libXft-2.1.13  USE="newspr -debug" 0 kB [1]
[ebuild   R   ] x11-libs/cairo-1.8.2  USE="X glitz newspr opengl svg -debug -directfb -doc -xcb" 0 kB [1]

Total: 4 packages (4 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/devnull


fontconfig:
Code:
  [1]   10-antialias.conf *
  [2]   10-autohint.conf
  [3]   10-hinting.conf *
  [4]   10-hinting-full.conf *
  [5]   10-hinting-medium.conf
  [6]   10-hinting-slight.conf
  [7]   10-no-sub-pixel.conf
  [8]   10-sub-pixel-bgr.conf
  [9]   10-sub-pixel-rgb.conf *
  [10]  10-sub-pixel-vbgr.conf
  [11]  10-sub-pixel-vrgb.conf
  [12]  10-unhinted.conf
  [13]  11-lcd-filter-lcddefault.conf *
  [14]  20-fix-globaladvance.conf *
  [15]  20-unhint-small-vera.conf *
  [16]  25-unhint-nonlatin.conf *
  [17]  30-metric-aliases.conf *
  [18]  30-urw-aliases.conf *
  [19]  40-nonlatin.conf *
  [20]  45-latin.conf *
  [21]  49-sansserif.conf *
  [22]  50-user.conf *
  [23]  51-local.conf *
  [24]  53-monospace-lcd-filter.conf *
  [25]  59-dejavu.conf *
  [26]  60-latin.conf *
  [27]  65-fonts-persian.conf *
  [28]  65-khmer.conf
  [29]  65-nonlatin.conf *
  [30]  69-unifont.conf *
  [31]  70-no-bitmaps.conf *
  [32]  70-yes-bitmaps.conf
  [33]  80-delicious.conf *
  [34]  90-synthetic.conf *


/etc/fonts/local.conf:
Code:
# cat /etc/fonts/local.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable" >
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>
  <alias binding="same">
    <family>Helvetica</family>
    <accept>
      <family>DejaVu Sans</family>
    </accept>
  </alias>
  <alias binding="same">
    <family>Times</family>
    <accept>
      <family>DejaVu Serif</family>
    </accept>
  </alias>
  <alias binding="same">
    <family>Courier</family>
    <accept>
      <family>DejaVu Sans Mono</family>
    </accept>
  </alias>

</fontconfig>


my user's .fonts.conf
Code:
# cat ~/.fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>false</bool>
  </edit>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="lcdfilter" >
   <const>lcddefault</const>
  </edit>
  <!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
 </match>
 <selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable" >
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>
 <match target="font">
  <test name="weight" compare="more"><const>medium</const></test>
   <edit name="autohint" mode="assign"><bool>false</bool></edit>
   <edit name="hinting" mode="assign"><bool>false</bool></edit>
   <edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
 </match>
</fontconfig>


xrdb:
Code:
xrdb -query | grep Xft
Xft.antialias:  1
Xft.hinting:    1
Xft.hintstyle:  hintmedium
Xft.lcdfilter:  lcddefault
Xft.rgba:       rgb
Back to top
View user's profile Send private message
mwhitlock
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2006
Posts: 75
Location: Weare, NH

PostPosted: Tue Nov 04, 2008 8:33 pm    Post subject: Reply with quote

briancl, your system is doing exactly what you told it to do, but as is often the case with computers, maybe not what you want it to do.

Remove the last <match> section from your ~/.fonts.conf. That section is disabling hinting for bold fonts, but evidently you like the look of hinted fonts, so you should remove that override.
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Mon Nov 24, 2008 11:34 pm    Post subject: Reply with quote

bi3l wrote:
Thanks Paul, I've fixed the directfb-no-accel patch and updated to 1.8.2 in the overlay.


Thanks for your great work and constant updates!
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
orangeluna
n00b
n00b


Joined: 18 Nov 2008
Posts: 16

PostPosted: Tue Nov 25, 2008 8:02 pm    Post subject: Reply with quote

thanks to bi3l and to whomever else it responsible to getting great font rendering on my Gentoo box. I have one question that I can't figure out though, I have selected "[15] 20-unhint-small-dejavu.conf" but my nine point dejavu fonts are still being hinted. Here's my "eselect fontconfig list" and my ".fonts.conf":

Code:
[1]   10-antialias.conf *                         
  [2]   10-autohint.conf                             
  [3]   10-hinting.conf *                           
  [4]   10-hinting-full.conf                         
  [5]   10-hinting-medium.conf *                     
  [6]   10-hinting-slight.conf                       
  [7]   10-no-sub-pixel.conf                         
  [8]   10-sub-pixel-bgr.conf                       
  [9]   10-sub-pixel-rgb.conf *                     
  [10]  10-sub-pixel-vbgr.conf                       
  [11]  10-sub-pixel-vrgb.conf                       
  [12]  10-unhinted.conf                             
  [13]  11-lcd-filter-lcddefault.conf *             
  [14]  20-fix-globaladvance.conf *                 
  [15]  20-unhint-small-dejavu.conf *               
  [16]  20-unhint-small-dejavu-experimental.conf *   
  [17]  20-unhint-small-vera.conf *                 
  [18]  25-unhint-nonlatin.conf                     
  [19]  30-metric-aliases.conf *                     
  [20]  30-replace-bitmap-fonts.conf *               
  [21]  30-urw-aliases.conf *                       
  [22]  40-nonlatin.conf *                           
  [23]  45-latin.conf *
  [24]  49-sansserif.conf *
  [25]  50-user.conf *
  [26]  51-local.conf *
  [27]  52-languageselector.conf *
  [28]  53-monospace-lcd-filter.conf *
  [29]  57-dejavu.conf
  [30]  60-latin.conf *
  [31]  60-liberation.conf *
  [32]  61-dejavu-experimental.conf
  [33]  65-fonts-persian.conf *
  [34]  65-khmer.conf
  [35]  65-nonlatin.conf *
  [36]  69-unifont.conf *
  [37]  70-no-bitmaps.conf *
  [38]  70-yes-bitmaps.conf
  [39]  80-delicious.conf *
  [40]  90-synthetic.conf *


Code:
<?xml version="1.0"?>                                     
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">                 
<fontconfig>                                             

<!-- default setting for everything. -->
<!-- set system-wide by "eselect fontconfig" -->
<!--   antialias, hinting-slight (no autohint!?), no sub-pixel -->

<fontconfig>
 <match target="font" >
  <!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
  <edit mode="assign" name="lcdfilter" >           
   <const>lcddefault</const>                       
  </edit>                                         
 </match>                                         

<!-- Fonts in this size range render unreliably using the LCD filter;
  problems with tracking and kerning, predominantly. The solution is 
  to disable autohinting so the BCI takes over. -->                   
 <match target="font" >                                               
  <test compare="more" name="pixelsize" qual="all" >                 
   <double>9</double>                                                 
  </test>                                                             
  <test compare="less" name="pixelsize" qual="all" >                 
   <double>13</double>                                               
  </test>                                                             
  <edit mode="assign" name="autohint" >                               
   <bool>false</bool>                                                 
  </edit>                                                             
  <edit mode="assign" name="rgba" >                                   
   <const>none</const>                                               
  </edit>                                                             
 </match>                                                             

<!-- Turn off autohinting for Arial medium sizes -->
 <match target="font" >                             
  <test compare="less" name="pixelsize" qual="all" >
   <double>14</double>                             
  </test>                                           
  <test compare="more" name="pixelsize" qual="all" >
   <double>11.75</double>                           
  </test>                                           
  <test name="family" qual="all" >                 
   <string>Arial</string>                           
  </test>                                           
  <edit mode="assign" name="autohint" >             
   <bool>false</bool>                               
  </edit>                                           
  <edit mode="assign" name="rgba" >                 
   <const>none</const>                             
  </edit>                                           
 </match>                                           

<!-- Turn off autohinting for Verdana small sizes -->
 <match target="font" >                             
  <test compare="less" name="pixelsize" qual="all" >
   <double>11</double>                               
  </test>                                           
  <test name="family" qual="all" >                   
   <string>Verdana</string>                         
  </test>                                           
  <edit mode="assign" name="autohint" >             
   <bool>false</bool>                               
  </edit>                                           
  <edit mode="assign" name="rgba" >                 
   <const>none</const>                               
  </edit>                                           
 </match>                                           

<!-- Prevent smaller boldfaced serif text from becoming too big.-->
 <match target="font" >                                           
  <test name="weight" qual="all" >                                 
   <const>bold</const>                                             
  </test>                                                         
  <test compare="less" name="pixelsize" qual="all" >               
   <double>15</double>                                             
  </test>                                                         
  <test compare="more" name="pixelsize" qual="all" >               
   <double>7</double>                                             
  </test>                                                         
  <test name="family" qual="any" >                                 
   <string>Georgia</string>                                       
   <string>Gentium</string>                                       
   <string>Times New Roman</string>                               
   <string>Garamond</string>                                       
   <string>Apple Garamond</string>                                 
   <string>serif</string>                                         
   <string>Linux Libertine</string>                               
   <string>Linux Libertine OTF</string>                           
  </test>                                                         
  <edit mode="assign" name="hintstyle" >                           
   <const>hintfull</const>                                         
  </edit>                                                         
  <edit mode="assign" name="autohint" >                           
   <bool>false</bool>                                             
  </edit>                                                         
  <edit mode="assign" name="rgba" >                               
   <const>none</const>                                             
  </edit>                                                         
 </match>                                                         

        <!-- Replace Courier with a better-looking font -->
        <match name="family" target="pattern">             
                <test name="family" qual="any">           
                        <string>Courier</string>           
                </test>                                   
                <edit name="family" mode="assign">         
                        <!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->                                                 
                        <string>Bitstream Vera Sans Mono</string>               
                </edit>                                                         
        </match                                                                 

        <!-- Replace Courier New with a better-looking font -->
        <match name="family" target="pattern">                 
                <test name="family" qual="any">               
                        <string>Courier New</string>           
                </test>                                       
                <edit name="family" mode="assign">
                        <!-- Other choices - Andale Mono, Courier New, Luxi Mono, Bitstream Vera Sans Mono -->
                        <string>Bitstream Vera Sans Mono</string>
                </edit>
        </match>

        <!-- To fix Calibri font - http://forums.fedoraforum.org/showthread.php?p=1045807#post1045807 -->
        <match target="font">
                <edit name="embeddedbitmap" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>

</fontconfig>


How can I fix this?
Back to top
View user's profile Send private message
mwhitlock
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2006
Posts: 75
Location: Weare, NH

PostPosted: Tue Nov 25, 2008 8:10 pm    Post subject: Reply with quote

orangeluna wrote:
thanks to bi3l and to whomever else it responsible to getting great font rendering on my Gentoo box. I have one question that I can't figure out though, I have selected "[15] 20-unhint-small-dejavu.conf" but my nine point dejavu fonts are still being hinted.

Unless you've edited 20-unhint-small-dejavu.conf, it'll only unhint DejaVu fonts at sizes less than 7.5 pixels. Unless you're running your X at less than 60 dpi, 9-point text is going to be rendered using more than 7.5 pixels.
Back to top
View user's profile Send private message
orangeluna
n00b
n00b


Joined: 18 Nov 2008
Posts: 16

PostPosted: Tue Nov 25, 2008 10:29 pm    Post subject: Reply with quote

mwhitlock wrote:
orangeluna wrote:
thanks to bi3l and to whomever else it responsible to getting great font rendering on my Gentoo box. I have one question that I can't figure out though, I have selected "[15] 20-unhint-small-dejavu.conf" but my nine point dejavu fonts are still being hinted.

Unless you've edited 20-unhint-small-dejavu.conf, it'll only unhint DejaVu fonts at sizes less than 7.5 pixels. Unless you're running your X at less than 60 dpi, 9-point text is going to be rendered using more than 7.5 pixels.


Thanks mwhitlock you got me on the right track. The configurations for the system (eselect fontconfig...) were right (i.e. dejavu was doing what it was supposed to do). I discovered that this line in my ".fonts.conf" made the low-pixel fonts hinted:

Code:
 <match target="font" >                                               
  <test compare="more" name="pixelsize" qual="all" >                 
   <double>9</double>                                                 
  </test>                                                             
  <test compare="less" name="pixelsize" qual="all" >                 
   <double>13</double>                                               
  </test>                                                             
  <edit mode="assign" name="autohint" >                               
   <bool>false</bool>                                                 
  </edit>                                                             
  <edit mode="assign" name="rgba" >                                   
   <const>none</const>                                               
  </edit>                                                             
 </match> 


I got the DE setup now and all the font configured nicely. Thanks mwhitlock, I got a nicely font rendered screen and I don't even need a ~/.fonts.conf!

Thanks to bi3l for ebuilds.
Back to top
View user's profile Send private message
orangeluna
n00b
n00b


Joined: 18 Nov 2008
Posts: 16

PostPosted: Wed Nov 26, 2008 4:56 pm    Post subject: Reply with quote

A bug in one of these programs I discovered is rendering fonts unpredictably if I don't have a "~/.fonts.conf" so it is a good idea to create a basic setup:
Code:
<?xml version="1.0"?><fontconfig>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
 <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>
</fontconfig>

_________________
If we try real hard occasionally we can aspire to something that is less than pure evil.

--House
Back to top
View user's profile Send private message
GoofyX
n00b
n00b


Joined: 23 Feb 2005
Posts: 51
Location: Thessaloniki, Greece

PostPosted: Thu Dec 04, 2008 6:44 pm    Post subject: Reply with quote

cairo-1.8.4 was committed in portage.
_________________
... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
Back to top
View user's profile Send private message
bi3l
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 268
Location: France

PostPosted: Thu Dec 04, 2008 7:09 pm    Post subject: Reply with quote

And the overlay has been updated.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1291
Location: Netherlands

PostPosted: Thu Dec 04, 2008 11:38 pm    Post subject: Reply with quote

bi3l wrote:
And the overlay has been updated.

Thanks bi3l for your good & fast work :-)
Back to top
View user's profile Send private message
acevery
n00b
n00b


Joined: 03 Nov 2005
Posts: 53
Location: Amoy, China

PostPosted: Fri Dec 05, 2008 2:44 am    Post subject: Reply with quote

bi3l wrote:
And the overlay has been updated.


Thanks bi3l, you greatly help us :D
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 518
Location: Tucson, AZ

PostPosted: Fri Dec 05, 2008 9:18 pm    Post subject: Reply with quote

It is a good update. My text is noticeably better.
_________________
--Aaron
Back to top
View user's profile Send private message
na641
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 169
Location: Sacramento

PostPosted: Fri Dec 05, 2008 9:47 pm    Post subject: Reply with quote

hmm, am i the only one not seeing this newest cairo in my overlay after updating? am i missing something?
Back to top
View user's profile Send private message
tuqs
n00b
n00b


Joined: 02 Dec 2007
Posts: 6

PostPosted: Sun Dec 07, 2008 1:26 am    Post subject: Reply with quote

na641 wrote:
hmm, am i the only one not seeing this newest cairo in my overlay after updating? am i missing something?


I updated the devnull overlay. :-)
Back to top
View user's profile Send private message
Evilguru
Guru
Guru


Joined: 16 Aug 2005
Posts: 380
Location: England

PostPosted: Sat Dec 20, 2008 5:10 pm    Post subject: Reply with quote

I have followed the instructions to the letter, however, they seem to have had no effect whatsoever.

Code:

freddie@iodine ~ $ xrdb -query
[...]
Xft.antialias:   1
Xft.dpi:   99
Xft.hinting:   1
Xft.hintstyle:   hintslight
Xft.rgba:   none


Code:

iodine freddie # emerge -pv libXft cairo freetype fontconfig

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/freetype-2.3.7  USE="X ubuntu -bindist -debug -doc -utils" 0 kB [1]
[ebuild   R   ] media-libs/fontconfig-2.6.0-r2  USE="ubuntu -doc" 0 kB [1]
[ebuild   R   ] x11-libs/libXft-2.1.13  USE="newspr -debug" 0 kB [1]
[ebuild   R   ] x11-libs/cairo-1.8.4  USE="X newspr opengl svg -debug -directfb -doc -glitz -xcb" 0 kB [1]

Total: 4 packages (4 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage/layman/lcd-filtering
iodine freddie #


Code:

freddie@iodine ~ $ cat ~/.fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
  <edit mode="assign" name="autohint" >
   <bool>true</bool>
  </edit>
  <edit mode="assign" name="hintstyle" >
   <const>hintfull</const>
  </edit>
  <edit mode="assign" name="lcdfilter" >
   <const>lcddefault</const>
  </edit>
  <!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
 </match>
 <selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable" >
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>
</fontconfig>


I get huge amounts of colour fringing in all applications. What am I doing wrong? I run GNOME, but am unsure if the config options are breaking things.

Regards, Freddie.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Dec 20, 2008 5:18 pm    Post subject: Reply with quote

Evilguru wrote:
colour fringing in all applications.

Try changing "rgb" to one of: bgr, vrgb, vbgr

Use the almighty Google to see what's the right value for your monitor.
Back to top
View user's profile Send private message
Evilguru
Guru
Guru


Joined: 16 Aug 2005
Posts: 380
Location: England

PostPosted: Sat Dec 20, 2008 5:24 pm    Post subject: Reply with quote

PaulBredbury wrote:
Evilguru wrote:
colour fringing in all applications.

Try changing "rgb" to one of: bgr, vrgb, vbgr

Use the almighty Google to see what's the right value for your monitor.

I have tried them all; however, I can assure that it is RGB (Ubuntu live-cd for the win!). Therefore, it is a Gentoo related issue.

I have tried removing ~/.fonts.conf. Running eselect fontconfig list:
Code:

freddie@iodine ~ $ eselect fontconfig list
Available fontconfig .conf files ( * is enabled ):
  [1]   10-antialias.conf *
  [2]   10-autohint.conf *
  [3]   10-hinting.conf *
  [4]   10-hinting-full.conf
  [5]   10-hinting-medium.conf
  [6]   10-hinting-slight.conf *
  [7]   10-no-sub-pixel.conf
  [8]   10-sub-pixel-bgr.conf
  [9]   10-sub-pixel-rgb.conf *
  [10]  10-sub-pixel-vbgr.conf
  [11]  10-sub-pixel-vrgb.conf
  [12]  10-unhinted.conf
  [13]  11-lcd-filter-lcddefault.conf *
  [14]  20-fix-globaladvance.conf *
  [15]  20-unhint-small-vera.conf *
  [16]  25-unhint-nonlatin.conf
  [17]  30-metric-aliases.conf *
  [18]  30-replace-bitmap-fonts.conf *
  [19]  30-urw-aliases.conf *
  [20]  40-nonlatin.conf *
  [21]  45-latin.conf *
  [22]  49-sansserif.conf *
  [23]  50-user.conf *
  [24]  51-local.conf *
  [25]  52-languageselector.conf *
  [26]  53-monospace-lcd-filter.conf *
  [27]  60-latin.conf *
  [28]  65-fonts-persian.conf *
  [29]  65-khmer.conf
  [30]  65-nonlatin.conf *
  [31]  69-unifont.conf *
  [32]  70-no-bitmaps.conf
  [33]  70-yes-bitmaps.conf
  [34]  80-delicious.conf *
  [35]  90-synthetic.conf *

However, xrdb -query still gives the same as above (as if it is ignoring the fontconfig eselect stuff totally).

FF, GNOME and Qt apps all show colour fringing, OpenOffice.org still uses plain-old greyscale AA. I wish I knew where all of these applications were getting their info from.

Regards, Freddie.
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Dec 21, 2008 12:59 pm    Post subject: Reply with quote

I have no idea why, but in kde4 suddenly the nice fonts disappeared. They are still great in gtk apps, but not in kde. They look hinted but like that newspr thing is not applied.

Here is eselect. What else should I check?
Code:

eselect fontconfig list
Available fontconfig .conf files ( * is enabled ):     
  [1]   10-antialias.conf *                           
  [2]   10-autohint.conf                               
  [3]   10-hinting.conf *                             
  [4]   10-hinting-full.conf *                         
  [5]   10-hinting-medium.conf *                       
  [6]   10-hinting-slight.conf                         
  [7]   10-no-sub-pixel.conf *                         
  [8]   10-sub-pixel-bgr.conf                         
  [9]   10-sub-pixel-rgb.conf *                       
  [10]  10-sub-pixel-vbgr.conf                         
  [11]  10-sub-pixel-vrgb.conf                         
  [12]  10-unhinted.conf                               
  [13]  11-lcd-filter-lcddefault.conf *               
  [14]  20-fix-globaladvance.conf *                   
  [15]  20-lohit-gujarati.conf                         
  [16]  20-unhint-small-vera.conf *                   
  [17]  25-unhint-nonlatin.conf                       
  [18]  30-amt-aliases.conf                           
  [19]  30-metric-aliases.conf *
  [20]  30-replace-bitmap-fonts.conf *
  [21]  30-urw-aliases.conf *
  [22]  40-generic.conf
  [23]  40-nonlatin.conf *
  [24]  45-latin.conf *
  [25]  49-sansserif.conf *
  [26]  50-user.conf *
  [27]  51-local.conf *
  [28]  52-languageselector.conf *
  [29]  53-monospace-lcd-filter.conf *
  [30]  60-latin.conf *
  [31]  65-fonts-persian.conf *
  [32]  65-khmer.conf
  [33]  65-nonlatin.conf *
  [34]  69-unifont.conf *
  [35]  70-no-bitmaps.conf *
  [36]  70-yes-bitmaps.conf
  [37]  80-delicious.conf *
  [38]  90-synthetic.conf *

_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
ocin
Guru
Guru


Joined: 01 Jan 2006
Posts: 500

PostPosted: Sun Dec 21, 2008 3:45 pm    Post subject: Reply with quote

Code:
[4]   10-hinting-full.conf *
[5]   10-hinting-medium.conf *


you can only use one of them
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2734
Location: Bay Area, CA

PostPosted: Sun Dec 21, 2008 6:23 pm    Post subject: Reply with quote

Can anyone tell me where are the instructions? the link mentioned in the first post is dead.

Is everything required for this to work, in portage now?

I have horrible fonts in both kde and gtk apps. I have yet to update to cairo-1.8.4 though.
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Dec 21, 2008 8:10 pm    Post subject: Reply with quote

ocin wrote:
Code:
[4]   10-hinting-full.conf *
[5]   10-hinting-medium.conf *


you can only use one of them


Thanks, I think that did the trick!
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2734
Location: Bay Area, CA

PostPosted: Sun Dec 21, 2008 8:29 pm    Post subject: Reply with quote

What provides 10-hinting-*.conf ? I only seem to have the following:
Code:
# eselect fontconfig list
Available fontconfig .conf files ( * is enabled ):
  [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-vera.conf *
  [10]  25-unhint-nonlatin.conf
  [11]  30-metric-aliases.conf *
  [12]  30-urw-aliases.conf *
  [13]  40-nonlatin.conf *
  [14]  45-latin.conf *
  [15]  49-sansserif.conf *
  [16]  50-user.conf *
  [17]  51-local.conf *
  [18]  60-latin.conf *
  [19]  65-fonts-persian.conf *
  [20]  65-khmer.conf
  [21]  65-nonlatin.conf *
  [22]  69-unifont.conf *
  [23]  70-no-bitmaps.conf
  [24]  70-yes-bitmaps.conf
  [25]  80-delicious.conf *
  [26]  90-synthetic.conf *
Can someone please tell me where the instructions are? My fonts have a fuzzy look at full hinting and subpixel vrgb (rgb gives a color fringe).
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Dec 21, 2008 8:44 pm    Post subject: Reply with quote

You need that tarball as an overlay and then set the new useflags: ubuntu and newspr.
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 27, 28, 29, 30  Next
Page 28 of 30

 
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