Replies: 1 comment
-
Double check both Windows & Ubuntu are running the same version of Wand & ImageMagick. The To use the Pango format, read a unicode string prefixed with from wand.image import Image
with Image() as img:
img.read(filename=u'pango:দোয়েল অন্তর্গত একটি পাখি')
img.save(filename='output.png') ^^ Random text pulled from wikipedia. I have no idea if that's correct, or what context it was from. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've been enjoying using Wand and ImageMagick in my personal projects, however after deploying an app to an Ubuntu server I immediately noticed that the output was not the same, the Persian text rendered by the caption method is all messed up and the alignment is not rtl, however this issue didn't come up in my own machine which is running Windows. After searching around I came across a pango method that supposedly renders Arabic and Persian text correctly and is a part of ImageMagick but could not find it in Wand. How can I access this Pango method using Wand?
Beta Was this translation helpful? Give feedback.
All reactions