<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/text_decoder.cc, branch 2670-again</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=2670-again</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=2670-again'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2024-03-03T23:43:28Z</updated>
<entry>
<title>More correctly calculate bitmap subtitle scaling (#2670).</title>
<updated>2024-03-03T23:43:28Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-03-03T23:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=17f8f22b07bd32d57edada0acde6fd9fffe3baf3'/>
<id>urn:sha1:17f8f22b07bd32d57edada0acde6fd9fffe3baf3</id>
<content type='text'>
This was partially fixed before in
6ac468554c7fea0dfaefde85fb6cdd0fceaf5cad

The last try accounted for cropping, but not for cases where the
source video (after crop) does not precisely fit the DCP container.
In those cases the x scale for the subtitles could be different
to the y scale, squashing or stretching them.
</content>
</entry>
<entry>
<title>Pass through &lt;Ruby&gt; tags in subtitles (#2635) (GH#23).</title>
<updated>2023-11-16T23:15:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-15T22:07:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7a877ff976b119a39797c1f6e8477b92dfbb30ca'/>
<id>urn:sha1:7a877ff976b119a39797c1f6e8477b92dfbb30ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: assert result of get_font().</title>
<updated>2023-10-14T19:40:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-10-14T19:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=daf0a05178ac6370440594e124bc25162f053176'/>
<id>urn:sha1:daf0a05178ac6370440594e124bc25162f053176</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Strip disallowed characters from subtitles before they get into the XML.</title>
<updated>2023-02-27T22:20:14Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-02-27T22:20:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=15fe326c723b88f779d69fe0ae737d27d69e6e6f'/>
<id>urn:sha1:15fe326c723b88f779d69fe0ae737d27d69e6e6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Align text subtitles from the bottom of the screen.</title>
<updated>2023-02-27T13:47:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-01-21T22:41:23Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0d87795d5305db9d75894ba9857662b1c0cfeeb3'/>
<id>urn:sha1:0d87795d5305db9d75894ba9857662b1c0cfeeb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support the 2014 version of SMPTE 428-7 in render_text.cc and use it</title>
<updated>2023-02-27T13:47:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-11T23:51:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5e7ec41119961114a9b4df90d1c9ced580667f54'/>
<id>urn:sha1:5e7ec41119961114a9b4df90d1c9ced580667f54</id>
<content type='text'>
when placing subtitles (e.g. SRT).  Also default to outputting 2014-era
alignment.
</content>
</entry>
<entry>
<title>Bump libsub for libdcp dependency removal.</title>
<updated>2022-12-03T09:17:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-03T09:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a0411faf17cf5fe539c30349b65ac24b2bd004ae'/>
<id>urn:sha1:a0411faf17cf5fe539c30349b65ac24b2bd004ae</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>Bump libdcp for subtitle Z-position fixes (#2356).</title>
<updated>2022-11-03T08:33:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-02T21:39:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=37b381e63e202c4b6cb86a22fd9f5c256f1671f2'/>
<id>urn:sha1:37b381e63e202c4b6cb86a22fd9f5c256f1671f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix font_id_map errors when importing DCP subtitles that have no</title>
<updated>2022-09-20T19:24:16Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-09-20T10:22:02Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ff639b3cf30afcc097bfd21d39c8d15f466cadd6'/>
<id>urn:sha1:ff639b3cf30afcc097bfd21d39c8d15f466cadd6</id>
<content type='text'>
font declarations / tags (#2339).
</content>
</entry>
</feed>
