larger/smaller fonts

Ken Ray kray at sonsothunder.com
Mon Mar 28 14:17:42 EST 2005


On 3/28/05 1:21 AM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:


> I forgot to clarify:  by "styled text" I meant all style attributes,
> including size.
> 
> So the challenge is to bump up all sizes by about 10% or so.
> 
> Got a regex one-liner for that?
> You usually come up with one for everything else. :)

:-)

I wish I could, but unfortunately replaceText() doesn't let me extract data.
So you'd have to go through a repeat loop with matchChunk() and replace the
size with a modified size.

I still think we should have this in the engine...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list