In a message regarding Re: Help please - Varying TextSize dated Sun, 8 Jan 2006 10:56:39 +0100, FreeFL said that ...
> You have to take every char in the text and multiply its size by the > "zooming factor": I'd have thought there was a more efficient way using styleRuns though I haven't tried it. > dim z as double = (window.newwidth / window.previouswidth) The trouble with this (at least on Windows) is that if you do it a few times, you get compounding errors. It works more-or-less if you can keep referring back to the original sizes but oterwisw things go awry very quickly because of rounding to whole numbers. Worse on Windows, rounding to permissible sizes for the specific font. -- Steve Garman Using REALbasic 2005r4 Professional on Windows XP Pro _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
