diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-04-13 23:39:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-04-13 23:39:40 +0200 |
| commit | 776836d2700123f8a0f109d3a2ac00fad5cdfd48 (patch) | |
| tree | 1d73fdcd93480d461405483f115ea8a723d1d667 /src/interop_subtitle_asset.h | |
| parent | b87af40c55522bae1f23ac43cd25698c0a21f75d (diff) | |
Add check for Interop font assets being present (in the ASSETMAP and on disk).
Diffstat (limited to 'src/interop_subtitle_asset.h')
| -rw-r--r-- | src/interop_subtitle_asset.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 23cf0b49..467728db 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -85,6 +85,12 @@ public: void add_font_assets (std::vector<std::shared_ptr<Asset>>& assets); void set_font_file (std::string load_id, boost::filesystem::path file); + /** @return the <LoadFont> IDs of fonts for which we have not (yet) found a font asset. + * This could be because resolve_fonts() has not yet been called, or because there is + * a missing font file. + */ + std::vector<std::string> unresolved_fonts() const; + /** Set the reel number or sub-element identifier * of these subtitles. * @param n New reel number. |
