rec->fStrokeJoin = 0;
}
- rec->setHinting(computeHinting(paint));
rec->fMaskFormat = SkToU8(computeMaskFormat(paint));
if (SkMask::kLCD16_Format == rec->fMaskFormat) {
}
rec->fFlags = SkToU16(flags);
+ // setHinting modifies fFlags, so do this last
+ rec->setHinting(computeHinting(paint));
+
/* Allow the fonthost to modify our rec before we use it as a key into the
cache. This way if we're asking for something that they will ignore,
they can modify our rec up front, so we don't create duplicate cache