Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The output of listFeatures for the Inter-Bold font
["CTFeatureTypeIdentifier": 0, "CTFeatureTypeName": All Typographic Features, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b95bf0>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureTypeIdentifier": 1, "CTFeatureTypeName": Ligatures, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b95680>(
{
CTFeatureSelectorIdentifier = 4;
CTFeatureSelectorName = "Rare Ligatures";
}
)
]
["CTFeatureTypeIdentifier": 6, "CTFeatureTypeExclusive": 1, "CTFeatureTypeName": Number Spacing, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b959e0>(
{
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "Monospaced Numbers";
},
{
CTFeatureSelectorIdentifier = 1;
CTFeatureSelectorName = "Proportional Numbers";
},
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 4;
CTFeatureSelectorName = "No Change";
}
)
]
["CTFeatureTypeIdentifier": 10, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b95d10>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "Normal Vertical Position";
},
{
CTFeatureSelectorIdentifier = 1;
CTFeatureSelectorName = "Superiors/Superscripts";
},
{
CTFeatureSelectorIdentifier = 2;
CTFeatureSelectorName = "Inferiors/Subscripts";
},
{
CTFeatureSelectorIdentifier = 3;
CTFeatureSelectorName = Ordinals;
}
)
, "CTFeatureTypeName": Vertical Position, "CTFeatureTypeExclusive": 1]
["CTFeatureTypeExclusive": 1, "CTFeatureTypeName": Contextual Fractional Forms, "CTFeatureTypeIdentifier": 11, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b96160>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "No Fractional Forms";
},
{
CTFeatureSelectorIdentifier = 2;
CTFeatureSelectorName = Diagonal;
}
)
]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b96310>(
{
CTFeatureSelectorIdentifier = 4;
CTFeatureSelectorName = "Slashed Zero";
}
)
, "CTFeatureTypeName": Typographic Extras, "CTFeatureTypeIdentifier": 14]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b95ad0>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "No Alternates";
},
{
CTFeatureSelectorIdentifier = 1;
CTFeatureSelectorName = "Alternate 1";
},
{
CTFeatureSelectorIdentifier = 2;
CTFeatureSelectorName = "Alternate 2";
},
{
CTFeatureSelectorIdentifier = 3;
CTFeatureSelectorName = "Alternate 3";
},
{
CTFeatureSelectorIdentifier = 4;
CTFeatureSelectorName = "Alternate 4";
},
{
CTFeatureSelectorIdentifier = 5;
CTFeatureSelectorName = "Alternate 5";
},
{
CTFeatureSelectorIdentifier = 6;
CTFeatureSelectorName = "Alternate 6";
},
{
CTFeatureSelectorIdentifier = 7;
CTFeatureSelectorName = "Alternate 7";
},
{
CTFeatureSelectorIdentifier = 8;
CTFeatureSelectorName = "Alternate 8";
}
)
, "CTFeatureTypeIdentifier": 17, "CTFeatureTypeExclusive": 1, "CTFeatureTypeName": Alternates]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b96370>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 7;
CTFeatureSelectorName = "No Change";
},
{
CTFeatureSelectorIdentifier = 8;
CTFeatureSelectorName = "No Kerning";
}
)
, "CTFeatureTypeIdentifier": 22, "CTFeatureTypeName": Text Spacing, "CTFeatureTypeExclusive": 1]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b96520>(
{
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "Capital Forms";
},
{
CTFeatureSelectorIdentifier = 2;
CTFeatureSelectorName = "Capital Spacing";
}
)
, "CTFeatureTypeIdentifier": 33, "CTFeatureTypeName": Case-Sensitive Layout]
["CTFeatureTypeName": Alternative Stylistic Sets, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b965e0>(
{
CTFeatureSelectorIdentifier = 2;
CTFeatureSelectorName = "Open digits";
},
{
CTFeatureSelectorIdentifier = 4;
CTFeatureSelectorName = Disambiguation;
},
{
CTFeatureSelectorIdentifier = 6;
CTFeatureSelectorName = "r curves into round neighbors";
},
{
CTFeatureSelectorIdentifier = 8;
CTFeatureSelectorName = "Disambiguation without slashed zero";
}
)
, "CTFeatureTypeIdentifier": 35]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b96700>(
{
CTFeatureSelectorDefault = 1;
CTFeatureSelectorIdentifier = 0;
CTFeatureSelectorName = "Contextual Alternates";
}
)
, "CTFeatureTypeIdentifier": 36, "CTFeatureTypeName": Contextual Alternates]
["CTFeatureOpenTypeTag": cv01, "CTFeatureTypeExclusive": 1, "CTFeatureTypeName": Alternate one, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b96790>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureOpenTypeTag": cv02, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeExclusive": 1, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b977e0>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureTypeName": Open four, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors]
["CTFeatureOpenTypeTag": cv03, "CTFeatureTypeName": Open six, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeExclusive": 1, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97900>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b979c0>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeName": Open nine, "CTFeatureTypeExclusive": 1, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureOpenTypeTag": cv04]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b97a80>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureOpenTypeTag": cv05, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeName": Lower-case L with tail, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeExclusive": 1]
["CTFeatureTypeName": r with curved tail, "CTFeatureOpenTypeTag": cv06, "CTFeatureTypeExclusive": 1, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97b40>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors]
["CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureOpenTypeTag": cv07, "CTFeatureTypeName": Alternate German double s, "CTFeatureTypeExclusive": 1, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97c00>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b97cc0>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureTypeName": Upper-case i with serif, "CTFeatureTypeExclusive": 1, "CTFeatureOpenTypeTag": cv08, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors]
["CTFeatureOpenTypeTag": cv09, "CTFeatureTypeName": Flat-top three, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97d80>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeExclusive": 1]
["CTFeatureTypeName": Captital G with spur, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureOpenTypeTag": cv10, "CTFeatureTypeExclusive": 1, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97e40>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureOpenTypeTag": cv11, "CTFeatureTypeExclusive": 1, "CTFeatureSampleText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeName": Single-storey a, "CTFeatureTooltipText": Copyright © 2020 The Inter Project Authors, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b97f00>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
]
["CTFeatureOpenTypeTag": dnom, "CTFeatureTypeSelectors": <__NSArrayM 0x600003b9a970>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureTypeExclusive": 1, "CTFeatureTypeName": 'dnom']
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b9b000>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureTypeExclusive": 1, "CTFeatureOpenTypeTag": numr, "CTFeatureTypeName": 'numr']
["CTFeatureTypeSelectors": <__NSArrayM 0x600003b9b7b0>(
{
CTFeatureOpenTypeValue = 0;
CTFeatureSelectorDefault = 1;
CTFeatureSelectorName = Off;
},
{
CTFeatureOpenTypeValue = 1;
CTFeatureSelectorName = On;
}
)
, "CTFeatureTypeName": 'salt', "CTFeatureTypeExclusive": 1, "CTFeatureOpenTypeTag": salt]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment