summaryrefslogtreecommitdiff
path: root/src/subtitle_string.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-15 22:58:21 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-15 23:05:32 +0100
commitb651392d70d7e37ce5a8a20da81d86e5d19aadd8 (patch)
tree6bd8a29af4ac175b088e166d0bd10966f921263f /src/subtitle_string.h
parentfb0dfadb60cffe811b89e6ad9d2d5b510a47c62b (diff)
Add fix_empty_font_ids() to replace empty Font ids with a dummy string.v1.6.14
Back-ported from abf4f7577877254ecd7a1dc7955e0d7ca49ad07c in master.
Diffstat (limited to 'src/subtitle_string.h')
-rw-r--r--src/subtitle_string.h4
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;
}