<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/bitmap_text.h, 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>Cleanup: use some better variable names.</title>
<updated>2024-03-03T23:43:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-03-03T19:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=7c00e7a8c5f0e543000dd62ce8c66fdb8da6ee34'/>
<id>urn:sha1:7c00e7a8c5f0e543000dd62ce8c66fdb8da6ee34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some const correctness.</title>
<updated>2021-09-27T11:41:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-14T22:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c59981ce92898f6be6987f10ebb29161e36e6766'/>
<id>urn:sha1:c59981ce92898f6be6987f10ebb29161e36e6766</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std::shared_ptr</title>
<updated>2021-01-07T21:48:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-04T20:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26'/>
<id>urn:sha1:dd9be86db6cde0afa5da0d1d1ac43b42e05dca26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More automated renaming.</title>
<updated>2018-07-23T10:20:12Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-23T10:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc'/>
<id>urn:sha1:df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc</id>
<content type='text'>
ActiveCaptions -&gt; ActiveText
BitmapCaption -&gt; BitmapText
ContentCaption -&gt; ContentText
ContentTextCaption -&gt; ContentStringText
TextCaptionFileContent -&gt; StringTextFileContent
TextCaptionFileDecoder -&gt; StringTextFileDecoder
TextCaptionFile -&gt; StringTextFile
TextCaption -&gt; StringText
PlayerCaption -&gt; PlayerText
CaptionContent -&gt; TextContent
CaptionDecoder -&gt; TextDecoder
CaptionPanel -&gt; TextPanel
CaptionView -&gt; TextView
CaptionAppearanceDialog -&gt; SubtitleAppearanceDialog
CaptionType -&gt; TextType
</content>
</entry>
<entry>
<title>Clean up after previous commit.</title>
<updated>2018-07-19T22:45:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-19T21:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=27b83475435dda4e84a90cf59a52f150905c4ab1'/>
<id>urn:sha1:27b83475435dda4e84a90cf59a52f150905c4ab1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More renaming.</title>
<updated>2018-07-19T22:36:56Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2018-07-18T23:42:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d3c009991a782fa51e85828c7600994a9dd91559'/>
<id>urn:sha1:d3c009991a782fa51e85828c7600994a9dd91559</id>
<content type='text'>
sed -i "s/emit_text/emit_plain/g" src/lib/*.cc src/lib/*.h
sed -i "s/emit_image_start/emit_bitmap_start/g" src/lib/*.cc src/lib/*.h
sed -i "s/emit_text_start/emit_plain_start/g" src/lib/*.cc src/lib/*.h
sed -i "s/render_subtitles/render_text/g" src/lib/*.cc src/lib/*.h src/lib/wscript test/*.cc
sed -i "s/ImageStart/BitmapStart/g" src/lib/*.cc src/lib/*.h
sed -i "s/TextStart/PlainStart/g" src/lib/*.cc src/lib/*.h test/*.cc src/wx/*.cc
sed -i "s/ImageSubtitle/BitmapText/g" src/lib/*.cc src/lib/*.h
sed -i "s/text_subtitle/plain_text/g" src/lib/*.cc src/lib/*.h src/lib/wscript src/wx/*.cc src/wx/*.h test/*.cc
sed -i "s/image_subtitle/bitmap_text/g" src/lib/*.cc src/lib/*.h
mv src/lib/render_subtitles.cc src/lib/render_text.cc
mv src/lib/render_subtitles.h src/lib/render_text.h
mv src/lib/text_subtitle.cc src/lib/plain_text.cc
mv src/lib/text_subtitle.h src/lib/plain_text.h
</content>
</entry>
</feed>
