Setting fonts
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Wed Jul 6 08:22:47 EDT 2005
Hi Charles,
What version of Rev do you use?
Which platform?
Here it's working:
First, you set all textfont specs of any field, card and stack to empty.
You paste a text in any field.
You select the text and set its textfont to "Use Owner's Font" (empty)
You select the lines you want to be in another font as Courier and
set them.
Now you set the textfont of the stack to any font and all lines the
textfont of which were empty adopt the specified font (your 9-12
lines included).
You can change the textfont stack and it's going to work.
You can save and reopen the stack: all is perfect.
Rev 2.6 Mac OS X10.4.1
Le 6 juil. 05 à 14:03, Charles Hartman a écrit :
> 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??
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list