Rasterize svg text fonts

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?".
Posts: 16
Joined: 2016-10-04T07:07:21-07:00
Authentication code: 1151

Rasterize svg text fonts

Post by gringo974 »


I would like to rasterize svg that contain text, but the used font file is not on the disk.
I loaded the font into memory with the FreeType lib (FT_New_Memory_Face) and I would like to insert this FT font into the pangocairo font map.
Is it possible to do it or the lib only uses the font system directory or the fontconfig directory?

Moreover I'm not able to use the pangocairo FreeType backend (HAVE_CAIRO_FREETYPE) instead of the win32 one.
Could you please help me on this point?

Version: ImageMagick 7.0.3-1 Q8 x64 with Magick++ API