Function
GSGlyphNameContainsSuffix(_:_:) GSGlyphNameContainsSuffixGSGlyphNameContainsSuffix
Whether a glyph name contains a suffix delimited by glyph-name separators.
Declaration
func GSGlyphNameContainsSuffix(_ glyphName: String?, _ suffix: String) -> BoolDeclaration
BOOL GSGlyphNameContainsSuffix(NSString *glyphName, NSString *suffix);Declaration
GSGlyphNameContainsSuffix(glyphName: str, suffix: str) -> boolParameters
glyphNameThe glyph name to search.
suffixThe suffix, including its leading separator. For example,
.tfor-ar.
Discussion
A match must end the name or be followed by ., -, or _. Include the leading separator in suffix.
See Also
Strings
checks if the string needs quotes. &plain returns if there are non ascii chars that need UTF encoding
Inserts U+25CC DOTTED CIRCLE in front of every combining mark.