Lines Matching defs:font
149 uint32_t mId; // for the font collection
291 MinikinFont* font = paint->font;
292 float advance = font->GetHorizontalAdvance(glyph, *paint);
336 if (mFaces[ix].font == face.font) {
344 hb_font_t* font = getHbFontLocked(face.font);
345 hb_font_set_funcs(font, getHbFontFuncs(), &ctx->paint, 0);
346 ctx->hbFonts.push_back(font);
736 if (run.fakedFont.font == NULL) {
737 ALOGE("no font for run starting u+%04x length %d", buf[run.start], run.end - run.start);
741 ctx->paint.font = mFaces[font_ix].font;
745 ALOGD("Run %zu, font %d [%d:%d]", run_ix, font_ix, run.start, run.end);
751 // TODO: if there are multiple scripts within a font in an RTL run,
753 // font stack, but should be done for correctness.
798 // Fallback to ASCII HYPHEN-MINUS if the font didn't have a glyph for HYPHEN. Note
799 // that we intentionally don't do anything special if the font doesn't have a
842 ctx->paint.font->GetBounds(&glyphBounds, glyph_ix, ctx->paint);
909 MinikinFont* mf = mFaces[glyph.font_ix].font;
932 return mFaces[glyph.font_ix].font;