soulsmods / DSMapStudio

A standalone map/level editor for Demon's Souls, Dark Souls 1/2/3, Bloodborne, Sekiro, and Elden Ring.
MIT License
447 stars 58 forks source link

Allow selecting custom fonts #929

Open Philiquaz opened 3 weeks ago

Philiquaz commented 3 weeks ago

darkmatter is really persuasive and it's a low hanging fruit

vawser commented 3 weeks ago

Looks good. Only improvement might be to check the validity of the font in some way, since I tested this feature in Smithbox (same implementation) with Wingdings and it threw an exception, whereas other fonts worked fine. image

Philiquaz commented 3 weeks ago

Hmmm... so far as I can guess, ImFontAtlasGetTexDataAsRGBA32 isn't rasterising the font as expected and that's leading us to try create some misformed texture