Skip to content

Commit

Permalink
Pango/--font fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipberndt committed Jul 1, 2023
1 parent 20d87bc commit cc09b10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Contributors to pqiv 2.x are:
* Christian Garbs
* Kanon Kubose
* Wessel Dankers
* @buzzingwires

Contributors to pqiv ≤ 1.0 were:

Expand Down Expand Up @@ -183,6 +184,7 @@ Changelog

pqiv 2.13 (dev)
* Fix `toggle_fullscreen(1/2)` behavior when already fullscreen
* Add `--font` to adjust info box font, use Pango for rendering (See #221)

pqiv 2.12
* Fix external image filters (Fixes #182)
Expand Down
4 changes: 3 additions & 1 deletion pqiv.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ GOptionEntry options[] = {
{ "fade", 'F', 0, G_OPTION_ARG_NONE, (gpointer)&option_fading, "Fade between images", NULL },
#ifndef CONFIGURED_WITHOUT_INFO_TEXT
{ "hide-info-box", 'i', 0, G_OPTION_ARG_NONE, &option_hide_info_box, "Initially hide the info box", NULL },
{ "font", 0, 0, G_OPTION_ARG_STRING, &option_font, "Specify the Pango font string for the info box. Note that the font size will be scaled to the window.", "FONT" },
#endif
{ "lazy-load", 'l', 0, G_OPTION_ARG_NONE, &option_lazy_load, "Display the main window as soon as one image is loaded", NULL },
{ "sort", 'n', 0, G_OPTION_ARG_NONE, &option_sort, "Sort files in natural order", NULL },
Expand Down Expand Up @@ -449,6 +448,9 @@ GOptionEntry options[] = {
{ "end-of-files-action", 0, 0, G_OPTION_ARG_CALLBACK, &option_end_of_files_action_callback, "Action to take after all images have been viewed. (`quit', `wait', `wrap', `wrap-no-reshuffle')", "ACTION" },
{ "enforce-window-aspect-ratio", 0, 0, G_OPTION_ARG_NONE, &option_enforce_window_aspect_ratio, "Fix the aspect ratio of the window to match the current image's", NULL },
{ "fade-duration", 0, 0, G_OPTION_ARG_DOUBLE, &option_fading_duration, "Adjust fades' duration", "SECONDS" },
#ifndef CONFIGURED_WITHOUT_INFO_TEXT
{ "font", 0, 0, G_OPTION_ARG_STRING, &option_font, "Specify the Pango font string for the info box. Note that the font size will be scaled to the window.", "FONT" },
#endif
{ "low-memory", 0, 0, G_OPTION_ARG_NONE, &option_lowmem, "Try to keep memory usage to a minimum", NULL },
{ "max-depth", 0, 0, G_OPTION_ARG_INT, &option_max_depth, "Descend at most LEVELS levels of directories below the command line arguments", "LEVELS" },
{ "negate", 0, 0, G_OPTION_ARG_NONE, &option_negate, "Negate images: show negatives", NULL },
Expand Down

0 comments on commit cc09b10

Please sign in to comment.