Skip to content

Releases: TransparentLC/fontloader

v0.2.1

Choose a tag to compare

@TransparentLC TransparentLC released this 30 Mar 08:34
aad2fea

Commits

https://github.com/TransparentLC/fontloader/actions/runs/23735269351

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@TransparentLC TransparentLC released this 14 Mar 10:28
a25d01d

这次更新实装了使用 rayon 实现的并行加载和卸载字体。程序会并行处理打开的每个字体文件、文件夹和压缩包(解压),然后并行加载所有字体文件。

由于加载字体本身其实并不占用 CPU,因此默认线程池大小设定为 CPU 线程数 ×4。

根据测试,加载速度有明显的提升,而卸载本身就很快了,并行后速度变化不大。以“梦源黑体/宋体”为例,这两个字体各包含 27 个 24/37 MB 的 ttc 文件,从文件夹加载时,用时从 7-10s 提升到 2-3s,不过无论是否使用并行卸载用时仍然是 1-2s。

Commits

https://github.com/TransparentLC/fontloader/actions/runs/23085938022

Full Changelog: v0.1.2...v0.2.0

v0.1.2

Choose a tag to compare

@TransparentLC TransparentLC released this 12 Mar 06:44
4ea1b69

Commits

https://github.com/TransparentLC/fontloader/actions/runs/22989673293

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@TransparentLC TransparentLC released this 04 Mar 07:33
59a905d

Commits

https://github.com/TransparentLC/fontloader/actions/runs/22656530789

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@TransparentLC TransparentLC released this 23 Feb 07:45
c25613f