Loading ChangeLog +3 −0 Original line number Diff line number Diff line git HEAD * Fix --draw-filename "x of y" being cut off by short filenames <https://github.com/derf/feh/issues/45> * Use --zoom 100 to show all images at 100% in --fullscreen mode <https://github.com/derf/feh/issues/47> Thu, 19 May 2011 22:32:42 +0200 Daniel Friesel <derf@finalrewind.org> Loading man/feh.pre +8 −0 Original line number Diff line number Diff line Loading @@ -239,6 +239,14 @@ below each thumbnail. Enables .It Cm -F , --fullscreen . Make the window fullscreen. Note that in this mode, large images will always be scaled down to fit the screen, .Cm --zoom Ar zoom only affects smaller images and never scales larger than necessary to fit the screen size. The only exception is a .Ar zoom of 100, in which case images will always be shown at 100% zoom, no matter their dimensions. . .It Cm -g , --geometry Ar width No x Ar height . Loading src/winwidget.c +6 −4 Original line number Diff line number Diff line Loading @@ -464,10 +464,12 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) double old_zoom = winwid->zoom; winwid->zoom = 0.01 * opt.default_zoom; if (winwid->zoom != 1.0) { if ((winwid->im_h * winwid->zoom) > max_h) winwid->zoom = old_zoom; if ((winwid->im_w * winwid->zoom) > max_w) else if ((winwid->im_w * winwid->zoom) > max_w) winwid->zoom = old_zoom; } winwid->im_x = ((int) (max_w - (winwid->im_w * winwid->zoom))) >> 1; Loading Loading
ChangeLog +3 −0 Original line number Diff line number Diff line git HEAD * Fix --draw-filename "x of y" being cut off by short filenames <https://github.com/derf/feh/issues/45> * Use --zoom 100 to show all images at 100% in --fullscreen mode <https://github.com/derf/feh/issues/47> Thu, 19 May 2011 22:32:42 +0200 Daniel Friesel <derf@finalrewind.org> Loading
man/feh.pre +8 −0 Original line number Diff line number Diff line Loading @@ -239,6 +239,14 @@ below each thumbnail. Enables .It Cm -F , --fullscreen . Make the window fullscreen. Note that in this mode, large images will always be scaled down to fit the screen, .Cm --zoom Ar zoom only affects smaller images and never scales larger than necessary to fit the screen size. The only exception is a .Ar zoom of 100, in which case images will always be shown at 100% zoom, no matter their dimensions. . .It Cm -g , --geometry Ar width No x Ar height . Loading
src/winwidget.c +6 −4 Original line number Diff line number Diff line Loading @@ -464,10 +464,12 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) double old_zoom = winwid->zoom; winwid->zoom = 0.01 * opt.default_zoom; if (winwid->zoom != 1.0) { if ((winwid->im_h * winwid->zoom) > max_h) winwid->zoom = old_zoom; if ((winwid->im_w * winwid->zoom) > max_w) else if ((winwid->im_w * winwid->zoom) > max_w) winwid->zoom = old_zoom; } winwid->im_x = ((int) (max_w - (winwid->im_w * winwid->zoom))) >> 1; Loading