Closed Bug 266741 Opened 20 years ago Closed 6 years ago

Add a way to tell what font was used for a particular glyph

Categories

(Other Applications :: DOM Inspector, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ian, Unassigned)

References

Details

I have some text. I want to know what font was used for a particular glyph. I'd
like to just be able to bring up the DOM Inspector, click the glyph, and have
the DOM Inspector tell me "That character (U+43G2 ZILLOWADABA) is being rendered
by the Zabadoo font".
Product: Core → Other Applications
Wow.  Is this even possible?  We need to have some of the people who work on the
fonts/glyphs code tell us how to access that.  There's certainly no DOM property
I know of that can do this...
Depends on: 339776

*** This bug has been marked as a duplicate of 187992 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Reopening at timeless' request to keep the DOMI bug distinct from the core bug.
Status: RESOLVED → REOPENED
Depends on: 187992
No longer depends on: 339776
Resolution: DUPLICATE → ---
Assignee: dom-inspector → nobody
Status: REOPENED → NEW
QA Contact: timeless → dom-inspector
inIDOMUtils::GetUsedFontFaces slipped in last week: bug 467669
Depends on: 467669
No longer depends on: 187992
I've posted a sample extension (for 7.0a1 Nightly builds) at http://people.mozilla.com/~jkew/font-info.xpi that addresses this; it adds a "Fonts" panel to the Page Info dialog, showing basic info on all fonts actually used in the page, and also adds a "Show Fonts in Selection" command to the right-click (context) menu that will tell you what font(s) are being used to render a specific glyph or range of text.

Tools like DOM Inspector or Firebug may want to provide similar facilities better integrated into their overall design.
(In reply to comment #5)
> I've posted a sample extension (for 7.0a1 Nightly builds)

Now at https://addons.mozilla.org/en-US/firefox/addon/fontinfo/.
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
Status: NEW → RESOLVED
Closed: 19 years ago6 years ago
Resolution: --- → INCOMPLETE
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
You need to log in before you can comment on or make changes to this bug.