LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2002, 07:08 AM   #1
wawanryn
LQ Newbie
 
Registered: Nov 2002
Location: Bandung, Indonesia
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
freetype font w/ smoothing


I was installing RedHat 8.0 with X & Gnome. The freetype font with smoothing is used by default, its applied to all but my web browser (Mozilla).
I want to apply this smoothing effect to web browser (menu and content). How to do that?
What part of X that doing that smoothing function?
 
Old 11-03-2002, 07:49 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
For mozilla you'll need to edit the following part of mozilla/defaults/pref/unix.js,
Code:
// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", true);
pref("font.FreeType2.unhinted", false);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min",        0);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.2");
// sample prefs for TrueType font dirs
pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/TTF");
Be sure to specify the correct path to your truetype font directory.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freetype... Linux~Powered Slackware 3 03-02-2005 11:06 AM
Fedora, Steam ==> no font, Winex: Freetype and Xrender error burn0ut Linux - Software 0 05-05-2004 03:10 PM
Grayscale font smoothing in Gnome2... and KDE? myst Linux - Software 0 06-14-2003 12:06 PM
Freetype-devel for freetype-2.1.4-1 (redhat 9) Goog Linux - Distributions 0 05-05-2003 06:55 PM
freetype no1d Linux - Software 0 02-28-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration