Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3195 - TrueType is not properly enabled in mozilla
Summary: TrueType is not properly enabled in mozilla
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL: http://www.mozilla.org/projects/fonts...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 15:53 UTC by Morgan Christansson
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morgan Christansson 2002-05-29 15:53:35 UTC
TrueType is not properly enabled in mozilla

the pref("font.directory.truetype.x", ""); options
are not set correctly in /usr/lib/mozilla/defaults/pref/unix.js causing only
-b&h-luxi- fonts that are in /usr/X11R6/lib/X11/fonts/TTF to be included.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-01 05:30:00 UTC
OK, so how should it be set ?
Comment 2 Morgan Christansson 2002-06-02 09:36:30 UTC
I changed "TrueType" to "truetype", there are however a lot more dir's but none
of which contained usefull truetype fonts.

pref("font.directory.truetype.1", "/usr/X11R6/lib/X11/fonts/TTF");
pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/truetype");

I changed the font's to get truetype font's, these lines appeared in my prefs.js
after changing the fonts in Edit->Prefs->Appearance->fonts

user_pref("font.name.sans-serif.x-western", "Agfa Monotype-arial-iso8859-1");
user_pref("font.name.serif.x-western", "Agfa Monotype-times new roman-iso8859-1");

// these are default, it's possible you can just skip these, they were in my
prefs.js
user_pref("font.name.cursive.x-western", "Agfa Monotype-arial black-iso8859-1");
user_pref("font.name.fantasy.x-western", "Agfa Monotype-arial black-iso8859-1");
Comment 3 Morgan Christansson 2002-06-02 09:42:52 UTC
I just removed font.name.cursive.x-western and font.name.fantasy.x-western from
my prefs.js and restarted mozilla, they defaulted to those values so they are
not necessary to add to unix.js or other global prefs file. Although it
problably wouldn't hurt to put them there.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-02 11:08:47 UTC
Ok, I dont have a problem with changing the search directories if they are
not 100% the "default" ones defined either by:

1) LFH
2) Accepted as default due to common use by the masses.

Setting of the fonts however ... that is up to the user .... and do not
need hacking of .js files.

Thus if the directory names in use are /usr/X11R6/lib/X11/fonts/truetype and
/usr/share/fonts/truetype, then fine, we can change them ...  I added it to
what was defined on my system, and that have come a long way, meaning it could
either be personal preference, or credited to some or other distro I used.

Anyhow, open for comments like always.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-02 15:02:27 UTC
Oops, never can get it right ... LHS = FHS
Comment 6 Morgan Christansson 2002-06-02 22:55:31 UTC
The default font's aren't truetype fonts, the agfa font's i suggested as default
are still the same font just that they are truetype instead of bitmapped.

It is possible to use some other font though, the microsoft fonts are the best
fonts but i couldn't get them to show up in Appearance->Fonts. =/
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-24 18:19:31 UTC
With a new user, fonts looks fine ... check that it is not related to you not
getting the MS fonts to work.