summaryrefslogtreecommitdiff
path: root/src/lib/font.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-20 22:29:21 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-20 22:29:21 +0000
commit5f2a57d1c21c3e8067dfd1f68505b1bf96e1d7c7 (patch)
tree01e112c11223eb94772e86ca40fbefdb7ec05b8e /src/lib/font.h
parentb607482671ee26a3462d9fcefdd7d7ddcd25184c (diff)
Basic pass-through of font information when using DCP subtitles.
Diffstat (limited to 'src/lib/font.h')
-rw-r--r--src/lib/font.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/font.h b/src/lib/font.h
index 7a26eefc9..6161c20a9 100644
--- a/src/lib/font.h
+++ b/src/lib/font.h
@@ -25,8 +25,6 @@
class Font
{
public:
- Font () {}
-
Font (std::string id_)
: id (id_) {}
@@ -34,8 +32,8 @@ public:
void as_xml (xmlpp::Node* node);
- /** Font ID, or empty for the default font */
- boost::optional<std::string> id;
+ /** Font ID */
+ std::string id;
boost::optional<boost::filesystem::path> file;
};