MCPcopy Create free account
hub / github.com/andlabs/ui / OpenTypeFeatures

TypeAlias OpenTypeFeatures

drawtext.go:237–237  ·  view source on GitHub ↗

OpenTypeFeatures is an Attribute that represents a set of OpenType feature tag-value pairs, for applying OpenType features to text. OpenType feature tags are four-character codes defined by OpenType that cover things from design features like small caps and swashes to language-specific glyph shapes

Source from the content-addressed store, hash-verified

235// after giving it to an AttributedString, or modifying one that comes
236// out of an AttributedString, will have no effect.
237type OpenTypeFeatures map[OpenTypeTag]uint32
238
239func (o OpenTypeFeatures) toLibui() *C.uiAttribute {
240 otf := C.uiNewOpenTypeFeatures()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected