From 5ee6680a4b3a0f1718a4d769afd591a7d122c0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 4 Mar 2020 21:26:21 -0800 Subject: [PATCH] Revert "[ios, macos] Disable font autoactivation" This reverts commit 2fe945231f0c67737ffb61406311b5923b3c6b66. --- platform/darwin/src/local_glyph_rasterizer.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/darwin/src/local_glyph_rasterizer.mm b/platform/darwin/src/local_glyph_rasterizer.mm index 461468d8097..62d4943fb8e 100644 --- a/platform/darwin/src/local_glyph_rasterizer.mm +++ b/platform/darwin/src/local_glyph_rasterizer.mm @@ -94,7 +94,7 @@ CFDictionaryRefHandle attributes( &kCFTypeDictionaryValueCallBacks)); CTFontDescriptorRefHandle descriptor(CTFontDescriptorCreateWithAttributes(*attributes)); - fontHandle = CTFontCreateWithFontDescriptorAndOptions(*descriptor, 0.0, NULL, kCTFontOptionsPreventAutoActivation); + fontHandle = CTFontCreateWithFontDescriptor(*descriptor, 0.0, NULL); if (!fontHandle) { throw std::runtime_error("CTFontCreateWithFontDescriptor failed"); }