Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to access WOFF meta-data?

538 views
Skip to first unread message

Jan Odvarko

unread,
May 13, 2010, 10:14:08 AM5/13/10
to
Are there any APIs that would allow to access information within a
*.woff file?

In case of pages that download woff fonts, Firebug could show all the
associated meta-data from the file.

Honza

Jonathan Kew

unread,
May 13, 2010, 11:04:55 AM5/13/10
to Jan Odvarko, dev-pl...@lists.mozilla.org
On 13 May 2010, at 15:14, Jan Odvarko wrote:

> Are there any APIs that would allow to access information within a
> *.woff file?

Not yet. Well, the low-level C code exists to extract the metadata. But there are no APIs within Gecko to expose that in a useful way at present.

>
> In case of pages that download woff fonts, Firebug could show all the
> associated meta-data from the file.

This would be a natural extension of what https://bugzilla.mozilla.org/show_bug.cgi?id=467669 is talking about. There should be a way to determine what fonts are used and get various kinds of information about them; in the case of WOFF fonts, this would include the WOFF metadata.

JK

Jan Odvarko

unread,
May 13, 2010, 11:22:13 AM5/13/10
to
On May 13, 5:04 pm, Jonathan Kew <jfkth...@googlemail.com> wrote:
> On 13 May 2010, at 15:14, Jan Odvarko wrote:
>
> > Are there any APIs that would allow to access information within a
> > *.woff file?
>
> Not yet. Well, the low-level C code exists to extract the metadata. But there are no APIs within Gecko to expose that in a useful way at present.
>
>
>
> > In case of pages that download woff fonts, Firebug could show all the
> > associated meta-data from the file.
>
> This would be a natural extension of whathttps://bugzilla.mozilla.org/show_bug.cgi?id=467669is talking about. There should be a way to determine what fonts are used and get various kinds of information about them; in the case of WOFF fonts, this would include the WOFF metadata.
>
> JK

I have made a note in that bug. This would be pretty cool feature in
Firebug.

Honza

0 new messages