Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file location override for FlexDMD.Resources Fonts #55

Open
5cutters opened this issue Jun 21, 2024 · 0 comments
Open

Add file location override for FlexDMD.Resources Fonts #55

5cutters opened this issue Jun 21, 2024 · 0 comments

Comments

@5cutters
Copy link

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 5cutters changed the title Add file location override for Fonts Add file location override for FlexDMD.Resources Fonts Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant