htmltext rtftext

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Aug 21 12:38:47 EDT 2008


Hi Shari,

If you look closely at the RTF source file, you will see that it is  
quite simply to figure out where the text size tag is. You can change  
this with a few lines of script.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
http://facebook.economy-x-talk.com

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 21 aug 2008, at 18:40, Shari Coxford wrote:

> Attempting it with an RTF text file.
>
> Open file tFile for read
> Read from file tFile until end
> Close file tFile
> Replace xyz with abc in it
> Set the rtfText of fld 1 to it
>
> ALMOST perfect.  Except that nagging one size bigger text size.  If  
> I manually select text of the fld and change it to the right size,  
> it's gorgeous.
>
> Checking the textsize of the fld, it is correctly set.  Opening the  
> RTF doc normally in Wordpad or Word, the font size is correctly set.
>
> Looked at the rtfText of the fld, no mentions of font sizes in the  
> hidden tags.
>
>
>
> Shari
>




More information about the use-livecode mailing list