зеркало из https://github.com/mozilla/gecko-dev.git
25c5cd2354
The CGFonts end up in a cache that we don't want. Creating the CTFonts directly should avoid this. Notes: add_native_font normally takes a CGFont and we need a CTFontDescriptor so we convert to postscript name and then postscript name to CTFontDescriptor. This is wasteful but avoids needing to change the external API. To avoid copying the data in the Vec we use a CFAllocator to wrap the Vec for use by CFData Differential Revision: https://phabricator.services.mozilla.com/D93518 |
||
---|---|---|
.. | ||
src | ||
.cargo-checksum.json | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
build.rs |