accassid / dice-gen

A three.js based dice generator react app.
17 stars 7 forks source link

Upload a font #62

Closed accassid closed 3 years ago

accassid commented 3 years ago

Create an option to upload a font. The font loader at the very least accepts tff files so start with that and allow others if built in.

This should be some sort of button next to or below the font dropdown that when clicked replaces the font dropdown with an antd file dropzone. Once the file is loaded in, it sets the global font. There should be some sort of delete button, like for the svgs, that clears the font and return to user to the font dropdown.