Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Fine-tuning for non-null FeatureParams
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Jun 16, 2020
1 parent 6d14b68 commit 0bfe3f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions OTFontFileVal/OTLVal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,13 @@ public bool Validate(Validator v, string sIdentity, OTTable table)
{
bool bRet = true;

if (sIdentity.EndsWith("(size), FeatureTable"))
if (sIdentity.EndsWith("(size), FeatureTable") ||
sIdentity.Contains("(cv") ||
sIdentity.Contains("(ss0") || // avoid matching "ssty"
sIdentity.Contains("(ss1") ||
sIdentity.Contains("(ss2"))
{
// The "size" feature is special in having non-null FeatureParams
// The "size", "cvNN" and "ssNN" features are special in having non-null FeatureParams

// TODO
}
Expand Down

0 comments on commit 0bfe3f5

Please sign in to comment.