Hello, On May 31 14:11 nick murphy wrote (shortened):
I have problems with mozilla printing. For some reason when I try to print anything the Serif font is changed to Burnstown Dam. To anyone not familiar with this particular font it is not the easiest one to read - it looks like bits of wood nailed together.
I know how this font looks like, I saw a printout from Mozilla ;-) As far as I know such problems occur only if there are additional font packages installed. If there are only the default font packages installed then Mozilla prints with normal fonts. At the moment it is a bit strange how Mozilla searches for fonts which can be used for printing. Mozilla cannot use the same fonts for printing which it can use to display on the screen because for printing the fonst must be scalable non-bitmap fonts. For screen display it can use bitmap fonts but printing with bitmap fonts would look very ugly. Therefore Mozilla has a special mechanism to find fonts for printing.
From a problem report regarding this issue:
It was produced with freetype printing module of mozilla. What are your values of font.directory.truetype.1, font.directory.truetype.2, etc (go to about:config and type in 'truetype') and what fonts are there in those directories? I guess what you have there are different from what you have in your fonts.conf file(s). Note that you have to list all the subdirectories in font.directory.truetype.* because Mozilla-FT printing module doesn't look into subdirectories while fontconfig looks into subdirectories. --------------------------------------------------------------------- There's only one value in my about:config it's named font.directory.truetype.1 which is set to /usr/X11R6/lib/X11/fonts/truetype. There is many of fonts there, most of them from free-ttf-fonts-1.0-156 package. If Mozilla-FT printing module uses only these to substitute fonts when printing, it just can't get it right ones, I think. I've figured out that Kcontrol center installs new fonts to /usr/local/share/fonts/truetype path and I installed MS TTFs to its "microsoft" subdir. When I add new config item to mozilla called font.directory.truetype.2 containing /usr/local/share/fonts/truetype/microsoft string, it START WORKING PROPERLY! --------------------------------------------------------------------- The above "go to about:config and type in 'truetype'" means to enter about:config as URL in Mozilla and then enter truetype as "Filter". To "add new config item to mozilla" use the right mouse button to add a "New" "String" and then fill in the dialogs. Regards Johannes Meixner -- SUSE LINUX AG, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/