This should work: member(9, 1).font = "Linoscript *"

There've been a couple of questions about crossplatform compatibility of 
embedded fonts. I use a tool called TransType from 
http://www.pyrus.com/html/products.html to make Mac fonts from my Windows 
fonts and vice versa. It has never let me down, and iot's incredibly smart 
about variuous code pages/encodings. I embed bopth versions in the same dir 
movie, but always give them slightly different names, and then use

global gSerifFont
if the platform contains "Windows" then gSerifFont = "My Font W *"
else gSerifFont = "My Font M *"

repeat with i = the number of members of castLib "MyCast" down to 1
    if member(i, "MyCast").type = #text then member(i, "MyCast").font = 
gSerifFont
end repeat
Slava

At 12:27 PM 4/4/2001 -0400, you wrote:
>Hello list
>I would like to embed a font from my mac authoring D7.02 so as to be
>available for cross platform projectors.
>I'm going about the Lingo this way:
>
>Castmember script
>
>set the font of member 9 of castLib 1 = "Linoscript*"
...


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to