Closed
Bug 1175287
(opentype-svg-gzip)
Opened 9 years ago
Closed 7 years ago
Support gzip-compressed SVGs in OpenType+SVG fonts
Categories
(Core :: Graphics: Text, defect, P3)
Core
Graphics: Text
Tracking
()
RESOLVED
DUPLICATE
of bug 1359240
People
(Reporter: mozilla, Unassigned)
Details
(Whiteboard: gfx-noted)
Attachments
(1 file)
3.06 MB,
application/x-font-truetype
|
Details |
Based on my proposal, gzip-compression was added to SVG+OpenType spec. Quoting from:
http://www.microsoft.com/typography/otspec/svg.htm
"""
While SVG 1.1 requires in addition to plain text encoding that conforming SVG implementations must correctly support gzip-encoded [RFC1952] and deflate-encoded [RFC1951] data streams, this specification requires that conforming SVG implementations must correctly support plain-text and gzip-encoded [RFC1952] data streams only. In both cases, svgDocLength encodes the length of the encoded data, not the decoded document.
"""
I implemented this in FontTools a while back:
https://github.com/behdad/fonttools/commit/612c70dadadbcc85338868ee8a204fadb760a744
And have attached a test font, based on (unreleased) NotoColorEmojiSVG with compression.
Please implement. Thanks. :)
Reporter | ||
Updated•9 years ago
|
Alias: opentype-svg-gzip
Updated•9 years ago
|
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Updated•9 years ago
|
Whiteboard: gfx-noted
Reporter | ||
Comment 1•8 years ago
|
||
Jonathan, any chance we can see this happen soon?
Updated•7 years ago
|
Priority: -- → P3
Comment 2•7 years ago
|
||
Adobe Type chose not to compress the SVG documents in Trajan Color SVG (https://typekit.com/fonts/trajan-color) because Firefox didn't support it. Edge supports compression, and Adobe apps (InDesign, Illustrator, Photoshop) all support it. Please do add gzip support so that fonts can be shipped smaller. Thanks!
Comment 3•7 years ago
|
||
Oops, we must've overlooked this bug, as it got re-filed as bug 1359240 where there's a patch awaiting review. Dup'ing forward to that one.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•