On Sun, Jul 10, 2016 at 11:36 AM, Simon Reinhardt <si...@keinstein.org> wrote:
> Hi, > > I'm trying to place Unicode annotations on a JPEG file: > > #!/usr/bin/env perl > use 5.010; > use warnings; > use strict; > > use Image::Magick; > use utf8; > > my $image = Image::Magick->new(); > > $image->Read('file.jpg'); > > $image->Annotate(text => 'α', pointsize=>'60', geometry=>'+100+100'); > > $image->Write("/tmp/somefile.jpg"); > > > > Instead of the 'α' I'm getting a '?' on the resulting image. > > > What am I missing? > > I tried to add "encoding => 'UTF-8'" to the Annotate call, but that > doesn't help. > > > I'm using perl 5.20 as shipped with Debian Jessie. > > Regards, > > Are you certain the font you are using is supported? Which version of Imagemagick are you using? Please review this link: http://www.imagemagick.org/discourse-server/viewtopic.php?t=20571