Finally, I found the solution! In fact, you have to install pangocairo lib.
When it's ok, you should see it with the "identify -version" command line: Version: ImageMagick 6.8.9-9 Q16 x86_64 2016-11-26 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features ...
Search found 3 matches
- 2017-02-24T05:59:53-07:00
- Forum: Bugs
- Topic: Issue with pango & arabic
- Replies: 3
- Views: 4170
- 2017-02-09T08:28:38-07:00
- Forum: Bugs
- Topic: Issue with pango & arabic
- Replies: 3
- Views: 4170
Re: Issue with pango & arabic
Thanks @snigbo!
I've tried with arial-unicode-ms.ttf font that contains arabic glyphs but same issue.
I've tried with arial-unicode-ms.ttf font that contains arabic glyphs but same issue.
- 2017-02-09T08:13:32-07:00
- Forum: Bugs
- Topic: Issue with pango & arabic
- Replies: 3
- Views: 4170
Issue with pango & arabic
Hi,
This code:
$img = new Imagick();
$img->setBackgroundColor(new ImagickPixel('white'));
$text = ' ولكن النا';
//Pango code for Hello World!
$img->newPseudoImage(200, 200, "pango:$text");
$img->writeImage("output.png");
generates this:
https://i.stack.imgur.com/LJ0Qz.png
Do you know why ...
This code:
$img = new Imagick();
$img->setBackgroundColor(new ImagickPixel('white'));
$text = ' ولكن النا';
//Pango code for Hello World!
$img->newPseudoImage(200, 200, "pango:$text");
$img->writeImage("output.png");
generates this:
https://i.stack.imgur.com/LJ0Qz.png
Do you know why ...