I am not having any success either with your font and Pango

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Bianca963
Posts: 1
Joined: 2019-02-12T03:24:43-07:00
Authentication code: 1152

I am not having any success either with your font and Pango

Post by Bianca963 » 2019-02-12T03:28:55-07:00

I tried:

Code: Select all

convert -font jeremy-Regular.ttf -pointsize 124 PANGO:"ac" pango.png

and

convert PANGO:'<span font="jeremy-Regular.ttf" size="126976">ac</span>' pango.png

and

convert -font jeremy-Regular.ttf -pointsize 124 PANGO:"@test.txt" pango.png
where test.txt was a UTF-8 compatible text file contains and showing your actual characters.

Using IM 6.9.10.24 Q16 Mac OSX.

However, this works:

Code: Select all

convert -font /Library/fonts/jeremy-Regular.ttf -pointsize 124 CAPTION:"@test.txt" pango.png

snibgo
Posts: 11231
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: I am not having any success either with your font and Pango

Post by snibgo » 2019-02-12T05:07:12-07:00

As far as I know, pango needs the font to be installed at the system level, rather than simply using a font file.
snibgo's IM pages: im.snibgo.com

Post Reply