summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
AgeCommit message (Collapse)Author
2023-11-15Simple pass-through of <Ruby> tags in subtitles.Carl Hetherington
2023-10-06Cleanup: sorting.Carl Hetherington
2023-08-08Remove unused method.Carl Hetherington
2023-07-25Cleanup: pass EqualityOptions as const&Carl Hetherington
This exposes a useless assignment of export_differing_subtitles, which I've removed (and altered the comment accordingly).
2023-05-12Add SubtitleAsset::ensure_font().v1.8.69Carl Hetherington
2023-04-19Remove xmlns:xs namespace from subtitle XML (DoM #2498).Carl Hetherington
2023-02-16Change how whitespace in subtitles is handled.Carl Hetherington
Previously we would discard any whitespace subtitle content we found. This had the side-effect of making a verification test fail (checking that at least one subtitle is in each reel; blank subtitles are often used to avoid this warning). Here we take any subtitle content, whitespace or not, inside a <Text> or <Image> node which I think is a little more correct.
2022-11-03Add Z position to subtitles; existing tests pass.Carl Hetherington
2022-09-26Better subtitle comparisons in tests.v1.8.30Carl Hetherington
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