mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00:00
* src/truetype/ttgload.c (load_truetype_glyph): Use IS_DEFAULT_INSTANCE.
This commit is contained in:
committed by
Werner Lemberg
parent
f64c7db2fe
commit
c062514088
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user