diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 08:48:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 08:48:45 +0100 |
| commit | 79cddd181d1fefa930cf4427b896af5c36758f46 (patch) | |
| tree | c5fab06e1f328d8f39b0b7c7b2fd437149fda0a3 /src/smpte_subtitle_asset.h | |
| parent | f62f5d4514baecbbb7c6821f64d12d89c6f4c385 (diff) | |
Stuff.fontfix
Diffstat (limited to 'src/smpte_subtitle_asset.h')
| -rw-r--r-- | src/smpte_subtitle_asset.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h index 444c53e6..9dee7f6d 100644 --- a/src/smpte_subtitle_asset.h +++ b/src/smpte_subtitle_asset.h @@ -130,6 +130,20 @@ private: int _time_code_rate; boost::optional<Time> _start_time; + class Font + { + public: + Font (std::string uuid_, boost::shared_array<uint8_t> data_, boost::uintmax_t size_) + : uuid (uuid_) + , data (data_, size_) + {} + + std::string uuid; + Data data; + mutable boost::optional<boost::filesystem::path> file; + }; + + std::list<Font> _fonts; std::list<boost::shared_ptr<SMPTELoadFontNode> > _load_font_nodes; }; |
