summaryrefslogtreecommitdiff
path: root/test/srt_subtitle_test.cc
AgeCommit message (Collapse)Author
2015-11-02Fix incorrect preview of italic subtitles (#728).Carl Hetherington
This requires fonts to be configured with their italic versions so that the italic font can be given to FontConfig and hence used to render text. Bold font configuration is also added here although bold subtitles aren't yet supported.
2015-08-26Include tidying src/lib/a-j*.hCarl Hetherington
2015-06-30Update for change to default Rec. 601/709 gamma.Carl Hetherington
2015-06-26Fix missing subtitles in some cases.Carl Hetherington
We were passing subtitles back from decoders to SubtitleDecoder using dcp::SubtitleStrings and relying on their storage of time to know when the subtitles were. These times are quantised (by the use of dcp::SubtitleString) and then compared with unquantised times (kept as ContentTime) in the main checking loop in SubtitleDecoder::get(). Fix this by storing periods as ContentTimePeriod as well as in the dcp::SubtitleStrings.
2015-06-25Make player decide whether subtitles should be burnt based onCarl Hetherington
content settings rather than using the film's settings. Remove film property of burn-subtitles.
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-18Some comments in tests.Carl Hetherington
2015-06-09Hide Font members behind accessors.Carl Hetherington
2015-04-30Various bits related to subtitle font handling, particularly copying fonts ↵Carl Hetherington
to the DCP.