A while ago I learned a way to generate outlined text here by shifting a colored copy of the text multiple times with -page. It works when I use a TrueType font
Code: Select all
convert \( -background transparent -fill '#ff0000' -font 'OpenSans-Regular.ttf' -pointsize 16 label:'V' \) \
\( -background transparent -fill '#0000ff' -font 'OpenSans-Regular.ttf' -pointsize 16 label:'V' \) \
-background transparent \
-page -1-1 -clone 0 \
-page -1+1 -clone 0 \
-page +1+1 -clone 0 \
-page +1-1 -clone 0 \
-page +0+0 -clone 1 \
-delete 0,1 -layers merge +repage png32:ttf.png
But it doesn't when I use a PCF bitmap font:
Code: Select all
convert \( -background transparent -fill '#ff0000' -font 'unifont.pcf.gz' -pointsize 16 label:'V' \) \
\( -background transparent -fill '#0000ff' -font 'unifont.pcf.gz' -pointsize 16 label:'V' \) \
-background transparent \
-page -1-1 -clone 0 \
-page -1+1 -clone 0 \
-page +1+1 -clone 0 \
-page +1-1 -clone 0 \
-page +0+0 -clone 1 \
-delete 0,1 -layers merge +repage png32:pcf.png
Anyone know why this is?
I'm sorry about the small size of the example images, but the PCF font I'm using is only available for this size, and it's the only PCF font I've found that works with imagemagick...