Try setting the size of the text itself: set the textsize of char 1 to -1 of fld "text1" to the the textsize of fld "text1" then put the RTFText of fld "text1" into myText
That way the RTFtext will include the explicit textsize you want. Otherwise no textsize will be specified and the RTF document will use whatever default size it's set to. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Oct 2, 2014, at 7:58 AM, Tiemo Hollmann TB wrote: > Hello, > > I have a field where I have set several different text sizes -- then I > > put the RTFText of fld "text1" into myText > > I do some text operations in myText -- then I > > set the RTFText of fld "text2" to myText -- and then I > > write the RTFText of fld "text2" to file myFile > > The result in my RTF document now has another (standard?) text size. > > > > How can I keep the text size - I have different text sizes in one field - > from my source field in myFile? > > Thanks for any ideas > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode