projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e6ab3
)
Fonts change appearance of subtitles if they are burnt in.
author
Carl Hetherington
<cth@carlh.net>
Fri, 26 Jun 2015 18:32:47 +0000
(19:32 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 26 Jun 2015 18:32:47 +0000
(19:32 +0100)
src/lib/subtitle_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/subtitle_content.cc
b/src/lib/subtitle_content.cc
index a10e23cafea324a48fe9333e4858c5b30f294771..29c610d8364f94209f18a97ff24a274bd588f415 100644
(file)
--- a/
src/lib/subtitle_content.cc
+++ b/
src/lib/subtitle_content.cc
@@
-268,6
+268,13
@@
SubtitleContent::identifier () const
<< "_" << raw_convert<string> (subtitle_x_offset())
<< "_" << raw_convert<string> (subtitle_y_offset());
+ /* XXX: I suppose really _fonts shouldn't be in here, since not all
+ types of subtitle content involve fonts.
+ */
+ BOOST_FOREACH (shared_ptr<Font> f, _fonts) {
+ s << f->file().get_value_or ("Default");
+ }
+
/* The language is for metadata only, and doesn't affect
how this content looks.
*/