diff --git a/OTFontFile/OTFont.cs b/OTFontFile/OTFont.cs index d3f2aba..ea1a4db 100644 --- a/OTFontFile/OTFont.cs +++ b/OTFontFile/OTFont.cs @@ -431,6 +431,14 @@ public bool ContainsTrueTypeOutlines() return false; } + public bool IsVariableFont() + { + if ( (GetTable("fvar") == null) || (GetTable("STAT") == null) ) + return false; + else + return true; + } + public ushort GetMaxpNumGlyphs() { // this routine caches the maxp.numGlyphs value for better performance