* src/sfnt/ttmtx.c (tt_face_get_metrics): Apply variations unconditionally.

This causes a speed-up of approx. 20% for getting advance widths.
This commit is contained in:
Behdad Esfahbod (بهداد اسفهبد) 2022-05-25 14:49:37 +02:00 committed by Werner Lemberg
parent 7838c78f53
commit b98dd169a1
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@
}
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
if ( var )
if ( var && face->blend )
{
FT_Face f = FT_FACE( face );
FT_Int a = (FT_Int)*aadvance;