I just tried exactly what you described, and it worked just as it should. This on OS 10.3.9, G4 powerbook, Rev v2.6.

Strangely, though, in the recent thread about changing text size in a field, preserving relative sizes of styled text, I came across the same thing, where changing the textSize of a field affected only the unstyled text before a block of styled text, but not the unstyled text after....

However, the problem went away, without me doing anything about it, and from the test just now, seems to be staying away. This must be a bug, so worth bugzilla-ing, but if it's intermittent, it'll be a bitch to solve...

Good luck,

Mark


On 6 Jul 2005, at 13:03, Charles Hartman wrote:

Yes, that's what I'm doing. However, as I said, the text _after_ the specified-font text does _not_ switch to the altered owner's font.

Let me clarifiy: a field contains a dozen lines, let's say; the first six and last four have been created using Palatino, with Palatino as the stack font, so there's no font specification on any of those lines. Lines 7-8 have had their Text Formatting properties altered so their font is specified as Courier. Now in the main stack's script I insert the line "set the textfont of me to 'Arial'" and save and close the stack and its substacks and reopen. Now on that example card, in that field, lines 1-6 are Arial, 7-8 are Courier (all as expected) -- but lines 9-12 are still in Palatino.

I'm beginning to think this is a bug. I'll file a BZ on it. Any ideas on workarounds meanwhile? That don't involve iterating over all lines in all fields on all cards??

Charles Hartman


On Jul 6, 2005, at 2:07 AM, Eric Chatonet wrote:

1. Combining a specified font and a "not specified" font:
If you have a field with no font specified (use owner's font) and then you set the font for some lines, for instance, to Courier New (selecting these lines and choosing the right font in the Text menu). Then when you set the textFont of the stack (by script or in the properties inspector), only lines which use owner's font will change: they will appear in the specified font but the lines previously set in Courier New will stay unchanged.


Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[EMAIL PROTECTED]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to