Undesirable outline on white text rendered with pango on a transparent background
Posted: 2015-02-26T07:31:45-07:00
Hi
I am attempting to use IM with Pango to render some text on a transparent background. When setting the color to white the text has a feint black outline.
Command:
Example output:

Is there a way to render without the black outline?
I must use pango so I can support scripted languages such as Arabic.
Version info:
Version: ImageMagick 6.9.0-6 Q16 x86_64 2015-02-18 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates (built-in): fontconfig freetype jng jpeg pangocairo png x zlib
Running on Debian Squeeze
I am attempting to use IM with Pango to render some text on a transparent background. When setting the color to white the text has a feint black outline.
Command:
Code: Select all
convert -background transparent pango:"<markup><span color=\"#ffffff\" gravity_hint=\"line\" letter_spacing=\"0\" font_family=\"Arial\" size=\"40000\">Pango Test</span></markup>" out.png

Is there a way to render without the black outline?
I must use pango so I can support scripted languages such as Arabic.
Version info:
Version: ImageMagick 6.9.0-6 Q16 x86_64 2015-02-18 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates (built-in): fontconfig freetype jng jpeg pangocairo png x zlib
Running on Debian Squeeze