mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-06 00:08:01 +02:00
* src/truetype/ttgload.c (load_truetype_glyph): Use IS_DEFAULT_INSTANCE.
This commit is contained in:
parent
f64c7db2fe
commit
c062514088
1 changed files with 2 additions and 4 deletions
|
|
@ -1571,8 +1571,7 @@
|
|||
|
||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
||||
|
||||
if ( FT_IS_NAMED_INSTANCE( FT_FACE( face ) ) ||
|
||||
FT_IS_VARIATION( FT_FACE( face ) ) )
|
||||
if ( !IS_DEFAULT_INSTANCE( FT_FACE( face ) ) )
|
||||
{
|
||||
/* a small outline structure with four elements for */
|
||||
/* communication with `TT_Vary_Apply_Glyph_Deltas' */
|
||||
|
|
@ -1725,8 +1724,7 @@
|
|||
|
||||
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
|
||||
|
||||
if ( FT_IS_NAMED_INSTANCE( FT_FACE( face ) ) ||
|
||||
FT_IS_VARIATION( FT_FACE( face ) ) )
|
||||
if ( !IS_DEFAULT_INSTANCE( FT_FACE( face ) ) )
|
||||
{
|
||||
FT_UShort i, limit;
|
||||
FT_SubGlyph subglyph;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue