projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a6ce7
)
Add comment.
author
Carl Hetherington
<cth@carlh.net>
Sun, 9 Jun 2024 21:42:36 +0000
(23:42 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 9 Jun 2024 21:42:36 +0000
(23:42 +0200)
src/lib/text_content.h
patch
|
blob
|
history
diff --git
a/src/lib/text_content.h
b/src/lib/text_content.h
index 3122271209deb67e33aea54d6b9e1d3c77e14ce7..58014917b45c0bdbade038c9fbb36ca76b40443b 100644
(file)
--- a/
src/lib/text_content.h
+++ b/
src/lib/text_content.h
@@
-224,6
+224,10
@@
private:
double _x_scale;
/** y scale factor to apply to subtitles */
double _y_scale;
+ /** Fonts used by this content. They are added during content examination, then
+ * saved/loaded from metadata.xml. This is so the user can change the font in
+ * used by a piece of content.
+ */
std::list<std::shared_ptr<dcpomatic::Font>> _fonts;
boost::optional<dcp::Colour> _colour;
boost::optional<dcp::Effect> _effect;