Skip to content

构建字体的速度*非常慢* #34

Description

@pluiedev

之前在nixpkgs测试搭建方舟字体的时候,发现搭建全套字体居然花了15分钟多…… 慢得有一点不可理喻了。

...
python3.12-ark-pixel-font> INFO:font_service:Make font file: '/build/source/build/outputs/ark-pixel-16px-proportional-ko.pcf'
python3.12-ark-pixel-font> INFO:font_service:Make font collection file: '/build/source/build/outputs/ark-pixel-16px-proportional.otc'
python3.12-ark-pixel-font> INFO:font_service:Make font collection file: '/build/source/build/outputs/ark-pixel-16px-proportional.ttc'
python3.12-ark-pixel-font> buildPhase completed in 15 minutes 24 seconds

而且整个过程中CPU利用率没有超过10%(貌似是在单线程运转),完全没有达到用户硬件能够达到的速度。
目前肉眼能观察到,12px的字体比10px和16px搭建起来要慢很多,有没有可能搭建速度和字体中有的字符数量成正比?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions