Commit 6a13a21e authored by Behdad Esfahbod's avatar Behdad Esfahbod

[varfonts] Fetch optical-size for named instances

parent 0f9bbbcf
......@@ -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;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment