[varfonts] Fetch optical-size for named instances
This commit is contained in:
parent
0f9bbbcf8f
commit
6a13a21e40
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue