10 FNTLoader(
const Path& filename, std::shared_ptr<std::istream> data):
13 void into(
Loadable& resource,
const LoaderOptions& options = LoaderOptions());
16 void read_binary(
Font* font, std::istream& data,
const LoaderOptions &options);
17 void read_text(
Font* font, std::istream& data,
const LoaderOptions &options);
19 void prepare_texture(
Font* font,
const std::string& texture_file);
24 const char* name()
override {
return "fnt_font"; }
25 bool supports(
const Path& filename)
const override {
26 return filename.ext() ==
".fnt";
29 Loader::ptr loader_for(
const Path& filename, std::shared_ptr<std::istream> data)
const override {
30 return Loader::ptr(
new FNTLoader(filename, data));