Page 1 of 1

Determining size of text rendered by IM

Posted: 2012-09-10T07:56:46-07:00
by Storm.50
Hello!
I've question about determining size of text rendered by IM.
There are two methods described at this page.
How in Magick++ I can use the first one which uses -debug key? In example output info getting from console. How can I read this info in my program with Magick++?
Thanks for your answers!

Re: Determining size of text rendered by IM

Posted: 2012-09-10T08:22:07-07:00
by magick
Use the fontTypeMetrics() to return the font metrics in the TypeMetric structure.

Re: Determining size of text rendered by IM

Posted: 2012-09-11T06:47:17-07:00
by Storm.50
Thank you, magick!
This is what I wanted to know.