Here is what I've got: <a href="http://www.greenpixeldesign.com/cphandler/tmp-img/test.png">http://www.greenpixeldesign.com/cphandler/tmp-img/test.png</a> <br>I'd like to remove the black outline from the anti-aliased text (I need RGB true color image). I know I am missing some stupid thing, but I experimented with different backgrounds, just doesn't make it right. My current setup is gdlib
2.0.33 on debian, and here is the code;<br><br>(defun create-text-image (text font font-size file-name)<br> (multiple-value-bind (width height horizont-shift vertical-shift)<br> (get-bounding-rect text font font-size)
<br> (with-image* (width height t)<br> (let* ((white (allocate-color 255 255 255))<br> (black (allocate-color 0 0 0))<br> (red (allocate-color 255 0 0))<br> (green (allocate-color 0 255 0))
<br> (blue (allocate-color 0 0 255)))<br> (setf (transparent-color) black)<br> (draw-freetype-string (- 0 horizont-shift) (- height vertical-shift) <br> text<br> :anti-aliased t
<br> :font-name font<br> :angle 0<br> :point-size font-size<br> :color (allocate-color 0 0 255))<br> <br> ;;(true-color-to-palette)<br> (write-image-to-file file-name :if-exists :supersede)))))
<br>