<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/render_text.cc, branch v2.15.115</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=v2.15.115</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=v2.15.115'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2021-01-04T09:48:59Z</updated>
<entry>
<title>Check that pango/cairo stuff is created successfully.</title>
<updated>2021-01-04T09:48:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-02T15:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a65a6d26cf5bf673f1bf1fb105f4ca0f8bf38b9c'/>
<id>urn:sha1:a65a6d26cf5bf673f1bf1fb105f4ca0f8bf38b9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix thinko-ed logic causing all subtitles to be treated as though</title>
<updated>2020-11-16T00:40:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-09T00:11:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=126ba9aada95a3dc103d6babce396e5251640d82'/>
<id>urn:sha1:126ba9aada95a3dc103d6babce396e5251640d82</id>
<content type='text'>
they have borders.  This fix will cause some movement of border-less
subtitles (in existing projects) within the video frame.
</content>
</entry>
<entry>
<title>Make use of default_font_file().</title>
<updated>2020-10-12T15:33:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-09-29T20:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a839df0d13e463d833f43ed420e8cfd9dda94dff'/>
<id>urn:sha1:a839df0d13e463d833f43ed420e8cfd9dda94dff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Go back to add_to_cairo_context rather than show_in_cairo_context.</title>
<updated>2020-09-27T20:50:43Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-09-27T20:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=72c3a5f0f32f553a1f8abee2494f31d29b976383'/>
<id>urn:sha1:72c3a5f0f32f553a1f8abee2494f31d29b976383</id>
<content type='text'>
On Linux, at least, doing

add_to_cairo_context()
fill()
add_to_cairo_context()
stroke()

gives a nicer output than

show_in_cairo_context()

It's not clear exactly what the difference is, but the anti aliasing
looks better and the font outlines basically look smoother.

May help with #1815.
</content>
</entry>
<entry>
<title>Rename shared_path -&gt; resources_path.</title>
<updated>2020-09-14T11:09:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-09-14T11:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e3c78ffdb5e562841e86e6f59a20494159c44de7'/>
<id>urn:sha1:e3c78ffdb5e562841e86e6f59a20494159c44de7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix slightly chopped-off subtitles when there are borders.</title>
<updated>2020-08-03T21:08:09Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-03T21:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f015ab05e025348dbc5fafd98da63fe354ee878c'/>
<id>urn:sha1:f015ab05e025348dbc5fafd98da63fe354ee878c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Various OSX warnings fixes.</title>
<updated>2020-07-26T19:30:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-07-26T19:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6eba051dcbb8c56e3e2efea946ce0380d17a7b33'/>
<id>urn:sha1:6eba051dcbb8c56e3e2efea946ce0380d17a7b33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Substantial reworking of the font rendering code to measure</title>
<updated>2020-04-23T22:46:31Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-04-23T21:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=87d5a977da0696fbe73b96b2679b7cbb471e7255'/>
<id>urn:sha1:87d5a977da0696fbe73b96b2679b7cbb471e7255</id>
<content type='text'>
the size of the text before rendering, thereby creating correctly-
sized output images (rather than ones with guesses on height and
with the full target width).

This uses some potentially dubious behaviour described here
https://stackoverflow.com/questions/31788577/create-pango-layout-before-cairo-surface
and could cause any number of problems.

The advantages are that a) it should be a little more efficient and
b) the images created for the subtitle analysis code are useful.
</content>
</entry>
<entry>
<title>More extractions.</title>
<updated>2020-04-23T22:46:31Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-04-23T20:31:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c5301d109be97bf85ce343f7d9356a2262ce0ef6'/>
<id>urn:sha1:c5301d109be97bf85ce343f7d9356a2262ce0ef6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a variable for subtitles.front()</title>
<updated>2020-04-23T22:46:31Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-04-23T20:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=788ed82c41c777b20cb293ab1d65024a29691c48'/>
<id>urn:sha1:788ed82c41c777b20cb293ab1d65024a29691c48</id>
<content type='text'>
</content>
</entry>
</feed>
