summaryrefslogtreecommitdiff
path: root/script/qr-color.pl
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2010-12-22 15:46:54 +0000
committerdakkar <dakkar@thenautilus.net>2010-12-22 15:47:12 +0000
commitb4c7485154f73a1cf6b1fc78013f481c5f790c2d (patch)
treeff5a8bd684e9d439a6d7d06e025486956bc46a81 /script/qr-color.pl
parentdifferent "colours" (diff)
downloadqr-builder-b4c7485154f73a1cf6b1fc78013f481c5f790c2d.tar.gz
qr-builder-b4c7485154f73a1cf6b1fc78013f481c5f790c2d.tar.bz2
qr-builder-b4c7485154f73a1cf6b1fc78013f481c5f790c2d.zip
font choice, and proper vertical rendering
NOTE: hinting:none and antialias:full is needed to get Japanese displayed correctly… bug?
Diffstat (limited to 'script/qr-color.pl')
-rw-r--r--script/qr-color.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/qr-color.pl b/script/qr-color.pl
index 05f95db..3081bd3 100644
--- a/script/qr-color.pl
+++ b/script/qr-color.pl
@@ -34,6 +34,7 @@ my $filler=GridFiller->new({
my $result = GridFiller::Result::Pango->new({
source_grid => $filler->grid,
+ ( @ARGV ? (font_description => $ARGV[0]) : () ),
});
$filler->result($result);