Outline bug with stroke
Posted: 2017-08-02T05:21:44-07:00
Hello from Germany again.
I use ImageMagick 6.8.9-9 and I want create an outline text. But after a few letters this (see the picture) happens:
https://www.servietten-deko.de/images/outline.png
These are my code lines:
Here you can try it live (press the great buttan then create a new text with outline/Umrandung):
https://www.servietten-deko.de/servietten-bedrucken.php
Can someone please help me?
PS: Sorry for my bad english.
I use ImageMagick 6.8.9-9 and I want create an outline text. But after a few letters this (see the picture) happens:
https://www.servietten-deko.de/images/outline.png
These are my code lines:
Code: Select all
$stokewidthcmd=' -strokewidth '.$this->padding.' -stroke "#'.$this->outlinecolor.'"';
system('convert -depth '.$this->imagedepth.' -density '.$this->dpi.' -units pixelsperinch -background transparent -gravity '.$this->gravity.' -fill "#'.$this->fore.'" -font '.$this->font' -strokewidth '.$this->padding.' -stroke "#'.$this->outlinecolor.'" ' -pointsize '.$this->size.' label:"'.$this->msg.'" '.WWW_ROOT.IMAGES_URL.'editorimages/1_'.$pngName);
system('composite -gravity center '.WWW_ROOT.IMAGES_URL.'editorimages/'.$pngName.' '.WWW_ROOT.IMAGES_URL.'editorimages/1_'.$pngName.' '.WWW_ROOT.IMAGES_URL.'editorimages/'.$pngName);
https://www.servietten-deko.de/servietten-bedrucken.php
Can someone please help me?
PS: Sorry for my bad english.