Searched refs:hbFont (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 43 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/ |
D | LayoutCore.cpp | 247 const HbFontUniquePtr& hbFont) { in addToHbBuffer() argument 272 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster */); in addToHbBuffer() 332 addHyphenToHbBuffer(buffer, hbFont, endHyphen, hyphenCluster); in addToHbBuffer() 406 const HbFontUniquePtr& hbFont = hbFonts[font_ix]; in LayoutPiece() local 421 hb_font_set_ppem(hbFont.get(), size * scaleX, size); in LayoutPiece() 422 hb_font_set_scale(hbFont.get(), HBFloatToFixed(size * scaleX), HBFloatToFixed(size)); in LayoutPiece() 424 const bool is_color_bitmap_font = isColorBitmapFont(hbFont); in LayoutPiece() 476 startHyphen, endHyphen, hbFont); in LayoutPiece() 478 hb_shape(hbFont.get(), buffer.get(), features.empty() ? NULL : &features[0], in LayoutPiece() 518 hb_font_get_glyph_extents(hbFont.get(), glyph_ix, &extents)) { in LayoutPiece()
|