06-25-2022, 07:56 AM
(This post was last modified: 06-25-2022, 07:57 AM by Stephen Liu.)
(06-25-2022, 07:18 AM)rich2005 Wrote:I have tried your version running morgrify before posting but failed.(06-25-2022, 05:21 AM)Stephen Liu Wrote: $ fc-list | grep UbuntuMono-B.ttf
/usr/share/fonts/truetype/ubuntu/UbuntuMono-B.ttf: Ubuntu Monotyle=Bold
Failed
Did I use convert ? No. I used mogrify
and which bit of
Quote:Note you need the font files (ttf) in the same place as the images.
Do you not understand
unable to read font
$ mogrify \
> -define jpg -font Futura-Bold.ttf -pointsize 48 -fill red -annotate +50+100 "Today: June 25, 2022" \
> -font Ubuntu-M.ttf -pointsize 48 -fill green -annotate +50+150 "Photographed at home" \
> -font Futura-Bold.ttf -pointsize 30 -fill blue -annotate +50+200 "6 months" p01_60.jpg
Code:
mogrify-im6.q16: unable to read font `Futura-Bold.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ .
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.
mogrify-im6.q16: unable to read font `Ubuntu-M.ttf' @ warning/annotate.c/RenderType/915.