Re: SVG to PNG

Bob Friesenhahn <[email protected]> Wed, 18 Nov 2020 07:40:42 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Wed, 18 Nov 2020, Pro Turm wrote:

> To mention the problem with Calibri appears for me on Linux (and would
> probably appear on Windows, where MS Office is not installed).
>
>> it is possible to add your own type configuration file (prepared by hand)
> and add an inclusion for it to type.mgk.
> Here my problem with this: How could I map a font to another, using
> type.mgk ? I would like to map Calibri to e.g. Carliot font ?

Well, that seems pretty easy.  Obviously you need to have the font 
files which are similar to the font you want to emulate.  With the 
type mgk format, you can easily lie and assign 'name', 'fullname', 
'family', 'style', and 'stretch' to any values you like.  The 'glyphs' 
definition needs to refer to the font file you want to use.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt