* 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:
parent
7838c78f53
commit
b98dd169a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user