Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Revert "[ios, macos] Disable font autoactivation"
Browse files Browse the repository at this point in the history
This reverts commit 2fe9452.
  • Loading branch information
1ec5 committed Mar 18, 2020
1 parent a4ce032 commit 9759742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/darwin/src/local_glyph_rasterizer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 9759742

Please sign in to comment.