Searched refs:HbFontUniquePtr (Results 1 – 5 of 5) sorted by relevance
107 mBaseFont = HbFontUniquePtr(hb_font_reference(o.mBaseFont.get()));114 inline const HbFontUniquePtr& baseFont() const { return mBaseFont; } in baseFont()120 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont) in Font()123 static HbFontUniquePtr prepareFont(const std::shared_ptr<MinikinFont>& typeface);124 static FontStyle analyzeStyle(const HbFontUniquePtr& font);128 HbFontUniquePtr mBaseFont;
52 using HbFontUniquePtr = std::unique_ptr<hb_font_t, HbFontDeleter>; variable
46 HbFontUniquePtr font = prepareFont(mTypeface); in build()58 HbFontUniquePtr Font::prepareFont(const std::shared_ptr<MinikinFont>& typeface) { in prepareFont()65 HbFontUniquePtr parent(hb_font_create(face.get())); in prepareFont()71 HbFontUniquePtr font(hb_font_create_sub_font(parent.get())); in prepareFont()82 FontStyle Font::analyzeStyle(const HbFontUniquePtr& font) { in analyzeStyle()
134 static bool isColorBitmapFont(const HbFontUniquePtr& font) { in isColorBitmapFont()231 static inline void addHyphenToHbBuffer(const HbBufferUniquePtr& buffer, const HbFontUniquePtr& font, in addHyphenToHbBuffer()247 const HbFontUniquePtr& hbFont) { in addToHbBuffer()375 std::vector<HbFontUniquePtr> hbFonts; in LayoutPiece()397 HbFontUniquePtr font(hb_font_create_sub_font(fakedFont.font->baseFont().get())); in LayoutPiece()406 const HbFontUniquePtr& hbFont = hbFonts[font_ix]; in LayoutPiece()
63 HbBlob(const HbFontUniquePtr& font, uint32_t tag) in HbBlob()