<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/dcp_subtitle_test.cc, branch fixlibdir</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=fixlibdir</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=fixlibdir'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2024-06-11T07:52:28Z</updated>
<entry>
<title>Simplify the FontIDAllocator a lot (#2827).</title>
<updated>2024-06-11T07:52:28Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-06-09T23:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a224ef26f48e1a9a9189c2b935abb06147b342bc'/>
<id>urn:sha1:a224ef26f48e1a9a9189c2b935abb06147b342bc</id>
<content type='text'>
This is at the expense of forward compatibility, and the need to
re-examine subtitle content (losing custom fonts as we do so).

But it does mean that the code is simpler, and there's not this weird
growth of IDs where a DCP gets imported with some font, and then the ID
becomes 0_font, and if you do it again it's 0_0_font, and so on.
</content>
</entry>
<entry>
<title>Rename new_test_film2 -&gt; new_test_film.</title>
<updated>2024-05-22T08:33:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-20T14:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c'/>
<id>urn:sha1:c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace all new_test_film with new_test_film2.</title>
<updated>2024-05-21T21:52:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-20T14:54:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e3dba6242aed7415eddbbfb1e5d56ce6680603c1'/>
<id>urn:sha1:e3dba6242aed7415eddbbfb1e5d56ce6680603c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename classes to follow preparatory renames in libdcp.</title>
<updated>2024-04-21T21:17:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-29T23:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d3b5b533ebba1a1534eb37cc41032876a48a3d82'/>
<id>urn:sha1:d3b5b533ebba1a1534eb37cc41032876a48a3d82</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
