Skip to content

load font extremely slowly on macos than in windows and linux. #209

@lencil

Description

@lencil

use example match_font, run it with following arguments in macos.
./match-font "PingFang SC"
"PingFang SC" is a macos default CJK font. This call will cost 3~5 seconds.
I discovered that if you put the font in user ~/Library/fonts, it runs fast. But loading fonts in system fonts path will cost more time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions