<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/render_text.cc, branch 2801-cap</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=2801-cap</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=2801-cap'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2024-06-24T20:36:08Z</updated>
<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>
<entry>
<title>Ignore newlines in subtitle text (#2341).</title>
<updated>2023-09-03T18:43:51Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-16T22:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=11a47a4544f77a47b508e4cf1983aca7d5b6cd2a'/>
<id>urn:sha1:11a47a4544f77a47b508e4cf1983aca7d5b6cd2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix vertical alignment of subtitles in some cases (#2569).</title>
<updated>2023-08-29T16:34:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-08-26T18:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a47d2f667eab2abc29c9a10a3476d0d830056062'/>
<id>urn:sha1:a47d2f667eab2abc29c9a10a3476d0d830056062</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix incorrect horizontal positions when different HPositions are used with one VPosition.</title>
<updated>2023-08-29T16:29:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-08-26T17:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=a2507e28a631ee68b0ba898b4fc0c22bbaa2eef2'/>
<id>urn:sha1:a2507e28a631ee68b0ba898b4fc0c22bbaa2eef2</id>
<content type='text'>
Previously if HPosition changed we would still use a single "line" (i.e. Pango layout)
for all the text, meaning that HPosition would not be respected.
</content>
</entry>
<entry>
<title>Cleanup: use some more vector instead of list.</title>
<updated>2023-08-29T16:28:40Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-08-26T12:29:06Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c7f45cd00b94393f6e15428a2ea256995f890412'/>
<id>urn:sha1:c7f45cd00b94393f6e15428a2ea256995f890412</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: whitespace fix.</title>
<updated>2023-06-09T21:22:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-09T21:22:45Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bf826379157a6f31e4b0a1d7fc35d2602a62476a'/>
<id>urn:sha1:bf826379157a6f31e4b0a1d7fc35d2602a62476a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix subtitle font handling with in-memory fonts from SMPTE (#2509).</title>
<updated>2023-04-09T15:23:20Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-04-07T23:04:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=1c73379ed8483dcf71c5ccfc459c2c22516a9aef'/>
<id>urn:sha1:1c73379ed8483dcf71c5ccfc459c2c22516a9aef</id>
<content type='text'>
Previously we would fail to make a font available if it came from
a SMPTE MXF.  In that case we have a memory buffer containing the
TTF/OTF file but no file; here we add a hack/workaround so that
in-memory font files can be used by FontConfig.
</content>
</entry>
</feed>
