Searched refs:typefaceAsset (Results 1 – 2 of 2) sorted by relevance
77 std::unique_ptr<SkStreamAsset> typefaceAsset(tf->openStream(&index)); in create_hb_font() local78 if (!typefaceAsset) { in create_hb_font()84 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()
273 std::unique_ptr<SkStreamAsset> typefaceAsset = font.getTypeface()->openStream(&index); in create_hb_font() local275 if (!typefaceAsset) { in create_hb_font()281 HBBlob blob(stream_to_blob(std::move(typefaceAsset))); in create_hb_font()