Home
last modified time | relevance | path

Searched refs:HbFontUniquePtr (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/libs/minikin/
DFont.cpp42 HbFontUniquePtr font = prepareFont(mTypeface); in build()
61 const HbFontUniquePtr& Font::baseFont() const { in baseFont()
76 HbFontUniquePtr Font::prepareFont(const std::shared_ptr<MinikinFont>& typeface) { in prepareFont()
83 HbFontUniquePtr parent(hb_font_create(face.get())); in prepareFont()
89 HbFontUniquePtr font(hb_font_create_sub_font(parent.get())); in prepareFont()
100 FontStyle Font::analyzeStyle(const HbFontUniquePtr& font) { in analyzeStyle()
DLayoutCore.cpp134 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()
376 std::vector<HbFontUniquePtr> hbFonts; in LayoutPiece()
398 HbFontUniquePtr font(hb_font_create_sub_font(fakedFont.font->baseFont().get())); in LayoutPiece()
407 const HbFontUniquePtr& hbFont = hbFonts[font_ix]; in LayoutPiece()
DMinikinInternal.h63 HbBlob(const HbFontUniquePtr& font, uint32_t tag) in HbBlob()
DFontFileParser.cpp163 FontFileParser::FontFileParser(const HbFontUniquePtr& font) in FontFileParser()
DFontCollection.cpp50 const HbFontUniquePtr& font) { in getGlyphCount()
636 const HbFontUniquePtr& font = family->getFont(0)->baseFont(); in getBestFont()
/frameworks/minikin/include/minikin/
DFont.h141 const HbFontUniquePtr& baseFont() const;
148 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont, in Font()
165 static HbFontUniquePtr prepareFont(const std::shared_ptr<MinikinFont>& typeface);
166 static FontStyle analyzeStyle(const HbFontUniquePtr& font);
172 mutable HbFontUniquePtr mBaseFont GUARDED_BY(mTypefaceMutex);
DFontFileParser.h33 explicit FontFileParser(const HbFontUniquePtr& font);
DHbUtils.h52 using HbFontUniquePtr = std::unique_ptr<hb_font_t, HbFontDeleter>; variable