summaryrefslogtreecommitdiff
path: root/src/font_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-17 01:39:45 +0100
commit28ab65a9d625e03753cd40e22d9f991d59460a16 (patch)
tree0e069ed40bb9b2c53edf45dcd10b05d1719e9519 /src/font_asset.h
parent5eb0ff8f094517ab6d82751288a69c8fcea74eb1 (diff)
Use PKL types rather than file extensions.
Diffstat (limited to 'src/font_asset.h')
-rw-r--r--src/font_asset.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/font_asset.h b/src/font_asset.h
index 5b431650..1d412619 100644
--- a/src/font_asset.h
+++ b/src/font_asset.h
@@ -47,8 +47,12 @@ class FontAsset : public Asset
public:
FontAsset (std::string id, boost::filesystem::path file);
+ static std::string static_pkl_type (Standard standard);
+
private:
- std::string pkl_type (Standard standard) const;
+ std::string pkl_type (Standard standard) const {
+ return static_pkl_type (standard);
+ }
};
}