Flow/wrap text into an irregular shape

Thierry Douez th.douez at gmail.com
Fri Jan 3 04:11:15 EST 2014


2014/1/3 Roger Eller <roger.e.eller at sealedair.com>:
> Strangely, if the text size is made bigger, so it will fit into a larger
> triangle, the width of the "Fview" field must be kept small during re-flow.
>  Then the width can be increased to match the width of the triangle.
>  I am unsure why, but it works.


Hi Roger,

If you change the text size of field "Fview" then you have to set
the text size of field "Ftmp" accordingly.
Those 2 fields  need to have the same property values (font, size, margin,...)
for my snippet of code to work.
Therefore, if you are playing with font size, you could add 3 lines of code
in the Viewtext handler to read those property of Fview and set them for Ftmp.

HTH,

Thierry


------------------------------------------------
Thierry Douez - http://sunny-tdz.com
Maker of sunnYpdf - sunnYperl - sunnYmidi - sunnYmage




More information about the use-livecode mailing list