[magick-users] bug in MagickQueryFontMetrics?

Kent Kent at TheMagicM.com
Mon Aug 27 01:21:29 PDT 2007


Hi folks --

I'm trying to use MagickQueryFontMetrics() to find out the height and 
width of text strings before writing them to a bitmap.  When I set 
the multiline parameter to TRUE, it crashes the script.  The log file 
contains this:

glibc detected *** free(): invalid next size (fast): 0x08d7e590 ***

Everything's fine when multiline is  false -- except, of course, that 
the returned height is not correct for multi-line text.  Any ideas on 
this?  I'm using a very recent version of the software, just 
installed a month or so ago.

Thanks --

   Kent Multer                  |\  /|
   Magic Metal Productions      | \/ |
   http://TheMagicM.com         |    |

  * Web developer/designer
  * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/ISBN=0966103211/magicmetalproducA



More information about the Magick-users mailing list