refactor + beginning of bgfx_font api