View previous topic :: View next topic |
Author |
Message |
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 6:37 pm Post subject: |
|
|
dob wrote: | he gets glibc 2.3.1 cos he switched to the new unstable branch
I get great AA in mozilla using the settings that zepar mentionned in the 3rd article of this thread in my user.js.
However, what he didn't mention, is that you may need to add the path where your truetype fonts (ms webfonts and others) are:
Code: | cat .mozilla/default/7o8al3e5.slt/user.js
user_pref("capability.policy.default.Window.onunload", "noAccess");
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", true);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min", 6);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.1");
pref("font.directory.truetype.1", "/usr/share/fonts/truetype");
pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TrueType");
|
|
yep i have added the paths, no go yet :/ The fonts show up, just not in upercase names, and no AA , heh i had mozilla seeing about 4000 fonts at one time, but none would AA and none had Upercase names
I am using the 1.1r1 ebuild , i have enven tryed the 1.0 ebuild no go fo that eather. |
|
Back to top |
|
|
dpowers Tux's lil' helper
Joined: 02 May 2002 Posts: 119
|
Posted: Tue Oct 22, 2002 2:51 am Post subject: |
|
|
I'd like to add a problem I'm having. Here's the gig: I installed the xft patch and got Mozilla fonts working beautifully. However, now Gnome fonts look TERRIBLE. The fonts are nowhere near clear, and you can see horrible jaggies in them. Before, when I was using libfreetype.so.6.3.1, I wasn't getting this, but my mozilla fonts weren't as nice either.
Anyone know why this could be?
Edit: BTW, I do have GDK_USE_XFT=1 |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Tue Oct 22, 2002 7:18 am Post subject: |
|
|
OK WTF IS GOING ON!! I REBOOT AND I GET AA FONTS ? WTF I SHOULD NOT HAVE TO REBOOT!! ARGG THIS PISSES ME OFF, I RESTARTED THE X FONT SEVER A MILLION TIMES!! OMG WTF WTF WTF |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Tue Oct 22, 2002 12:31 pm Post subject: |
|
|
For antialiasing in Mozilla and Phoenix, I just had to edit unix.js. Is GdkXft an alternative Xft driver, or is it what Mozilla and Phoenix use by default? Also: AFAIK Xft is FreeType for X - X font rendering using FreeType.
When I set this: Code: | 'pref("font.FreeType2.unhinted", true); |
Times New Roman (Agfa Monotype) and other Serif fonts look great. Actually, it looks as if hinting is on, as opposed to what the setting apparently says. However, Sans-Serif fonts (Tahoma, Arial) look too "heavy". When I set the same setting to false, Sans-Serif fonts look good, and Serif fonts look like blurred versions of themselves non-antialiased - they don't have that "full" look to them. This is how they look with KDE antialiasing (not sure about Gnome2). What I did was leave it this way and set Phoenix and Mozilla to only use Tahoma (my favorite Sans-Serif font). Anybody know how to get the best of both worlds? _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
Johto n00b
Joined: 06 Aug 2002 Posts: 36 Location: Finland
|
Posted: Wed Oct 30, 2002 11:00 pm Post subject: |
|
|
zepar wrote: | Just put these fonts in your mozilla to have aa fonts in slashdot
Edit -> Preferences -> Appearance -> Fonts
Proportional: Serif (try also Sans Serif) (is has efect on sites like slashdot)
Serif: Agfa Monotype-times new roman-iso8859-1
Sans-Serif: Agfa Monotype-arial-iso8859-1
Cursive: Microsoft-comic sans ms-iso8859-1
Fantasy: Microsoft-trebuchet ms-iso8859-1
Monospace: Agfa Monotype-courier new-iso8859-1
'Allow documents to use other fonts' (try to disable and see how its looks) (i have this enable)
The size of the fonts depend of your monitor and resolution (so, this may not work well for u) :
Size (pixels): 18
Monospace size: 14
Minimum font size: 13 |
THANK YOU !
I had troubles to find right fonts in mozilla, now my fonts look suberb !
Here is a screenshots:
http://kotisivu.raketti.net/pviljaka/gentoo2.jpg
http://kotisivu.raketti.net/pviljaka/gentoo3.jpg
http://kotisivu.raketti.net/pviljaka/gentoo4.jpg
Oh, and i have edited also mozillas unix.js
and changed minfontsize to 12, and the gain stuff to 0.0
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", false);
pref("font.FreeType2.unhinted", false);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min", 12);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.0");
// sample prefs for TrueType font dirs
pref("font.directory.truetype.1", "/usr/share/fonts/truetype");
pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TTF");
pref("font.directory.truetype.3", "/usr/X11R6/lib/X11/fonts/truetype");
|
|
|
Back to top |
|
|
c_kuzmanic Guru
Joined: 18 Apr 2002 Posts: 488 Location: Los Angeles , California
|
|
Back to top |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Thu Oct 31, 2002 9:40 am Post subject: |
|
|
I have a problem. In mozilla/Galeon/all GTK1-based programs my fonts don't show up. I also installed fonts from WindowsXP, but no avail.
The strange part is that when a page (such as this forum) wants to use Verdana or Arial, instead of the default, it looks great.
But I can FORCE them, by editing Galeon's config file by hand I got it to use verdana, but then web pages took like 5 minutes to draw, and I'm using a AhtlonXP 1800!?
This is very frustrating, I hope they fix it with the release of Galeon2/whatever they name the GTK2 version.
--
Regards,
Helmers |
|
Back to top |
|
|
|
|
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
|
|