http://codereview.appspot.com/5654055/
git-svn-id: http://skia.googlecode.com/svn/trunk@3222
2bbb7eff-a529-9590-31e7-
b0007b416f81
this face with other context (at different sizes).
*/
FT_Error SkScalerContext_FreeType::setupSize() {
- /* In the off-chance that a font has been removed, we want to error out
- right away, so call resolve just to be sure.
-
- TODO: perhaps we can skip this, by walking the global font cache and
- killing all of the contexts when we know that a given fontID is going
- away...
- */
- if (!SkFontHost::ValidFontID(fRec.fFontID)) {
- return (FT_Error)-1;
- }
-
FT_Error err = FT_Activate_Size(fFTSize);
if (err != 0) {