<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/render_text.cc, branch uploader-take2</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=uploader-take2</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=uploader-take2'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-07-08T20:11:35Z</updated>
<entry>
<title>Fix cut-off subtitle shadows.</title>
<updated>2025-07-08T20:11:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-04T08:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bb07c53c501365b6380ae2c7e1a149b955d13d4d'/>
<id>urn:sha1:bb07c53c501365b6380ae2c7e1a149b955d13d4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make shadow offset proportional to the target size.</title>
<updated>2025-07-08T20:11:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-04T08:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bb5319c7dc0c91815750eafe771303f5fffbe30b'/>
<id>urn:sha1:bb5319c7dc0c91815750eafe771303f5fffbe30b</id>
<content type='text'>
Otherwise it looks further away in the preview than in in the final DCP
(if the preview is smaller).
</content>
</entry>
<entry>
<title>Add dcp_pixels_to_pixels().</title>
<updated>2025-07-08T20:11:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-04T08:29:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=57a83f853fc45be5361ec002acc964c1ed8b89b4'/>
<id>urn:sha1:57a83f853fc45be5361ec002acc964c1ed8b89b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Return float from border_width_for_subtitle().</title>
<updated>2025-07-08T20:11:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-04T08:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3f8df1be4983cc1ce7547d9bbb89114bf281d9b7'/>
<id>urn:sha1:3f8df1be4983cc1ce7547d9bbb89114bf281d9b7</id>
<content type='text'>
We're already using ceil on the return value everywhere we need to, as
far as I can see.
</content>
</entry>
<entry>
<title>White space: render_text.cc.</title>
<updated>2025-07-04T07:49:19Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-04T07:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=1650465106b7c20a7cc9ae5eec1cf9bf406c1dcf'/>
<id>urn:sha1:1650465106b7c20a7cc9ae5eec1cf9bf406c1dcf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump libdcp for raw_convert changes.</title>
<updated>2025-01-05T11:58:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-30T14:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b03f2277a205ff7e7cdaa12c6e52322ea474a7af'/>
<id>urn:sha1:b03f2277a205ff7e7cdaa12c6e52322ea474a7af</id>
<content type='text'>
raw_convert&lt;string&gt; is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
</content>
</entry>
<entry>
<title>Fix warning from pango about letter spacing not being an integer.</title>
<updated>2024-06-24T20:36:08Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-06-24T20:36:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4c357cde281e13c8933e6ba669764a56c4a4693f'/>
<id>urn:sha1:4c357cde281e13c8933e6ba669764a56c4a4693f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Render subtitles using show_in_cairo_context() instead of add_to_cairo_context().</title>
<updated>2024-05-30T17:59:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-19T20:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=09f35415304afc127f50edfe4357a28c5a0e2ff9'/>
<id>urn:sha1:09f35415304afc127f50edfe4357a28c5a0e2ff9</id>
<content type='text'>
This helps with #2813 and should fix #2474.

We started using add_to_cairo_context() again in
72c3a5f0f32f553a1f8abee2494f31d29b976383
because the rendering looked better.  However colour changes within
lines cannot easily be rendered using add_to_cairo_context() it seems,
as the text is just added as a path and then you can stroke/fill it
with a single colour.

I hope that this change, which reverts 72c3a5 but also adds some calls
to enable hinting and use better anti-aliasing, looks OK.  I looked
at some white-on-black subs close-up and the hinting seems to help.
</content>
</entry>
<entry>
<title>pangommconfig.h is not included by pangomm.h on some platforms.</title>
<updated>2024-03-23T11:45:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-03-23T11:45:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=07d4c9e0c9e60578ff74e47ad1cc7233134d5f24'/>
<id>urn:sha1:07d4c9e0c9e60578ff74e47ad1cc7233134d5f24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow building with C++17 and updated libxml++/pangomm/cairomm.</title>
<updated>2024-03-20T17:25:09Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-02-22T21:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0232d80a625b2ffae687e6473ab3fc2603cf87ea'/>
<id>urn:sha1:0232d80a625b2ffae687e6473ab3fc2603cf87ea</id>
<content type='text'>
</content>
</entry>
</feed>
