summaryrefslogtreecommitdiff
path: root/src/lib/render_subtitles.cc
AgeCommit message (Collapse)Author
2018-07-19More renaming.Carl Hetherington
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
2018-05-15Escape & before sending it to pango, otherwise it won't render it.Carl Hetherington
2018-05-09Speculative attempt to disable sub-pixel anti-aliasing (i.e. ClearType) when ↵Carl Hetherington
rendering subtitles for preview or burn-in.
2018-01-31Fix missing subtitles when they start just after the start of a frame.Carl Hetherington
2018-01-10Fix yet more pixel order confusions.Carl Hetherington
2018-01-09Make overlapped fade in/out work more sensibly.Carl Hetherington
2017-04-07Remove some debug code.Carl Hetherington
2016-12-14Fix pango markup with alpha blending.Carl Hetherington
2016-12-14Fix missing fade on subtitle preview / render.Carl Hetherington
2016-11-09Missing include.Carl Hetherington
2016-11-09Bump libdcp for asdcplib Debian unstable build fix.Carl Hetherington
2016-11-08Merge cherry-pick of fix for #946.Carl Hetherington
2016-11-08Various fixes to subtitle rendering.Carl Hetherington
Use <span> to mark text up for Pango as this can set up everything, and is easier than using <b>..</b> etc. Fix the estimation of subtitle area size to cope with different subtitle sizes. Use show_in_cairo_context rather than add_to_cairo_context so that colours in the markup are respected.
2016-08-28Fix occasional flashes with faded subtitles.Carl Hetherington
2016-08-25Make burnt-in subtitle outline width configurable (#940).Carl Hetherington
2016-08-16Basic support for fading subtitles in and out (#923).Carl Hetherington
2016-08-09Bit of a hack to make rendering of outlined subtitles more pleasing.Carl Hetherington
2016-07-02Fix thinkos with marked_up() rendering of bold/italic/underline.Carl Hetherington
2016-06-28Fix pango markup when rendering subtitles.Carl Hetherington
2016-06-24Support for underlined subtitles.Carl Hetherington
2016-06-21Revert "Use make_shared<>."Carl Hetherington
Support for this seems to vary wildly across DoM's build targets. Stuff that builds on 16.04 won't build on 14.04, for example. Seems to not be worth the hassle now. This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.
2016-06-21Use make_shared<>.Carl Hetherington
2016-06-19Render bold subtitles correctly in preview / burn-in.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-23Various moderately unpleasant hacks for Centos 5 build.Carl Hetherington
2016-02-15Fix scaling of subtitles to be more correct when stretching the fonts.Carl Hetherington
2016-02-15Use get_pixel_size rather than get_size which is slightly nicer as we then ↵Carl Hetherington
don't need PANGO_SCALE.
2016-02-15Support SSA subtitles embedded within FFmpeg files.Carl Hetherington
2015-11-20Adjust subtitle position when referenced from top.Carl Hetherington
SMPTE says "top" means that vposition is from the top of the screen to the top of the subtitle, but Dolby servers apparently make it top of screen to bottom of subtitle; adjust the preview to do the latter.
2015-11-02Fix incorrect preview of italic subtitles (#728).Carl Hetherington
This requires fonts to be configured with their italic versions so that the italic font can be given to FontConfig and hence used to render text. Bold font configuration is also added here although bold subtitles aren't yet supported.
2015-10-15Use AV_ prefixes on some FFmpeg bits.Carl Hetherington
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-08-26Hack to make font finding work on Ubuntu even when not installed.Carl Hetherington
2015-08-23Remove debug code.Carl Hetherington
2015-08-23FontConfig debugging.Carl Hetherington
2015-08-23Use the correct font to render subtitles in preview / burn-in (#663).Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-04Fix horizontal positioning with .srt / burn-in (#488).Carl Hetherington
2015-06-03Various fixes to allow independent x and y scaling of text subs (#489).Carl Hetherington
2015-05-12Assorted image subtitle fixes.Carl Hetherington
2015-01-11Remove unused code.Carl Hetherington
2015-01-03Various libdcp API changes.Carl Hetherington
2014-12-15More fixes for newer libdcp.Carl Hetherington
2014-10-02Subtitle v position is from 0->1, not a %age.Carl Hetherington
2014-03-25It builds.Carl Hetherington
2014-02-11Partial hacks to use of libdcp 1.0.Carl Hetherington
2014-01-15Basics of subtitle rendering.Carl Hetherington