Lines Matching refs:typeface
220 dirFlags(0), typeface(NULL), textSize(0), textSkewX(0), textScaleX(0), flags(0),
230 typeface = paint->getTypeface();
245 typeface(other.typeface),
264 if (lhs.typeface < rhs.typeface) return -1;
265 if (lhs.typeface > rhs.typeface) return +1;
299 hash = JenkinsHashMix(hash, hash_type(typeface));
777 * Return the first typeface in the logical change, starting with this typeface,
780 SkTypeface* TextLayoutShaper::typefaceForScript(const SkPaint* paint, SkTypeface* typeface,
783 if (typeface) {
784 currentStyle = typeface->style();
786 typeface = SkCreateTypefaceForScriptNG(script, currentStyle);
790 return typeface;
812 SkTypeface* typeface = paint->getTypeface();
834 scriptTypeface = typefaceForScript(paint, typeface,
842 typeface = scriptTypeface;
845 if (typeface) {
846 SkSafeRef(typeface);
848 typeface = SkTypeface::CreateFromName(NULL, SkTypeface::kNormal);
855 mShapingPaint.setTypeface(typeface);
856 hb_face_t* face = referenceCachedHBFace(typeface);
864 ALOGD("Run typeface = %p, uniqueID = %d, face = %p",
865 typeface, typeface->uniqueID(), face);
867 SkSafeUnref(typeface);
876 hb_face_t* TextLayoutShaper::referenceCachedHBFace(SkTypeface* typeface) {
877 SkFontID fontId = typeface->uniqueID();
883 hb_face_t* face = hb_face_create_for_tables(harfbuzzSkiaReferenceTable, typeface, NULL);
885 ALOGD("Created HB_NewFace %p from paint typeface = %p", face, typeface);