hi Ron,
not 100% exactly what you're looking for, i guess, but maybe a starting
point.
put this expression into the size knob of the Text node:
5000/[string length [value message]]
works ok for one-liners (sometimes needs an additional whitespace at the
end).
needs a bit of playing with the value that suits your needs best instead
of '5000'.
and, of course, if you have line breaks in your text that makes things
more difficult.
in the worst case maybe you'd need a python function to return the size
value based
on more factors than just the number of characters.
cheers,
Holger
Am 04.03.2013 22:02, schrieb Ron Ganbar:
That would be good. Yes.
The only way I can think to do this is by calling up the bounding box
(don't confuse this with the Text node's box property, I mean the
dotted line bounding box - the proverbial DOD) but that creates a
feedback loop currently, it seems.
Ron Ganbar
email: [email protected] <mailto:[email protected]>
tel: +44 (0)7968 007 309 [UK]
+972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/
On 4 March 2013 22:57, Rich Bobo <[email protected]
<mailto:[email protected]>> wrote:
Ron,
I'd love that, too. And, I'd add the ability for it to scale up to
fit. Essentially, a scale-to-fit would be great...
Rich
Rich Bobo
Senior VFX Compositor
Armstrong-White
http://armstrong-white.com/
Email: [email protected] <mailto:[email protected]>
Mobile: (248) 840-2665
Web: http://richbobo.com/
"What you can do, or dream you can do, begin it; boldness has
genius, power and magic in it."
- Johann von Goethe
On Mar 4, 2013, at 3:03 PM, Ron Ganbar <[email protected]
<mailto:[email protected]>> wrote:
Hi guys,
can anyone think of a way to automatically control the font size
of text in the Text node so a line of text always remains in the
text box?
At the moment, if some text is longer than the box it splits
itself up and continues in another line. I want the text to
become smaller instead.
Any ideas?
Ron Ganbar
email: [email protected] <mailto:[email protected]>
tel: +44 (0)7968 007 309 <tel:%2B44%20%280%297968%20007%20309> [UK]
+972 (0)54 255 9765 <tel:%2B972%20%280%2954%20255%209765> [Israel]
url: http://ronganbar.wordpress.com/
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users