Xianqiao Wang

Xianqiao Wang

Some records of life and study

  • Home

Vite Plugin Font Chunk

优化中文字体加载性能:分块懒加载
类似标准:https://www.w3.org/TR/IFT/

Rust CLI:
  • 将源字体按 unicode-range 切割成多块
  • 跨平台
Python: https://github.com/fonttools/fonttools
Rust: https://github.com/simoncozens/rust-font-tools

Plugin:
  • 生成 CSS 并插入 html

Published by Xianqiao Wang on October 3rd, 2022

  • Css
  • Frontend
  • RSS

© 2025 Xianqiao's Site.

Design by Fabien Penso. Powered by Postach.io