flexdmd icon indicating copy to clipboard operation
flexdmd copied to clipboard

Add file location override for FlexDMD.Resources Fonts

Open 5cutters opened this issue 8 months ago • 0 comments

Request to add a feature to allow a font to be created using a flexdmd resources fnt font definition, but specify that it doesn't use the default png image for the font - and instead uses a png image contained in the table file.

Not sure if this could be done as an optional parameter or argument when the font is created or as a property after but maybe;

Usual font creation; Set bigFont = FlexDMD.NewFont("FlexDMD.Resources.bm_army-12.fnt", vbWhite, vbWhite, 0) E.g. Font creation but using an image in the table file with a 'file' argument Set bigFont = FlexDMD.NewFont("FlexDMD.Resources.bm_army-12.fnt&file=VPX.bm_army-12modded", vbWhite, vbWhite, 0)

This would allow easy modification of existing flexdmd resources fonts, re-using the existing fnt definitions but without having to include external files for fnt & png with the table file.

5cutters avatar Jun 21 '24 10:06 5cutters