Closed Bug 376129 Opened 17 years ago Closed 1 year ago

Missing-glyph hexbox digits should become larger at larger font sizes (and when zooming)

Categories

(Core :: Graphics: Text, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: jruderman, Assigned: jfkthame)

References

()

Details

Attachments

(2 files)

Steps to reproduce:
1. Load data:text/html,<big><big><big><big>A&#45131;

Result: the border of the the hexbox is large, but the digits are tiny.

Expected: the digits should be large enough to read comfortably.
OS: Mac OS X → All
Hardware: PC → All
Blocks: 372629
Blocks: pagezoom
Zoom issue test:-
* Zoom and watch following char ൰൱൲൳൴൵൶൷൸൹ഩ

John, do you think we should make the digits bigger? And if so do you care to own this bug?
Severity: normal → S3
Attached file testcase.html

I think(?) this still reproduces, on Linux at least.

Component: Graphics → Graphics: Text
Version: Trunk → unspecified

This has periodically annoyed me, as the tiny digits can be quite hard to read (or my eyes are getting old!) When the font size is large, so there's lots of room in the tofu rectangle, we should make the digits correspondingly larger.

This makes the digits scale up to better fill the box, as it looks a bit odd to have
the box grow with the font size but the digits remain tiny in the middle of it.

One thing that may look a little odd with this version is that 6-digit hexboxes tend
to get smaller digits than 4-digit ones with large font sizes. But I think that's
OK; it allows the 4-digit chars to be more readable, and 6-digit (non-BMP) ones are
generally much rarer.

(And the whole thing is basically cosmetic anyhow; this isn't about rendering web
content as intended, but trying to provide a bit of useful information when the
content is somehow broken or not renderable.)

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/36da3251f961
Scale the missing-glyph hex digits more usefully for large font sizes. r=gfx-reviewers,lsalzman
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
QA Whiteboard: [qa-113b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: