finished port of fonts, tested and it seems to work as intended