Text+
DevForum Topic
  • Welcome
  • Installation
  • Fundamentals
    • Introduction
    • Line breaks
    • Customization
      • Fonts
      • Scale-size
        • Minimum- and maximum-size
      • Truncation
      • Dynamic
      • Custom defaults
    • Modification
    • Text bounds
    • Signals
      • Update
  • Fine-control
    • Introduction
    • Full iteration
  • Specific access
  • Transform and style
  • Custom fonts
    • Introduction
    • Data module
    • Font to XML
    • XML to Lua
    • Upload font image
    • Import font data
Powered by GitBook
On this page
  1. Custom fonts

Data module

PreviousIntroductionNextFont to XML

Last updated 1 day ago

Custom fonts are stored in a separate module.

Create a new module and name it whatever you want — Fonts is recommended. It's crucial that you give it the Fonts, so that Text+ can identify it.

The fonts data module has to return a table, like this:

return {
	
}
tag