Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Arabic Annotation in an Image - Disconnected Letters

$
0
0
It looks like the normal font render engine does not support this. You could use Pango for this:
MagickImage label = new MagickImage();
label.BackgroundColor = System.Drawing.Color.Black;
label.FontPointsize = 50;
label.Font = "Arial";
label.Read("pango:<span foreground=\"white\">" + "مرحبا بكم" + "</span>");
It seems the fill color is ignored and you will have to use the 'span trick'. I will try to figure out why the font color is not working when I have some spare time.

Viewing all articles
Browse latest Browse all 3693

Trending Articles