diff options
author | Leo Vivier <zaephon@gmail.com> | 2019-01-19 21:55:32 +0100 |
---|---|---|
committer | Leo Vivier <zaephon@gmail.com> | 2019-01-19 21:55:32 +0100 |
commit | f30e06156165e062d56cf9bcdcd1c0ad23d7ad52 (patch) | |
tree | ed48c5c5bbdd7f70dc51231ec655ab8c64e640be | |
parent | ee7e57adca5f11be234b6f8985547a5fd07ac1b8 (diff) | |
download | ranger-f30e06156165e062d56cf9bcdcd1c0ad23d7ad52.tar.gz |
Overhaul the preview
- Make font-name bigger than the body - Vertically center the body so that the newline at the bottom doesn’t stand out as much
-rwxr-xr-x | ranger/data/scope.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index f02b899a..49d5a7ea 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -133,8 +133,9 @@ handle_image() { application/font*|application/*opentype) preview_png="/tmp/$(basename ${IMAGE_CACHE_PATH%.*}).png" fontimage -o "${preview_png}" \ - --pixelsize "100" \ + --pixelsize "120" \ --fontname \ + --pixelsize "80" \ --text " ABCDEFGHIJKLMNOPQRSTUVWXYZ " \ --text " abcdefghijklmnopqrstuvwxyz " \ --text " 0123456789.:,;(*!?') ff fl fi ffi ffl " \ |