View previous topic :: View next topic |
Author |
Message |
TenPin Guru
Joined: 26 Aug 2002 Posts: 500 Location: Kansas City
|
Posted: Mon Sep 30, 2002 8:54 pm Post subject: |
|
|
I edited ~/.mozilla/fonts/catalogue/freetype.ksyrfgwk74w9.ndb
32 begin=Font_29
32 FamilyName=Times New Roman
32 Flags=00000003
32 FontFileName=/usr/X11R6/lib/X11/fonts/truetype/times.ttf
32 VendorID=Mono
to
32 begin=Font_29
32 FamilyName=TenPin
32 Flags=00000003
32 FontFileName=/usr/X11R6/lib/X11/fonts/truetype/times.ttf
32 VendorID=TenPin
This gave me the new option of font "TenP-TenPin-iso8859-1 in the mozilla font preferences. Also the option to select Agfa-Monotype-time disappeared. This must mean that they are effectively the same fonts. They certainly look identical.
So for anyone wondering how to select their MS fonts and have AA, use the ones labeled "Agfa". |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Mon Sep 30, 2002 11:48 pm Post subject: |
|
|
The problem I was having was with a page I had designed. The trick finally turned out to be specifying "Trebuchet MS" instead of "Trebuchet" on the page. They turn out to be the same font, but braindead mozilla thinks only the former deserves anti-aliasing. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
kode54 n00b
Joined: 16 May 2002 Posts: 42
|
|
Back to top |
|
|
TenPin Guru
Joined: 26 Aug 2002 Posts: 500 Location: Kansas City
|
Posted: Thu Oct 03, 2002 4:06 pm Post subject: |
|
|
kode54:
Your Anti-Aliasing is working but to get that Times font on Slashdot AAed you need to select the right font for Serif in Mozilla font preferences. Try Choosing Agfa Monotype-times new roman or some Times font that looks nice. |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Sun Oct 20, 2002 8:58 pm Post subject: |
|
|
omg, you ppl have AA font in mozilla!! for the life of me i cant get any AA or TT fonts, None of my fonts show up in upercase namse! i have copyed all my fonts from diferentebt places, even have a lot of MS tt f fonts, some of the ms fonts show up in mozilla but do not AA. But Konqueror shows all the fonts i want!! but i want touse mozilla!! OMG how did you guys do this>> |
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Sun Oct 20, 2002 9:43 pm Post subject: aa mozilla |
|
|
I describe one way at http://www.desertsol.com/~kevin/ppc
search for gdkxft on the page and I have DETAILED instructions. |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Sun Oct 20, 2002 11:08 pm Post subject: |
|
|
All you have to do to get mozilla looking like this or this is:
Have a clean emerge of mozilla-1.1-r1 and xfree-4.2.0-r12 or xfree-4.2.1 and make the following adjustment to /usr/lib/mozilla/defaults/pref/unix.js:
// 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", 0);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 0);
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");
Just use the Agfa fonts and thats all you have to do. Of course it will get even better with mozilla 1.2 combined with xfree 4.2.1.
|
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 1:35 am Post subject: |
|
|
borenson wrote: | All you have to do to get mozilla looking like this or this is:
Have a clean emerge of mozilla-1.1-r1 and xfree-4.2.0-r12 or xfree-4.2.1 and make the following adjustment to /usr/lib/mozilla/defaults/pref/unix.js:
// 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", 0);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 0);
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");
Just use the Agfa fonts and thats all you have to do. Of course it will get even better with mozilla 1.2 combined with xfree 4.2.1.
|
Ok i just did all that, wiped my X wiped my mozilla, recompiled all!! and NO AA, i still only list lowercase names in the font selection tool for mozilla. gerr what is going on!! i want a sexy linux, not a unsexy linux!! |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 2:50 am Post subject: |
|
|
okay - this might be it
make sure you have truetype in your use variable in /etc/make.conf and reemerge xfree-4.2.1 |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 2:51 am Post subject: |
|
|
borenson wrote: | okay - this might be it
make sure you have truetype in your use variable in /etc/make.conf and reemerge xfree-4.2.1 |
I did
USE=" freetype truetype xft "
My gtk2 apps now have AA fonts but no mozilla fonts are AA ed i am sad, i fell left out and my linux is not sexy . |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 3:00 am Post subject: |
|
|
have you emerged these:
app-text/freefonts
app-text/sharefonts
??
i am just trying to work out what i have done and you haven't
you could try deleting ~/.mozilla but this will wipe all you mozilla mail, bookmarks, etc
have a poke through ~/.mozilla/default/blah/prefs.js |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 3:16 am Post subject: |
|
|
also make sure that
Code: | ll /etc/make.profile |
gets you
Code: | lrwxrwxrwx 1 root root 40 Sep 9 00:10 /etc/make.profile -> ../usr/portage/profiles/default-x86-1.4/
|
|
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 3:50 am Post subject: |
|
|
borenson wrote: | also make sure that
Code: | ll /etc/make.profile |
gets you
Code: | lrwxrwxrwx 1 root root 40 Sep 9 00:10 /etc/make.profile -> ../usr/portage/profiles/default-x86-1.4/
|
|
I dont get that, but i think that is because i am running on a 1.2 system
kappax@thebox kappax $ ll /etc/make.profile
lrwxrwxrwx 1 root root 35 Sep 22 20:53 /etc/make.profile -> ../usr/portage/profiles/default-1.0
kappax@thebox kappax $
I have installed the freefonts and the shaired fonts, they show up in mozilla and i can slect them, but none of them show up with upercase names, every font in the list starts with a lower case.
I just find it odd that Konqueror finds the fonts fine but Mozilla refueses. |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 4:02 am Post subject: |
|
|
You should probably jump to 1.4. There is probably something missing in 1.2 that you need. Even if you haven't upgraded to gcc 3.1 or 3.2 it is still very easy to upgrade to gentoo 1.4.
Code: | rm /etc/make.profile
ln -s ../usr/portage/profiles/default-x86-1.4 /etc/make.profile
emerge rsync
|
means that portage now has all the 1.4 packages
will tell you which of your packages can be upgraded in 1.4
you could post that list here or just remerge xfree-2.4.1 and mozilla-1.1-r1
note: if you have heard about people having trouble upgrading to 1.4, that it is is when they upgrade gcc as well don't do that unless you know what you are doing.
|
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 4:07 am Post subject: |
|
|
borenson wrote: | You should probably jump to 1.4. There is probably something missing in 1.2 that you need. Even if you haven't upgraded to gcc 3.1 or 3.2 it is still very easy to upgrade to gentoo 1.4.
Code: | rm /etc/make.profile
ln -s ../usr/portage/profiles/default-x86-1.4 /etc/make.profile
emerge rsync
|
means that portage now has all the 1.4 packages
will tell you which of your packages can be upgraded in 1.4
you could post that list here or just remerge xfree-2.4.1 and mozilla-1.1-r1
note: if you have heard about people having trouble upgrading to 1.4, that it is is when they upgrade gcc as well don't do that unless you know what you are doing.
|
I have re emerged x and mozilla many time in the past 2 days :/
here is what the -pu would do
http://yellowk.n3.net/~kappax/updates |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 4:20 am Post subject: |
|
|
looking at that i recommend remerging xfree-2.4.1 and mozilla-1.1-r1.
sorry man, but it might just work this time
x11-misc/ttmkfdir-1.0 might be important
|
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 4:23 am Post subject: |
|
|
borenson wrote: | looking at that i recommend remerging xfree-2.4.1 and mozilla-1.1-r1.
sorry man, but it might just work this time
x11-misc/ttmkfdir-1.0 might be important
|
I mean i just remerged like, 30 min ago. what is going to change after emerging and remerging after wating 30 min between the emreges |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 4:32 am Post subject: |
|
|
because changing the profile link changes everything. You would probably find that emerging xfree and mozilla will emerge lots of other things first.
Try
Code: | emerge -p x11-base/xfree/xfree-4.2.1.ebuild |
and
Code: | emerge -p net-www/mozilla/mozilla-1.1-r1.ebuild |
to see if there are new dependancies.
I might me wrong |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 4:39 am Post subject: |
|
|
borenson wrote: | because changing the profile link changes everything. You would probably find that emerging xfree and mozilla will emerge lots of other things first.
Try
Code: | emerge -p x11-base/xfree/xfree-4.2.1.ebuild |
and
Code: | emerge -p net-www/mozilla/mozilla-1.1-r1.ebuild |
to see if there are new dependancies.
I might me wrong |
kappax@thebox kappax $ emerge -p x11-base/xfree/xfree-4.2.1.ebuild
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild R ] x11-base/xfree-4.2.1
kappax@thebox kappax $ emerge -p net-www/mozilla/mozilla-1.1-r1.ebuild
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild R ] net-www/mozilla-1.1-r1
kappax@thebox kappax $ |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 4:44 am Post subject: |
|
|
okay thats wierd
do this and compare it to what i get
Code: | jonny@jonny em-edit $ emerge -pe xfree
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] sys-libs/zlib-1.1.4
[ebuild N ] dev-python/python-fchksum-1.6.1
[ebuild N ] sys-apps/bzip2-1.0.2-r2
[ebuild N ] sys-libs/ncurses-5.2.20020511-r2
[ebuild N ] sys-apps/bash-2.05a-r3
[ebuild N ] sys-libs/readline-4.2a
[ebuild N ] dev-lang/tcl-8.3.3-r3
[ebuild N ] dev-lang/tk-8.3.3-r2
[ebuild N ] dev-libs/expat-1.95.4
[ebuild N ] dev-lang/python-2.2.1-r5
[ebuild N ] sys-apps/debianutils-1.16.3
[ebuild N ] sys-devel/gettext-0.11.5
[ebuild N ] sys-apps/fileutils-4.1.11
[ebuild N ] sys-apps/portage-2.0.38
[ebuild N ] sys-kernel/linux-headers-2.4.19
[ebuild N ] sys-apps/gawk-3.1.1
[ebuild N ] sys-apps/baselayout-1.8.3
[ebuild N ] sys-libs/glibc-2.2.5-r7
[ebuild N ] sys-devel/flex-2.5.4a-r5
[ebuild N ] x11-base/opengl-update-1.4
[ebuild N ] sys-apps/groff-1.17.2-r3
[ebuild N ] sys-devel/perl-5.6.1-r7
[ebuild N ] sys-devel/libtool-1.4.1-r10
[ebuild N ] sys-devel/m4-1.4p
[ebuild N ] sys-devel/autoconf-2.53a
[ebuild N ] sys-apps/miscfiles-1.3
[ebuild N ] sys-libs/cracklib-2.7-r5
[ebuild N ] sys-libs/pwdb-0.61-r3
[ebuild N ] dev-libs/glib-1.2.10-r4
[ebuild N ] sys-apps/texinfo-4.2-r5
[ebuild N ] sys-devel/gcc-3.2-r1
[ebuild N ] sys-devel/automake-1.6.1-r6
[ebuild N ] sys-libs/pam-0.75-r8
[ebuild N ] sys-apps/ed-0.2-r3
[ebuild N ] media-libs/freetype-2.1.2-r1
[ebuild N ] media-libs/fontconfig-2.0
[ebuild N ] app-arch/cabextract-0.6
[ebuild N ] x11-base/xfree-4.2.1
|
|
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 4:46 am Post subject: |
|
|
Calculating dependencies ...done!
[ebuild N ] sys-apps/bzip2-1.0.2-r2
[ebuild N ] sys-libs/ncurses-5.2.20020511-r2
[ebuild N ] sys-devel/gettext-0.11.5
[ebuild N ] sys-apps/texinfo-4.2b
[ebuild N ] sys-libs/zlib-1.1.4
[ebuild N ] sys-devel/gcc-3.2-r2
[ebuild N ] dev-python/python-fchksum-1.6.1
[ebuild N ] sys-devel/libtool-1.4.1-r10
[ebuild N ] sys-devel/m4-1.4p
[ebuild N ] sys-apps/groff-1.17.2-r3
[ebuild N ] sys-libs/db-1.85-r1
[ebuild N ] sys-libs/db-3.2.9-r1
[ebuild N ] sys-libs/gdbm-1.8.0-r5
[ebuild N ] sys-devel/perl-5.6.1-r7
[ebuild N ] sys-devel/autoconf-2.54
[ebuild N ] sys-apps/bash-2.05b-r3
[ebuild N ] sys-libs/readline-4.3-r2
[ebuild N ] dev-lang/tcl-8.3.3-r3
[ebuild N ] dev-lang/tk-8.3.3-r2
[ebuild N ] dev-libs/expat-1.95.4
[ebuild N ] dev-lang/python-2.2.2
[ebuild N ] sys-apps/debianutils-1.16.3
[ebuild N ] sys-apps/fileutils-4.1.11
[ebuild N ] sys-apps/portage-2.0.38
[ebuild N ] sys-kernel/linux-headers-2.4.19
[ebuild N ] sys-apps/gawk-3.1.1
[ebuild N ] sys-apps/baselayout-1.8.4
[ebuild N ] sys-devel/binutils-2.13.90.0.10
[ebuild N ] sys-libs/glibc-2.3.1
[ebuild N ] sys-devel/flex-2.5.4a-r5
[ebuild N ] x11-base/opengl-update-1.4
[ebuild N ] sys-apps/miscfiles-1.3
[ebuild N ] sys-libs/cracklib-2.7-r5
[ebuild N ] sys-libs/pwdb-0.61-r3
[ebuild N ] dev-libs/glib-1.2.10-r4
[ebuild N ] sys-devel/automake-1.6.3
[ebuild N ] sys-libs/pam-0.75-r8
[ebuild N ] sys-apps/ed-0.2-r3
[ebuild N ] media-libs/freetype-2.1.2-r1
[ebuild N ] media-libs/fontconfig-2.0
[ebuild N ] app-arch/cabextract-0.6
[ebuild N ] x11-base/xfree-4.2.1 |
|
Back to top |
|
|
borenson n00b
Joined: 16 Jul 2002 Posts: 17
|
Posted: Mon Oct 21, 2002 4:55 am Post subject: |
|
|
i give up maybe someone else knows
and i can't under stand why you get
sys-libs/glibc-2.3.1
very peculiar |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 7:19 am Post subject: |
|
|
anybody here have a 1.2 system with AA in mozilla ?
i know at one time i had AA in galeon, but that was like 12 installs ago |
|
Back to top |
|
|
kappax Apprentice
Joined: 30 Aug 2002 Posts: 273 Location: The Moon
|
Posted: Mon Oct 21, 2002 7:22 am Post subject: |
|
|
I mean i get great AA in gtk2 and gnome and Kde and konqueror, just not mozilla !!! I HATE IT
one with a non sexy linux box :/ |
|
Back to top |
|
|
dob Apprentice
Joined: 04 Oct 2002 Posts: 199 Location: S.L.P.
|
Posted: Mon Oct 21, 2002 11:01 am Post subject: |
|
|
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");
|
|
|
Back to top |
|
|
|