Create a number of fonts with the specified sizes.
Create a number of fonts with the specified sizes.
1 string path
the path to the font object.
2 string baseName
the base name for the created font objects.
3 number sizeOffset
the offset to the sizes specified in the vararg. The sizeOffset won't affect the naming for each created font.
4 vararg sizes
the sizes to create for the font. Every created font will have it's name concatenated from the baseName with the sizes provided in the vararg. sizeOffset does not affect the naming of the fonts, just the actual size.
1 table
a list of with all the created font objects. You do not need to store these anywhere, that's done for you already.