Replace slightly weird add_font_assets() API.