Home
last modified time | relevance | path

Searched refs:hbFont (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp43 hb_font_t* hbFont = family->getFont(0)->baseFont().get(); in TEST_P() local
48 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, 0 /* variation selector */, in TEST_P()
60 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph))) in TEST_P()
64 << static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph)); in TEST_P()
67 hb_font_destroy(hbFont); in TEST_P()
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp247 const HbFontUniquePtr& hbFont) { in addToHbBuffer() argument
272 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster */); in addToHbBuffer()
332 addHyphenToHbBuffer(buffer, hbFont, endHyphen, hyphenCluster); in addToHbBuffer()
407 const HbFontUniquePtr& hbFont = hbFonts[font_ix]; in LayoutPiece() local
422 hb_font_set_ppem(hbFont.get(), size * scaleX, size); in LayoutPiece()
423 hb_font_set_scale(hbFont.get(), HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); in LayoutPiece()
468 startHyphen, endHyphen, hbFont); in LayoutPiece()
470 hb_shape(hbFont.get(), buffer.get(), features.empty() ? NULL : &features[0], in LayoutPiece()