Jorge Godoy <[EMAIL PROTECTED]> writes:
> Then I'd have to have some means to determine the width of the char (I'm using
> a TrueType font due to my need of using Unicode text) to calculate how many
> words I can put on a single line...
Hmmm... It looks like your code does that! Thanks! I'll
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Jorge Godoy wrote:
>> Is there something I can do in PIL to restrict a line to a certain size and
>> have it to break/wrap into a newline automatically? (Or by using some
>> code, of course...)
>
> there's no standard function for this purpose, no.
>
Jorge Godoy wrote:
> Is there something I can do in PIL to restrict a line to a certain size and
> have it to break/wrap into a newline automatically? (Or by using some
> code, of course...)
there's no standard function for this purpose, no.
here's a somewhat rough implementation, based on a WCK
Hi!
Is there something I can do in PIL to restrict a line to a certain size and
have it to break/wrap into a newline automatically? (Or by using some code, of
course...)
I'm trying to add information to barcodes and since the label space is fixed
I'd like to use all the horizontal space I can