larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
159 stars 60 forks source link

[BUG] Custom fonts do not work #161

Closed gamerbross closed 1 year ago

gamerbross commented 1 year ago

When checking if the file exists, it finds it just fine, but I think the problem is that an instance of the custom font is not saved in openfl.text.Font.__registeredFonts / openfl.text.Font.__fontByName.

UPDATE

I fixed this issue in this pull request: #162