<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/dcp_subtitle_test.cc, branch debug-corruption</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=debug-corruption</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=debug-corruption'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2024-01-15T11:44:53Z</updated>
<entry>
<title>Inspect most DCPs made during tests with ClairMeta (#76).</title>
<updated>2024-01-15T11:44:53Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-01-12T14:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=de1b4a967e6854782e88e83d48af74289977c8c3'/>
<id>urn:sha1:de1b4a967e6854782e88e83d48af74289977c8c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix handling of empty font IDs and default DCP fonts (#2721) (part of #2722).</title>
<updated>2024-01-15T09:21:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-01-13T22:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=db22f81ccce9e1a5f205e6d8b3c0631fc039a173'/>
<id>urn:sha1:db22f81ccce9e1a5f205e6d8b3c0631fc039a173</id>
<content type='text'>
Previously we used an empty font ID as the default for when a subtitle
has no Font, but in #2721 we saw a DCP with an empty font ID which
raised an assertion (because we'd already added our default font with
the empty ID).

Here we try to fix this (and also make the default font correctly be
that from the first &lt;LoadFont&gt;).
</content>
</entry>
<entry>
<title>Don't check sound assets in some tests.</title>
<updated>2023-07-29T00:26:34Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-07-29T00:26:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=430825272e1a6cf266a184afe5acc0fa9811fff8'/>
<id>urn:sha1:430825272e1a6cf266a184afe5acc0fa9811fff8</id>
<content type='text'>
When fiddling with MXF channel counts it makes a lot of tests fail
that probably don't need to.
</content>
</entry>
<entry>
<title>Cleanup: test tidying.</title>
<updated>2022-12-29T00:47:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-29T00:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ce73eaf7875a9a3326afcd839ad85eb95879c160'/>
<id>urn:sha1:ce73eaf7875a9a3326afcd839ad85eb95879c160</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix unreliable test.</title>
<updated>2022-12-02T18:40:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-02T18:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4e460664ee6f1cc34ac566fb9f0b3655fd329de6'/>
<id>urn:sha1:4e460664ee6f1cc34ac566fb9f0b3655fd329de6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Escape entities just before Pango rendering (#2382).</title>
<updated>2022-12-01T08:21:38Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-30T21:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=99cb0937e54340fa20c594aaa501276b8321cbf0'/>
<id>urn:sha1:99cb0937e54340fa20c594aaa501276b8321cbf0</id>
<content type='text'>
Previously, text coming out of the player would have things like
&amp; escaped to &amp;amp;.  This escaping is also done by libxml++ when
writing XML, so doing it in the player would mean it was done
twice.

We do, however, need to escape things before passing them to Pango
as otherwise it gives errors and renders nothing for the line.

Here we move the escaping to just before the rendering, meaning
that in the reset of DoM we should pass unescaped strings around.
</content>
</entry>
<entry>
<title>Add some failing tests.</title>
<updated>2022-12-01T08:21:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-30T15:20:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=efb1172f51bbe15cd1f90b25a032bbe858453f5f'/>
<id>urn:sha1:efb1172f51bbe15cd1f90b25a032bbe858453f5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidying.</title>
<updated>2022-06-07T15:01:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-06-02T23:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=cb5f295b5dc8f4bade8fb9e27587bf94afa1ac69'/>
<id>urn:sha1:cb5f295b5dc8f4bade8fb9e27587bf94afa1ac69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rearrange subtitle font management.</title>
<updated>2022-06-07T15:01:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-06-01T11:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5a820bb8fae34591be5ac6d19a73461b9dab532a'/>
<id>urn:sha1:5a820bb8fae34591be5ac6d19a73461b9dab532a</id>
<content type='text'>
With this change each subtitle coming out of the player has a reference
to a dcpomatic::Font that belongs to the TextContent.  This hopefully
solves a few problems which all basically stemmed from the fact that
previously the decoders/player were deciding what the font ID in the
output DCP would be - they can't do that properly.
</content>
</entry>
<entry>
<title>Don't ignore font settings for DCP subtitles (#2074).</title>
<updated>2021-10-09T18:04:33Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-10-08T21:31:24Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7647290fbaa81e25875758597f7cbbeca19f80bc'/>
<id>urn:sha1:7647290fbaa81e25875758597f7cbbeca19f80bc</id>
<content type='text'>
</content>
</entry>
</feed>
