Closed Bug 83416 Opened 24 years ago Closed 24 years ago

detect bitmap scaled fonts

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 74889
mozilla0.9.3

People

(Reporter: bstell, Assigned: bstell)

Details

Attachments

(1 file)

Bitmapped scaled font are very ugly. Because we have not had a way to distinguish bitmap scaled fonts (ugly) from outline scaled fonts (good looking) we ten to avoid using scaled fonts. The code does avoids scaling by picking "similar" sized bitmap (non-scaled) fonts. This can cause the font to be larger or smaller than the CSS specified font sometimes leading to poor results. Perhaps we should use this test: > http://www.xfree86.org/archives/fonts/2000-Feb/0012.shtml > There's a trick for this that works well with commonly available X > servers, though it probably has no theoretical justification. > Scaleable fonts returned by XListFonts (0 point and pixel size) that > are just scaled bitmaps have non-0 X and Y resolution fields, while > true scaleable fonts have 0 in those fields. > > The GTK+ font selector uses this technique, and I haven't heard > of any complaints about it failing there. > > Regards, > > Owen
Status: NEW → ASSIGNED
Summary: detect bitmap scaled fonts → detect bitmap scaled fonts
Target Milestone: --- → mozilla0.9.2
I don't think this is critical for moz0.9.2, but I think it will be nice to have for moz0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3
QA Contact: andreasb → ylong
bug 74889 includes this *** This bug has been marked as a duplicate of 74889 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified as dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: