Anthony Tribby on wrote... | I'm having some issues getting caption to wrap lines properly. | | I am attempting to build an image from a text file and am getting | various results, none of which are quite correct. This file is saved | as Unix/UTF-8 encoding. At first it seemed just that IM was not | recognizing the line-break character, but even after I got past that, | it's still behaving oddly. All the examples below were done with the | same image width and font settings in the IM command line. | | If the text file is saved like this: | BOBS BAIT & TACKLE | UNDERWOOD, NJ | THE BAYS BEST BAIT! | | The image breaks like this: | BOBS BAIT & TACKLE UNDERWOOD, NJ | THE BAYS BEST BAIT! | | This: | BOBS BAIT & TACKLE\nTHE BAYS BEST BAIT!\nUNDERWOOD, NJ | | produces: | BOBS BAIT & TACKLE | THE | BAYS BEST BAIT! | UNDERWOOD, NJ | | This: | BOBS BAIT & TACKLE\nUNDERWOOD, NJ\nTHE BAYS BEST BAIT! | | produces: | BOBS BAIT & TACKLE | UNDERWOOD, | NJ | THE BAYS BEST BAIT! | | Any ideas? | How are you applying the text? What command do you use?
Examples.. http://www.cit.gu.edu.au/~anthony/graphics/imagick6/text/ Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- As flat as an open can of coke, left on a programmer's desk over the weekend. --- Rick Cook, "Wizardry Consulted" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
