diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-15 22:58:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-22 01:21:00 +0100 |
| commit | dd0db15b82a0b40b1271bad122c874d458c0fef4 (patch) | |
| tree | 201b4efac6915353e9635f230b3a08297be87dd7 /src/subtitle_string.h | |
| parent | 82c72bf1a25891d5053b7b4fb1f7d2bab9d7fd13 (diff) | |
Add fix_empty_font_ids() to replace empty Font ids with a dummy string.
Diffstat (limited to 'src/subtitle_string.h')
| -rw-r--r-- | src/subtitle_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subtitle_string.h b/src/subtitle_string.h index c274152b..7e84d103 100644 --- a/src/subtitle_string.h +++ b/src/subtitle_string.h @@ -125,6 +125,10 @@ public: return _aspect_adjust; } + void set_font (std::string id) { + _font = id; + } + void set_size (int s) { _size = s; } |
