Closed Bug 1175287 (opentype-svg-gzip) Opened 9 years ago Closed 6 years ago
Support gzip-compressed SVGs in Open
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. :)
Jonathan, any chance we can see this happen soon?
6 years ago
Priority: -- → P3
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!
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: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.