Skip to content

Commit

Permalink
expand supported GDEF version to 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Oct 26, 2018
1 parent ebcf546 commit ffbf41b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OTFontFileVal/val_GDEF.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public bool Validate(Validator v, OTFontVal fontOwner)

if (v.PerformTest(T.GDEF_Version))
{
if (Version.GetUint() == 0x00010000 || Version.GetUint() == 0x00010002 )
if (Version.GetUint() == 0x00010000 || Version.GetUint() == 0x00010002 || Version.GetUint() == 0x00010003)
{
v.Pass(T.GDEF_Version, P.GDEF_P_Version, m_tag, "0x"+ Version.GetUint().ToString("x8"));
}
Expand Down Expand Up @@ -134,6 +134,7 @@ public bool Validate(Validator v, OTFontVal fontOwner)
}
}

// TODO: Version 1.3 fields
return bRet;
}

Expand Down

0 comments on commit ffbf41b

Please sign in to comment.