summaryrefslogtreecommitdiff
path: root/src/load_font.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-14 22:44:23 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-14 22:44:23 +0000
commit861117816d557cd048d56b26f8903ac26a94b395 (patch)
tree269649a3b7e3ed2f3f6dedd46e167921da388958 /src/load_font.cc
parente58cec97a15d1d5dd198dfb145e1d7daf6be9641 (diff)
Switch subtitle string font specs to be the font ID; split SubtitleContent into Interop and SMPTE.
Diffstat (limited to 'src/load_font.cc')
-rw-r--r--src/load_font.cc37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/load_font.cc b/src/load_font.cc
deleted file mode 100644
index b46569c8..00000000
--- a/src/load_font.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-
-#include "load_font.h"
-#include <libcxml/cxml.h>
-
-using std::string;
-using boost::shared_ptr;
-using boost::optional;
-using namespace dcp;
-
-LoadFont::LoadFont (boost::shared_ptr<const cxml::Node> node)
-{
- optional<string> x = node->optional_string_attribute ("Id");
- if (!x) {
- x = node->optional_string_attribute ("ID");
- }
- id = x.get_value_or ("");
-
- uri = node->optional_string_attribute ("URI");
-}