<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/src/subtitle_asset.cc, branch v1.8.69</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=v1.8.69</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=v1.8.69'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2023-05-11T23:35:26Z</updated>
<entry>
<title>Add SubtitleAsset::ensure_font().</title>
<updated>2023-05-11T23:35:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-05-11T23:35:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=7777eed2b60d40915b5f4cc8330b1f5207feb3b3'/>
<id>urn:sha1:7777eed2b60d40915b5f4cc8330b1f5207feb3b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove xmlns:xs namespace from subtitle XML (DoM #2498).</title>
<updated>2023-04-19T10:59:37Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-04-06T20:32:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=7a47f00a7ff3f95ef4013bf453340b94c8535e07'/>
<id>urn:sha1:7a47f00a7ff3f95ef4013bf453340b94c8535e07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change how whitespace in subtitles is handled.</title>
<updated>2023-02-16T20:56:22Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-02-16T20:56:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=89fbc8d186378cd72ab3e9a259073d45b7b993ad'/>
<id>urn:sha1:89fbc8d186378cd72ab3e9a259073d45b7b993ad</id>
<content type='text'>
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
&lt;Text&gt; or &lt;Image&gt; node which I think is a little more correct.
</content>
</entry>
<entry>
<title>Add Z position to subtitles; existing tests pass.</title>
<updated>2022-11-03T08:31:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-10-20T21:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=5048e3e1d91858c2a4132e616438e1943f820124'/>
<id>urn:sha1:5048e3e1d91858c2a4132e616438e1943f820124</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Better subtitle comparisons in tests.</title>
<updated>2022-09-26T17:44:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-09-26T17:44:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=504c7ba026dff76f4124effef01f36a528a04bec'/>
<id>urn:sha1:504c7ba026dff76f4124effef01f36a528a04bec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Nearly pretty-print subtitle XML (though not in &lt;Text&gt; nodes).</title>
<updated>2022-03-20T20:20:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-03-15T14:32:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=066e30f30f851396bd6f10d50a448507e1c0b392'/>
<id>urn:sha1:066e30f30f851396bd6f10d50a448507e1c0b392</id>
<content type='text'>
This is an attempt to fix DoM bug #2205.
</content>
</entry>
<entry>
<title>Order subtitles in the XML according to their vertical position (DoM bug #2106).</title>
<updated>2021-10-24T18:52:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-18T06:55:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=d5ab7ecf942405bcaa7fd8d367e09f95d6c0c978'/>
<id>urn:sha1:d5ab7ecf942405bcaa7fd8d367e09f95d6c0c978</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Basic implementation of &lt;Space&gt; tag in subtitles.</title>
<updated>2021-10-13T20:18:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-13T20:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=8bc480da2db924349465dbe557f87bd6f05b7fdd'/>
<id>urn:sha1:8bc480da2db924349465dbe557f87bd6f05b7fdd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some unused using commands.</title>
<updated>2021-10-10T20:38:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-10T20:38:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=0ecf58d20eec5e9d10ee4b9f0440d232d875f94a'/>
<id>urn:sha1:0ecf58d20eec5e9d10ee4b9f0440d232d875f94a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve handling of image subtitle IDs in XML (DoM bug #1965)</title>
<updated>2021-04-14T14:20:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-14T07:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=098007a1ee6a46b6ff11398f94faff5c85951da4'/>
<id>urn:sha1:098007a1ee6a46b6ff11398f94faff5c85951da4</id>
<content type='text'>
When reading/writing the XML for image subtitles, we assumed that
the content of the &lt;Image&gt; 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.
</content>
</entry>
</feed>
