How can I use system font for annotation
Posted: 2013-05-18T09:18:07-07:00
Hi,
I use ImageMagick 6.7.9-8 2012-09-22 Q16 on Windows XP.
I wanted to annotate some images and use system font, like "Segoe UI", so command looks like:
but it doesn't work as IM can't find the font.
Searching the net I was under impression that I need to make Fontmap file for Ghostscript and use GS_LIB environment variable to make the magic work:
I created "C:\Program Files\gs\gs9.07\lib\Fontmap" file with this content:
and set GS_LIB to "C:\Windows\Fonts". However IM still can't find the font. ("C:\Program Files\gs\gs9.07\lib" is in my PATH variable FYI)
Any ideas?
I use ImageMagick 6.7.9-8 2012-09-22 Q16 on Windows XP.
I wanted to annotate some images and use system font, like "Segoe UI", so command looks like:
Code: Select all
convert -background "#00000080" -fill white -font "Segoe UI" -pointsize 12 label:...
Searching the net I was under impression that I need to make Fontmap file for Ghostscript and use GS_LIB environment variable to make the magic work:
I created "C:\Program Files\gs\gs9.07\lib\Fontmap" file with this content:
Code: Select all
/Segoe UI (SEGOEUI.TTF);
Any ideas?