Closed Bug 148470 Opened 22 years ago Closed 22 years ago

Ban "-dt-*" (bitmap!!) fonts from Xprint

Categories

(Core Graveyard :: Printing: Xprint, defect)

Sun
Solaris
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: roland.mainz, Assigned: roland.mainz)

References

Details

Attachments

(1 file)

[Spin-off of bug 147743 ("Xprint prints some (non-scaleable) bitmap fonts far
too small")]:
We need to "ban" all the "-dt-*" aliases from Xprint since they will be the
default fonts for the Solaris version of Netscape but are _all_ bitmap fonts
(BAD).
Depends on: 148468
Taking myself...
Assignee: katakai → Roland.Mainz
QA Contact: Roland.Mainz → katakai
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
Requesting r=/sr=/a{1.0.1}= ...
Blocks: 147743
Attachment #85866 - Flags: review+
I am not very familiar with xprint issues. I understood why you want to add
"dt*" to rejection list. Could you explain if there is any possible negative
impact by removing "-urw.*;scalable=false;" from rejection list? r=shanjian if
you are confident with the consequence.  

Shanjian Li wrote:
> I am not very familiar with xprint issues.

It's a quality issue.
Xprint can use both scaleable outline fonts (printer-builtin fonts and PS Type1;
Solaris Xprt can use TrueType, too (TrueType support for Linux Xprt comes ~~
next month)) and bitmap fonts (this is a feature (see the "myths" section in the
Xprint FAQ
(http://puck.informatik.med.uni-giessen.de/people/gisburn/work/xprint/Xprint_FAQ.txt)
- some people tend to use this feature to shoot against Xprint... ;-( ) which
makes it possible to print _anything_ even if you do not have matching fonts).
However forcing _always_ bitmap fonts will make the printout quality worse than
neccesary. Since all the "-dt-*" fonts are bitmap fonts the Xprint module will
prefer them even when there are better-looking scaleable outline fonts available
(I think this is a bug in our fontmetrics system).

> I understood why you want to add
> "dt*" to rejection list. Could you explain if there is any possible negative
> impact by removing "-urw.*;scalable=false;" from rejection list?

Well, it was never enabled due the performance regression caused by that code on
the main display (I am going to fix that soon, maybe this week) - however I
personally do not care if the initalisation of the Xprint module (e.g. the first
time when it's being used) takes 1sec more with the ban enabled (main display is
not affected).
I did not had problems with the URW fonts yet nor was the ban "active" yet,
therefore I can live with the consequences... :)

> r=shanjian if
> you are confident with the consequence. 

Yup, I am confident.
Comment on attachment 85866 [details] [diff] [review]
Patch for 2002-05-24-08-trunk

sr=jst
Attachment #85866 - Flags: superreview+
Blocks: xprint_machv
Blocks: 150519
No longer blocks: 150519
Checked in to trunk for Roland
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Requesting a= for 1.0.1-branch...
Comment on attachment 85866 [details] [diff] [review]
Patch for 2002-05-24-08-trunk

Approved for 1.0 branch.  Please remove mozilla1.0.1+ when it's fixed and add
fixed1.0.1
Attachment #85866 - Flags: approval+
Checked in to branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: