Documentation
¶
Overview ¶
Package textfonts maps ASCII characters to stylized Unicode variants (cursive, bubble, leet, flipped, cursed). Call Load once at startup with the embed.FS from the parent package, then call Convert from anywhere to transform a string under a named group.
Some characters in the source dataset map to multiple stylized variants; Convert picks one uniformly at random per character, so repeated calls with the same input may differ. Characters with no mapping are passed through unchanged.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
Convert returns text with each character substituted according to the group's mapping. Characters with no mapping in the group, and all characters when the group is unknown, are passed through unchanged. Characters that map to multiple variants get a uniformly-random pick per call.
Types ¶
This section is empty.