Hi, I am trying to fit some text in a limited box and I understand I can do this by using "caption" without specifying "-pointsize". I tried it and it worked. However, I have one more problem - I have to use Arial-Black font and at larger pointsize (most of the text will be between 30 and 40) the space between the lines is very wide. After reading everythign I could on ImageMagick website I understand that this is a feature of the type, and that it cannot be changed in ImageMagick (well at least it is not straight forward), correct?
I could solve this problem by separating the text into several strings (as many as there are lines of text that were fit into the box by "caption"), and then placing each string (or line) separately within the box. However, for that I would need to know the pointsize "caption" finally chose. Is there a way to get to that information - the font size "caption' chose to fit the text inside the box with word wrap? If I cannot get that, then I am out of ideas, at least easiers ones. Any suggestion/examples would be greatly appreciated. By the way - I am working with PerlMagick. But I could switch to another API if that would solve my problem (and if somebody already did this and can share some code :o) Thank you for your time and help! Best Regards, Zrinka ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
