Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mozilla and antialiasing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mario
Guru
Guru


Joined: 20 Apr 2002
Posts: 400
Location: Mountain View, CA

PostPosted: Fri May 17, 2002 1:17 pm    Post subject: mozilla and antialiasing Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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