summaryrefslogtreecommitdiff
path: root/dot/local/bin/text2png
diff options
context:
space:
mode:
Diffstat (limited to 'dot/local/bin/text2png')
-rwxr-xr-xdot/local/bin/text2png3
1 files changed, 2 insertions, 1 deletions
diff --git a/dot/local/bin/text2png b/dot/local/bin/text2png
index ada7780..a435914 100755
--- a/dot/local/bin/text2png
+++ b/dot/local/bin/text2png
@@ -12,6 +12,8 @@ $desired_height = 1296;
12 12
13# Font size in points (72 points per inch). This does not determine the size of 13# Font size in points (72 points per inch). This does not determine the size of
14# the image, because the image density is defined in terms of it. 14# the image, because the image density is defined in terms of it.
15
16# Probably this should be changed so density is fixed and font size varies.
15$font_size = 72; 17$font_size = 72;
16$margin = $font_size; 18$margin = $font_size;
17 19
@@ -44,7 +46,6 @@ $offset = sprintf '+%i+%i', ($character_size) x 2;
44$output = 'png:-'; 46$output = 'png:-';
45 47
46system <<END; 48system <<END;
47set -x;
48convert \\ 49convert \\
49 -size $initial_image_size \\ 50 -size $initial_image_size \\
50 xc:white \\ 51 xc:white \\