diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index dbc960b..7b16ed7 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -1375,7 +1375,8 @@ recommend_dpi () { echo "disabled" return 1 fi - local dpi=$(( height / 9 )) + local dpi=$(( height / 10 )) + (( dpi < 96 )) && local dpi="96" echo "$dpi" }