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:
| BOB’S BAIT & TACKLE
| UNDERWOOD, NJ
| “THE BAY’S BEST BAIT!”
| 
| The image breaks like this:
| BOB’S BAIT & TACKLE UNDERWOOD, NJ
| “THE BAY’S BEST BAIT!”
| 
| This:
| BOB’S BAIT & TACKLE\n“THE BAY’S BEST BAIT!”\nUNDERWOOD, NJ
| 
| produces:
| BOB’S BAIT & TACKLE
| “THE
| BAY’S BEST BAIT!”
| UNDERWOOD, NJ
| 
| This:
| BOB’S BAIT & TACKLE\nUNDERWOOD, NJ\n“THE BAY’S BEST BAIT!”
| 
| produces:
| BOB’S BAIT & TACKLE
| UNDERWOOD,
| NJ
| “THE BAY’S 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

Reply via email to