未验证 提交 f742514a 编写于 作者: J Jason Simmons 提交者: GitHub

Cache font family lookups that fail to obtain a font collection (#10109)

上级 7c177724
......@@ -159,6 +159,7 @@ FontCollection::GetMinikinFontCollectionForFamilies(
}
// Default font family also not found. We fail to get a FontCollection.
if (minikin_families.empty()) {
font_collections_cache_[family_key] = nullptr;
return nullptr;
}
if (enable_font_fallback_) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册