+ /** @return the data set passed to the dcp::ArrayData constructor,
+ * otherwise the contents of _file, otherwise boost::none.
+ */
+ boost::optional<dcp::ArrayData> data() const;
+
+ /** The actual TTF/OTF font data, as either a filename or the raw data itself */
+ struct Content
+ {
+ boost::optional<dcp::ArrayData> data;
+ boost::optional<boost::filesystem::path> file;
+ };
+
+ Content content() const {
+ return _content;