Pasting formatted text into Rev fields not possible on OS X
François Chaplais
francois.chaplais at mines-paristech.fr
Wed Nov 11 16:29:50 EST 2009
Le 11 nov. 2009 à 17:17, Richmond Mathewson a écrit :
>
> NOW: I just ran up a styled text document in Ye Olde Appleworks
> on my trusty G4 (colours, italics, funny fonts, different sizes) and copy-pasted it
> across to a scrollable text-field in Studio dp-4 and:
>
> 1. Colours were preserved,
>
> 2. Italics were preserved,
>
> 3. Different fonts were preserved,
>
> Only the sizes got lost.
>
> Am I reading you right, or do you mean pasting between text fields in RunRev?
interesting test here. Did the same copy paste from appleworks (which is carbon) into rev studio 3.5 (I will upgrade in a few days ;-)) and it kept color, font, style but lost size (which was 48, while the pasted text appeared to between 10 or 12 pt)). When setting the size to 48 inside rev, the text was resized, but the baseline was unchanged, and was much too high.
Now I did the same thing, but from pages '09 (and it is certainly cocoa). Everything was kept, except the baseline. I have to mention that the Pages pasting was done in the rev field just below the paste from AW.
Now, let me see; I put empty into the field thru the msg box and paste (command -c) from Pages into the field. Everything is OK except the baseline which is much too high, i.e., 3/4 of the text disappears atop (?) of the field.
Same thing with dp-4.
Most disturbing is that, even when the text size was supposedly right in rev (i.e. 48pt), the optical size was different (it was smaller in rev). Is this some remnant of a windows v.s. mac point size war?
Boy, this really is fishy...
Best
François
More information about the use-livecode
mailing list