summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
AgeCommit message (Collapse)Author
2022-03-20Nearly pretty-print subtitle XML (though not in <Text> nodes).v1.8.12Carl Hetherington
This is an attempt to fix DoM bug #2205.
2021-10-24Order subtitles in the XML according to their vertical position (DoM bug #2106).v1.8.4Carl Hetherington
2021-10-13Basic implementation of <Space> tag in subtitles.v1.8.3Carl Hetherington
2021-10-10Remove some unused using commands.Carl Hetherington
2021-04-14Improve handling of image subtitle IDs in XML (DoM bug #1965)Carl Hetherington
When reading/writing the XML for image subtitles, we assumed that the content of the <Image> tag is just the ID of the PNG in the MXF, without any prefix. DoM bug #1965 mentions a DCP where this is not the case, and SMPTE 429-5-2009 has an example where there is urn:uuid: in the XML. This change makes DoM write this urn:uuid: prefix, and accept it if it's present (but not complain if it's not). If the urn:uuid: _is_ required in the field, it's a bit surprising that nobody has complained up to this point. Maybe nobody noticed, or nobody reported it.
2021-04-14C++11 tidying.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Change subtitle SubtitleAsset API to return const Subtitle pointers; add ↵Carl Hetherington
subtitles_in_reel().
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-12-02Fix equals() with image subtitles to not compare unique IDs.Carl Hetherington
Also add an option to save subtitle images to PNGs when they differ.
2020-11-02Rename Data -> ArrayData.Carl Hetherington
2020-09-11Add font_filenames()Carl Hetherington
2020-09-11Rename fonts_with_load_ids() -> font_data()Carl Hetherington
2019-12-22Add fix_empty_font_ids() to replace empty Font ids with a dummy string.Carl Hetherington
2018-09-22Fix build with newer boost.Carl Hetherington
2018-07-15Fix thinko causing hang in ::equals().Carl Hetherington
2018-07-09Store image subtitle ID in the object, rather than a separate map. Start of ↵Carl Hetherington
reading image subtitles.
2018-07-09Switch to UUIDs for Interop image subtitle identification (rather than ↵Carl Hetherington
indices). Basic and untested SMPTE image subtitle support.
2018-07-08Basic interop bitmap writing.Carl Hetherington
2018-07-07SubtitleString -> shared_ptr<Subtitle>Carl Hetherington
2018-06-08Fix incorrect default effect colour.Carl Hetherington
2016-10-07Rework subtitle writing to fix incorrect output withCarl Hetherington
in-line font changes (#952).
2016-09-12Remove mysterious use of locked_stringstream.Carl Hetherington
2016-08-30Neater and more correct XML subtitle parser.Carl Hetherington
2016-07-21Trim some unused stream includes / usings.Carl Hetherington
2016-07-01asdcp headers moved into subdirectory.Carl Hetherington
2016-06-24Support underlining of subtitles.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2016-04-12Add direction support for SMPTE subtitles; fix pragma warnings with ↵Carl Hetherington
non-openmp builds.
2016-04-05Basic untested support for bold in subtitles.Carl Hetherington
2015-11-26Small method name cleanup.Carl Hetherington
2015-11-26Tidy up; more/better use of BOOST_FOREACH.Carl Hetherington
2015-11-26Allow <Subtitle> nodes as the root of subtitles, not just <Font>Carl Hetherington
2015-11-26Extract examine_subtitle_nodes into its own method.Carl Hetherington
2015-09-12A number of SMPTE subtitle syntax fixes.Carl Hetherington
2015-07-06Extend SubtitleAsset::subtitles_during to allow asking for subtitles either ↵Carl Hetherington
starting during a particular timescale or overllapping it.
2015-07-03Write very small VPosition values as 0.Carl Hetherington
2015-06-24Fix various SNAFUs with Font ID handling.Carl Hetherington
2015-06-24Give Data a loading constructor.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-18Fix several missing binary specifiers to fopen.Carl Hetherington
2015-06-10Rename Font -> FontAsset; add dcpdumpsub tool.Carl Hetherington
2015-06-09Handle storing/recovery of fonts in SMPTE MXF files.Carl Hetherington
2015-06-09Basically-working interop subtitle font handling.Carl Hetherington