I would like to use Stroke option on Pango texts

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
kilkop
Posts: 4
Joined: 2016-10-12T09:28:36-07:00
Authentication code: 1151

I would like to use Stroke option on Pango texts

Post by kilkop »

I would like to use Stroke option on Pango, is it possible? I searched on the forum but I ended up on this alternative solution which is to apply an edge operator afterwards to a normal font and colorize the edges.

which edge operator do I need to use as stroke and strokewidth and how to colorize the edges?

Thank you in advance!
kilkop
Posts: 4
Joined: 2016-10-12T09:28:36-07:00
Authentication code: 1151

Re: I would like to use Stroke option on Pango texts

Post by kilkop »

btw I love Pango!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: I would like to use Stroke option on Pango texts

Post by fmw42 »

Sorry, I do not use Pango. But see https://developer.gnome.org/pango/stabl ... ormat.html

Those are what Pango supports. If it is not there, then IM cannot use it.
kilkop
Posts: 4
Joined: 2016-10-12T09:28:36-07:00
Authentication code: 1151

Re: I would like to use Stroke option on Pango texts

Post by kilkop »

@fmw42, is it possible to use two different sizes/colors in a paragraph using label? Only reason that I am using Pango is to define two different sizes/colors in a sentence.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: I would like to use Stroke option on Pango texts

Post by snibgo »

SVG can provide stroking, different colours and fonts within paragraphs, and so on.
snibgo's IM pages: im.snibgo.com
Post Reply