LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2004, 11:26 AM   #1
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Rep: Reputation: 139Reputation: 139
Mozilla Firefox 0.9.2: Strange fonts when printing web pages


Hi,

I've searched LQ and the web, but haven't found a useful answer to this:

When I print a web page from Mozilla Firefox 0.9.2 on my SuSE 9.1 system I reproducably run into one of two problems.

(1) Right after installation, without modifying the configuration, Firefox prints a page telling me to replace the print command with this:

gs -q -sDEVICE=pswrite -sOutputFile=- -dNOPAUSE -dBATCH -dMozConvertedToLevel2=true - | lpr [OPTIONS]

When I do that, the effect is:

(2) The web page displayed is printed, but with a strange font, which looks ancient and is hardly readable. Print preview looks alright, though.

Has anyone seen or even solved this?

Any help greatly appreciated!

gargamel
 
Old 07-28-2004, 12:09 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
http://lists.suse.com/archive/suse-l...-Jun/1541.html
 
Old 07-29-2004, 05:01 PM   #3
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Original Poster
Rep: Reputation: 139Reputation: 139
Thanks, but I don't seem to get it right...
Does this mean that I need to install True Type fonts from Microsoft's download server, in order to get rid of the printing problem?
If so: How? In older SuSE versions there was a command line utility fetchmsttfonts (or so), which I can't find on SuSE 9.1.

Thanks again.

gargamel
 
Old 07-29-2004, 07:29 PM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
the msfonts are no longer available(m$ stopped offering them). you may have to snag them from a windows disk.
 
Old 07-30-2004, 05:58 AM   #5
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Original Poster
Rep: Reputation: 139Reputation: 139
Is this legal, then? (Extracting fonts from Windows...) Is a Windows licence required for that?
And wasn't Microsoft obliged to make the fonts publicly available due to their agreement with... was it BitStream? I don't remember...

gargamel
 
Old 07-30-2004, 08:38 AM   #6
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
don't know why they stop offering them. try here : http://webperf.org/msfonts/
 
Old 07-30-2004, 12:55 PM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Original Poster
Rep: Reputation: 139Reputation: 139
Thanks a lot, that has helped --- partially.
I installed the RPMs (all of them) and added the following two key/value pairs to the Firefox configuration:

font.directory.truetype.2 /usr/share/fonts/msfonts
font.directory.truetype.3 /usr/share/fonts/msfonts-styles

Now printing is ok for many web pages, but not for all. LQ pages print fine 8-), and so do SuSE pages, but the most popular German IT news page, http://www.heise.de, is still printed strangely.

It's apparently considered a bug, as this article suggests (sorry: German):
http://portal.suse.com/sdb/de/2004/0...lla_fonts.html

The article describes the problem and the solution you pointed me to, and closes saying that future versions of Mozilla and Firefox/Thunderbird will come with a bug fix for this problem. Hope they come soon...!

Thanks for your kind help, again!

gargamel
 
Old 07-30-2004, 11:04 PM   #8
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Original Poster
Rep: Reputation: 139Reputation: 139
Seems that Mozilla 1.7 doesn't have that problem... All web pages I tested were printed just the way they should, and there was not even a need to change the print command in Mozilla.

Possible explanations:
- Mozilla 1.7 and Mozilla Firefox 0.9.2 are different programs. Printing is done differently in each of them.
- I have installed additional software packages in SuSE that contained TrueType fonts. That would mean that printing would cease working properly once I install a package with fonts in Slackware...

That's what I have observed.

gargamel
 
Old 08-03-2004, 06:54 PM   #9
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,585

Original Poster
Rep: Reputation: 139Reputation: 139
Adding to my last post:

Mozilla 1.7 prints fine in Slackware 10.0. No need to change the print command, printing works out of the box.

In SuSE 9.1, unfortunately, it does not. First I get the error page out of my printer telling me that I should change the print command, then I get printouts with exactly the strange font a with Firefox.

Advantage Slackware...

BTW, all Geckos crash when I try to print a calendar... a well-known bug, it seems.

gargamel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox can not open any web pages mandriva 10.2 samuelmp Mandriva 4 05-15-2006 03:46 PM
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
Ugly/strange fonts when printing Khang Linux - Software 4 10-15-2005 09:02 PM
Mozilla 1.7.8 and printing of cyrillic pages BerzinTehvs Slackware 1 06-07-2005 08:57 AM
Strange fonts in mozilla for foreign pages tsitras Debian 1 04-15-2004 10:53 PM


All times are GMT -5. The time now is 05:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration