Commit 1f43868e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

--title-font: Re-render image after drawing title

parent aee2ce6e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ git HEAD
      <https://github.com/derf/feh/issues/62>
    * "--image-bg default" was renamed to "--image-bg checks"
    * Fix --title-font fallback behaviour
    * Fix delayed title display when using --title-font

Sun, 11 Sep 2011 12:46:50 +0200  Daniel Friesel <derf@finalrewind.org>

+3 −0
Original line number Diff line number Diff line
@@ -470,6 +470,9 @@ void init_index_mode(void)
		fx = (index_image_width - fw) >> 1;
		fy = index_image_height - fh - 2;
		gib_imlib_text_draw(im_main, title_fn, NULL, fx, fy, s, IMLIB_TEXT_TO_RIGHT, 255, 255, 255, 255);

		if (opt.display)
			winwidget_render_image(winwid, 0, 0);
	}

	if (opt.output && opt.output_file) {
+3 −0
Original line number Diff line number Diff line
@@ -392,6 +392,9 @@ void init_thumbnail_mode(void)
		fy = index_image_height - fh - 2;
		gib_imlib_text_draw(td.im_main, td.font_title, NULL, fx,
				fy, s, IMLIB_TEXT_TO_RIGHT, 255, 255, 255, 255);

		if (opt.display)
			winwidget_render_image(winwid, 0, 1);
	}

	if (opt.output && opt.output_file) {