font-kit
font-kit copied to clipboard
load font extremely slowly on macos than in windows and linux.
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.
on macos the example of the crate "./list-fonts" will cost several minutes, really realy slow.