[varfonts] Fetch optical-size for named instances

This commit is contained in:
Behdad Esfahbod 2017-09-13 04:04:56 -04:00
parent 0f9bbbcf8f
commit 6a13a21e40
1 changed files with 4 additions and 1 deletions

View File

@ -1318,7 +1318,10 @@ FcFreeTypeQueryFace (const FT_Face face,
width_mult = mult;
break;
/* TODO optical size! */
case FT_MAKE_TAG ('o','p','s','z'):
if (!FcPatternAddDouble (pat, FC_SIZE, value))
goto bail1;
break;
}
}
}