Documentation ¶
Overview ¶
Binary tool generates dictionary files that can be used by the text package to render text using the distance field font rendering method. A .ttf font file must be specified as an input, and an output.png and output.dict file will be generated from it. The output.png file can be used to see how well packed the atlas is, if there is a significant amount of empty space you may want to retry with a different value for --dpi. Regardless of what --dpi is used when generating the dictionary the font will always render at the same size because a height parameter is always used when rendering text. The output.dict file is what should be given to text.LoadDictionary().
Click to show internal directories.
Click to hide internal directories.