Lines Matching refs:font
109 uint32_t mId; // for the font collection
287 MinikinFont* font = reinterpret_cast<MinikinFont*>(userData);
289 bool ok = font->GetTable(tag, NULL, &length);
297 ok = font->GetTable(tag, reinterpret_cast<uint8_t*>(buffer), &length);
311 MinikinFont* font = paint->font;
319 bool ok = font->GetGlyph(unicode, &glyph_id);
329 MinikinFont* font = paint->font;
330 float advance = font->GetHorizontalAdvance(glyph, *paint);
367 hb_font_t* font = hb_font_create(face);
368 hb_font_set_funcs(font, getHbFontFuncs(), minikinPaint, 0);
369 return font;
392 if (mFaces[ix].font == face.font) {
400 hb_font_t* font = create_hb_font(face.font, &ctx->paint);
401 ctx->hbFonts.push_back(font);
692 if (run.fakedFont.font == NULL) {
693 ALOGE("no font for run starting u+%04x length %d", buf[run.start], run.end - run.start);
697 ctx->paint.font = mFaces[font_ix].font;
701 std::cout << "Run " << run_ix << ", font " << font_ix <<
708 // TODO: if there are multiple scripts within a font in an RTL run,
710 // font stack, but should be done for correctness.
756 ctx->paint.font->GetBounds(&glyphBounds, glyph_ix, ctx->paint);
818 MinikinFont* mf = mFaces[glyph.font_ix].font;
839 return mFaces[glyph.font_ix].font;