#字体 #排版 #OpenType #字族

bin+lib woff

该包为 Web Open Font Format 的字体提供压缩工具

8 个版本

0.3.3 2024年4月19日
0.3.1 2024年1月31日
0.3.0 2023年10月6日
0.2.3 2023年6月13日
0.0.1 2023年2月7日

#2342解析实现

Apache-2.0/MIT

1.5MB
24K SLoC

C 20K SLoC // 0.1% comments C++ 3.5K SLoC // 0.1% comments Rust 236 SLoC Shell 23 SLoC

WOFF 包 文档 构建

该包为 Web Open Font Format 的字体提供压缩工具。

用法

cargo install --features binary woff
woff Roboto-Regular.ttf Roboto-Regular.woff2
woff Roboto-Regular.woff2 Roboto-Regular.ttf

贡献

您的贡献非常受欢迎。请随时提出问题或提交拉取请求。请注意,提交给项目的任何贡献都将根据 LICENSE.md 中的条款进行许可。


lib.rs:

Web Open Font Format 字体的压缩器。

依赖项