projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearrange subtitle font management.
[dcpomatic.git]
/
src
/
lib
/
string_text_file_decoder.cc
diff --git
a/src/lib/string_text_file_decoder.cc
b/src/lib/string_text_file_decoder.cc
index d366bedc0fa84ebd578650eed2c18fb94ef012c6..d5f320a27f83ab83fa3c1705e8e9e0c0e3f1da3b 100644
(file)
--- a/
src/lib/string_text_file_decoder.cc
+++ b/
src/lib/string_text_file_decoder.cc
@@
-91,17
+91,3
@@
StringTextFileDecoder::content_time_period (sub::Subtitle s) const
ContentTime::from_seconds (s.to.all_as_seconds())
);
}
ContentTime::from_seconds (s.to.all_as_seconds())
);
}
-
-
-vector<FontData>
-StringTextFileDecoder::fonts () const
-{
- vector<FontData> data;
- for (auto i: text) {
- for (auto j: i->content()->fonts()) {
- data.push_back (FontData(j));
- }
- }
- return data;
-}
-