⚒️How it works
How does it work?
Last updated
How does it work?
Last updated
Each time Figletize gets a Figlet font, if said font is already found in the list of cached fonts, it would return. Else, the font parser parses the font stream that contains the individual font properties, including the list of letters.
General specification about the .flf
font files is available in the source code of Figletize, and you can view it in the below link:
The font parser first looks for the header, which always starts with the flf2a
in the first five bytes. After that, the string pool is created so that the parser parses the character and installs the final character to the new instance of the Figlet font.
It takes care of the character properties, such as kerning, smushing, and full width.