Truetype fonts and Mozilla Printing System
It seems step by step we reveal how the printing stuff
in Mozilla becomes messed up.
- On the one hand:
-
By default the Mozilla config variable font.directory.truetype.1
is set to /usr/X11R6/lib/X11/fonts/truetype and when you installed
the SUSE standard system then there are only normal looking
truetype fonts installed in /usr/X11R6/lib/X11/fonts/truetype
and therefore Mozilla uses only this normal fonts for printing.
-
On the other hand:
-
By default most (all?) additional truetype font packages
install their fonts also into /usr/X11R6/lib/X11/fonts/truetype
- Therefore:
-
If you installed additional truetype font packages which
have funny looking fonts included then it may happen that
Mozilla chooses such funny looking fonts instead of the normal
looking fonts.
Unfortunately (as far as we know) it is not possible to
configure a font preference list in Mozilla so that Mozilla
could prefer the normal looking fonts.
Therefore at the moment I think the only solution is:
-
Copy all normal looking fonts which you like to get in
Mozilla's printouts into a new seperated directory
(e.g. /usr/X11R6/lib/X11/fonts/mozilla).
-
.
Change the value of the Mozilla config variable
font.directory.truetype.1
to this directory (e.g. /usr/X11R6/lib/X11/fonts/mozilla).
To change the value run Mozilla and enter as URL
about:config
then search for font.directory.truetype.1 and use the
right mouse button to "Modify" the value.
-
optional
If you have additional truetype font packages installed
which install their fonts into a seperated directory
and you like to make all those fonts available for Mozilla's
printing engine then you can add a new Mozilla config variable
font.directory.truetype.2
and set the value to the directory where the additional
truetype fonts are located.
To do this run Mozilla and enter as URL
about:config
then use the right mouse button to add a "New" "String"
and then fill in the dialogs.