Fedora Linux Support Community & Resources Center
  #1  
Old 1st April 2009, 08:59 PM
Mikko Offline
Registered User
 
Join Date: Nov 2008
Location: Finland
Posts: 162
Font rendering

I tried to use the Microsoft font Constantia (one of the Vista fonts) on a web page. The font looks quite different in Inkscape and Firefox. As rendered by Firefox, the font looks much heavier, almost as if it was all bold face compared to the Inkscape rendition. It's not bold, though, as the actual bold is heavier still in Firefox.

Does anyone know what the difference between Inkscape and Firefox is in this regard? Some fonts, such as the Vera family and even Microsoft's Georgia appear similar in both, but for some reason Constantia looks quite bad in Firefox.

I'm on F10, with firefox-3.0.8-1, inkscape-0.46-6 and freetype-2.3.7-3 compiled from the source RPM using '--with bytecode_interpreter' and '--with subpixel_rendering'.
Reply With Quote
  #2  
Old 1st April 2009, 10:59 PM
Lukast Offline
Registered User
 
Join Date: Jul 2007
Location: Slovak Republic
Posts: 100
Quote:
Originally Posted by Mikko View Post
...
I'm on F10, with firefox-3.0.8-1, inkscape-0.46-6 and freetype-2.3.7-3 compiled from the source RPM using '--with bytecode_interpreter' and '--with subpixel_rendering'.
How did you install the MS font into Fedora? Are paths ok?

Why do you turn on bytecode_interpreter?
Does Fedora ship freetype without subpixel_rendering? Why? Smells like patents?
__________________
Krita developer
http://www.krita.org | http://lukast.mediablog.sk/log
Reply With Quote
  #3  
Old 2nd April 2009, 05:54 PM
Mikko Offline
Registered User
 
Join Date: Nov 2008
Location: Finland
Posts: 162
Quote:
Originally Posted by Lukast View Post
How did you install the MS font into Fedora? Are paths ok?
I put the MS Cleartype fonts in a subdirectory of /usr/share/fonts. All programs that use Xft do see them and I can use them in Inkscape and e.g. OpenOffice. I just realized that Constantia has the heavy look also in OOo in addition to Firefox. Inkscape seems to render it better (or at least differently). I thought they were using the same code for font rendering, but perhaps not.

Quote:
Why do you turn on bytecode_interpreter?
The fonts look much better.

Quote:
Does Fedora ship freetype without subpixel_rendering? Why? Smells like patents?
Yes to patents. The spec file of the Fedora freetype source RPM has instructions on how to give these two options to rpmbuild when building the binary package. They are off by default.
Reply With Quote
  #4  
Old 2nd April 2009, 09:13 PM
brebs Offline
Banned
 
Join Date: Apr 2008
Posts: 558
Quote:
Originally Posted by Mikko View Post
The font looks quite different in Inkscape and Firefox.
Firefox has its own DPI setting, which can get messed up. See howto.
Reply With Quote
  #5  
Old 2nd April 2009, 09:38 PM
Lukast Offline
Registered User
 
Join Date: Jul 2007
Location: Slovak Republic
Posts: 100
Do you know about any how-to? I mean step by step instruction for building freetype with both flags?
I think other users may benefit from this too.
__________________
Krita developer
http://www.krita.org | http://lukast.mediablog.sk/log

Last edited by Lukast; 2nd April 2009 at 09:54 PM.
Reply With Quote
  #6  
Old 2nd April 2009, 09:51 PM
Mikko Offline
Registered User
 
Join Date: Nov 2008
Location: Finland
Posts: 162
Quote:
Originally Posted by brebs View Post
Firefox has its own DPI setting, which can get messed up. See howto.
Thanks for the link. The Fedora-packaged Firefox on my system does not seem to have the font.FreeType2.* settings at all in about:config. There is a layout.css.dpi, set by default to -1. Setting it to different values had no effect on font rendering.
Reply With Quote
Reply

Tags
firefox, font rendering

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Liferea Font Rendering frostie Using Fedora 0 18th February 2009 12:33 PM
Font Rendering screamin_jesus Using Fedora 18 3rd December 2007 11:31 PM
Font rendering c_lev Using Fedora 2 1st September 2006 04:27 PM
Dissapointed with font rendering on LCD :/ adam Fedora Core 5 - Dev 6 21st March 2006 04:42 PM
FC3 font rendering iah Using Fedora 3 20th November 2004 12:17 PM


Current GMT-time: 08:26 (Thursday, 02-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat