<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/hints_test.cc, branch certs</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=certs</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=certs'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2024-01-15T09:21:59Z</updated>
<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>Fix DCP content font ID allocation to cope with DCPs that have multiple fonts</title>
<updated>2023-10-15T07:10:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-10-14T19:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3c802dd6d1451c2c8a7e188f8379738d72e907eb'/>
<id>urn:sha1:3c802dd6d1451c2c8a7e188f8379738d72e907eb</id>
<content type='text'>
with the same name in the same reel (#2600).

Previously we had this id_for_font_in_reel() which would give an ID
of N_font-ID.  This means we got duplicate font IDs.

Here we replace that method with FontAllocator, which gives an ID of
N_font-ID for the first font and M_font-ID, where M is a number higher than
the highest reel index.  The idea is to support the required new IDs
without breaking exisiting projects.

There is some documentation of how it works  in doc/design/fonts
</content>
</entry>
<entry>
<title>You are advised -&gt; It is advisable (#2189).</title>
<updated>2023-10-02T21:41:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-10-02T21:41:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=129f9164dc7e6ad15e18919f03eb23c9235d4944'/>
<id>urn:sha1:129f9164dc7e6ad15e18919f03eb23c9235d4944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix hints test now that subtitle reader gives an error on large fonts.</title>
<updated>2023-09-08T05:47:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-09-08T05:47:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0755722ecc0777a618a3b2eec5e1d94916bb2b8f'/>
<id>urn:sha1:0755722ecc0777a618a3b2eec5e1d94916bb2b8f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix incorrect hint about having too many subtitle lines in some cases (#2546).</title>
<updated>2023-06-02T21:38:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-02T21:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e7245abe84a1a09a5f680e426b5dfac2de2e472a'/>
<id>urn:sha1:e7245abe84a1a09a5f680e426b5dfac2de2e472a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve a test failure message.</title>
<updated>2023-06-02T21:37:58Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-02T21:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8ea0d3bbc98054a2b6582343c96c4d03bcc2d4c1'/>
<id>urn:sha1:8ea0d3bbc98054a2b6582343c96c4d03bcc2d4c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extract constants.h</title>
<updated>2022-12-09T23:47:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-09T23:47:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=da38c8a0156808595be0aae1b1490069a663fb78'/>
<id>urn:sha1:da38c8a0156808595be0aae1b1490069a663fb78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a vector rather than a list when returning from content_factory().</title>
<updated>2022-07-11T10:22:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-07-09T18:41:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b1e22dff981fb86ae04b12bb5a064e61030793a8'/>
<id>urn:sha1:b1e22dff981fb86ae04b12bb5a064e61030793a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix hints test after subtitle font changes.</title>
<updated>2022-06-10T21:12:24Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-06-10T09:18:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7262e484f1957df62ccfb5652b0181acea5c74f9'/>
<id>urn:sha1:7262e484f1957df62ccfb5652b0181acea5c74f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Throw exceptions when Hints thread fails in tests.</title>
<updated>2022-06-07T15:01:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-06-03T09:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=380ca8671269dcd1fb31c519b7a41f428792846f'/>
<id>urn:sha1:380ca8671269dcd1fb31c519b7a41f428792846f</id>
<content type='text'>
</content>
</entry>
</feed>
