{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihvidsg4tgfdmtrupypv6odt74z62jcmvp4rspk2me5tl2kegc6om",
"uri": "at://did:plc:nfto3lv2rcs5s7h7digotzlu/app.bsky.feed.post/3mmaegn7t5lp2"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreig7saeenw6c3prrms24e2bpcmq7mskq26az4ajg73ufx33cf4gf2a"
},
"mimeType": "image/png",
"size": 32236
},
"path": "/packages/woff2",
"publishedAt": "2026-05-19T21:45:32.323Z",
"site": "https://pub.dev",
"tags": [
"@font-face"
],
"textContent": "WOFF and WOFF2 font support for Flutter — decodes WOFF1/WOFF2 to SFNT (TTF/OTF) so Flutter's FontLoader can load them. Pure-Dart decoder, high-level Flutter FontLoader wrapper, and a CSS @font-face parser. Changelog excerpt: First public release. The decoder and Flutter FontLoader wrapper were extracted from [`flutter_full_svg_support`](https://pub.dev/packages/full_svg_flutter), where they have shipped since `v1.0.0`driving SVG `@font-face`handling. ### Added - `decodeFontIfWoff(Uint8List bytes)`— pure-Dart WOFF1 and WOFF2 → SFNT (TTF/OTF) decoder. Implements the full W3C WOFF2 spec including `glyf`/`loca`/`hmtx`transformations. - `loadWoffFontFromAsset({fontFamily, assetPath})`— one-call helper that loads a `.wo[...]",
"title": "v0.1.0 of woff2",
"updatedAt": "2026-05-19T21:43:35.319Z"
}