diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-21 01:15:32 +0100 |
| commit | e60bb3e51bd1508b149e6b8f6608f09b5196ae26 (patch) | |
| tree | a7a5b937c9ae138d4eebca8d5130d308bf9ae420 /src/lib/render_subtitles.cc | |
| parent | f07d5125a7b609320682689abe40781f096ca25e (diff) | |
No-op: remove all trailing whitespace.
Diffstat (limited to 'src/lib/render_subtitles.cc')
| -rw-r--r-- | src/lib/render_subtitles.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/render_subtitles.cc b/src/lib/render_subtitles.cc index 0d059eb43..53f713283 100644 --- a/src/lib/render_subtitles.cc +++ b/src/lib/render_subtitles.cc @@ -72,7 +72,7 @@ render_subtitle (dcp::SubtitleString const & subtitle, dcp::Size target) image->size().height, Cairo::ImageSurface::format_stride_for_width (Cairo::FORMAT_ARGB32, image->size().width) ); - + Cairo::RefPtr<Cairo::Context> context = Cairo::Context::create (surface); Glib::RefPtr<Pango::Layout> layout = Pango::Layout::create (context); @@ -89,13 +89,13 @@ render_subtitle (dcp::SubtitleString const & subtitle, dcp::Size target) } layout->set_font_description (font); layout->set_text (subtitle.text ()); - + /* Compute fade factor */ /* XXX */ float fade_factor = 1; layout->update_from_cairo_context (context); - + context->scale (xscale, yscale); if (subtitle.effect() == dcp::SHADOW) { @@ -123,7 +123,7 @@ render_subtitle (dcp::SubtitleString const & subtitle, dcp::Size target) layout->add_to_cairo_context (context); context->stroke (); } - + int layout_width; int layout_height; layout->get_size (layout_width, layout_height); |
