Closed
Bug 83416
Opened 24 years ago
Closed 24 years ago
detect bitmap scaled fonts
Categories
(Core :: Internationalization, defect)
Tracking
()
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
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Summary: detect bitmap scaled fonts → detect bitmap scaled fonts
Target Milestone: --- → mozilla0.9.2
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
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
Updated•24 years ago
|
QA Contact: andreasb → ylong
Assignee | ||
Comment 3•24 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•