mario Guru
Joined: 20 Apr 2002 Posts: 400 Location: Mountain View, CA
|
Posted: Fri May 17, 2002 1:17 pm Post subject: mozilla and antialiasing |
|
|
Hello,
I installed Mozilla 1.0 RC2 from the portage ebuild, and seemingly freetype support is compiled in, but it doesn't recognize the fonts as truetype.
When I start Mozilla with NS_FONT_DEBUG=300 environment set it says:
looking for FreeType font matching -monotype-Times New Roman-*-*-*-*-*-*-*-*-*-*-iso8559-1, nsFT2FontCatalog.cpp 814
looking for FreeType font matching -monotype-Times New Roman-*-*-*-*-*-*-*-*-*-*-iso8559-*, nsFT2FontCatalog.cpp 814
nsFT2FontCatalog::GetFontNames failed, nsFT2FontCatalog.cpp 884
looking for FreeType font matching -monotype-Times New Roman-*-*-*-*-*-*-*-*-*-*-iso8859-1, nsFT2FontCatalog.cpp 814
...
Notice the GetFontNames failed
I have edited /usr/lib/mozilla/defaults/pref/unix.js to contain the right font path (/usr/X11R6/lib/X11/fonts/truetype instead of /usr/share/fonts/TrueType).
With NS_FONT_DEBUG=400 set it says:
gEnableFreeType2 = 1, nsFontMetricsGTK.cpp 941
gFreeType2Autohinted = 1, nsFontMetricsGTK.cpp 957
gFreeType2Unhinted = 0, nsFontMetricsGTK.cpp 964
gAntiAliasMinimum = 10, nsFontMetricsGTK.cpp 971
gEmbeddedBitmapMaximumHeight = 1000000, nsFontMetricsGTK.cpp 979
initialize freetype, nsFreeType.cpp 308
No error here, but no AA either.
I tried to compile both RC1 and RC2 with mozilla-1.0-*-xft.patch enabled but it fails to compile in nsFontMetricsGTK.cpp.
Does anybody have a similar problem? |
|