servo / font-kit

A cross-platform font loading library written in Rust
Apache License 2.0
678 stars 100 forks source link

Load fonts faster on Windows than on Mac OSX #175

Open kaiwk opened 3 years ago

kaiwk commented 3 years ago

The reason probably is DirectWrite providing more performant API which in some case don't need to read file I suppose?

When it comes to Mac OSX, we just directly read from the font path.

Is there any similar API in CoreText?