Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Cannot force all fonts to be antialiased

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

Cannot force all fonts to be antialiased

  • Quote

Post by the_bat » Tue Feb 26, 2008 12:50 pm

Hi,

I basically want all my fonts to be unhinted and antialiased (with sub-pixel) and have setup my setup that way. However, I can not convince firefox to adhere to this.

I use the following small test page:

Code: Select all

<html>
  <body>
    <div style="font-family: Courier, Courier New, monospace;">
      Testing /// \\\ X O
    </div>
    <div style="font-family: Courier;">
      Testing /// \\\ X O
    </div>
    <div style="font-family: Courier New;">
      Testing /// \\\ X O
    </div>
    <div style="font-family: monospace;">
      Testing /// \\\ X O
    </div>
  </body>
</html>
My firefox renders this like so:

http://os.inf.tu-dresden.de/~mp26/tmp/fonts.png

My understanding is that all lines should look roughly like the fourth line.

However, line 1 and 3 are not anti-aliased and line 2 is not courier [new]. The user account which does the rendering does not have any local font settings (.fonts.conf). Another account uses the following .fonts.conf, but with similar results:

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font" >
  <edit mode="assign" name="hinting" >
   <bool>false</bool>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="hintstyle" >
   <const>hintnone</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="rgba" >
   <const>rgb</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
My global setting in /etc/conf.d/ is like this:

Code: Select all

10-sub-pixel-rgb.conf@
10-unhinted.conf@
20-fix-globaladvance.conf@
30-urw-aliases.conf@
40-nonlatin.conf@
45-latin.conf@
49-sansserif.conf@
50-user.conf@
51-local.conf@
60-latin.conf@
65-fonts-persian.conf@
65-nonlatin.conf@
69-unifont.conf@
70-no-bitmaps.conf@
80-delicious.conf@
90-synthetic.conf@
One further oddity here is, that when I zoom in or out several levels (2--3) in firefox, line 1 and 3 are antialiased.

Any hints appreciated.
Top
the_bat
n00b
n00b
Posts: 43
Joined: Wed Feb 12, 2003 8:13 pm

  • Quote

Post by the_bat » Wed Feb 27, 2008 4:59 pm

*bump*

How does the sample code looks for you? If better, how is your config?
Top
Post Reply

2 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic