  | | | Dir3d-l Digest, Vol 8, Issue 6 | Dir3d-l Digest, Vol 8, Issue 6 2004-01-07 - By dir3d-l-request@(protected)
Back Send Dir3d-l mailing list submissions to dir3d-l@(protected)
To subscribe or unsubscribe via the World Wide Web, visit http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l or, via email, send a message with subject or body 'help' to dir3d-l-request@(protected)
You can reach the person managing the list at dir3d-l-owner@(protected)
When replying, please edit your Subject line so it is more specific than "Re: Contents of Dir3d-l digest..."
Today's Topics:
1. Re: DIR MX 2004 questions (Alex da Franca) 2. Re: DIR MX 2004 questions (Danny Kodicek) 3. Re: DIR MX 2004 questions (Alex da Franca) 4. RE: DIR MX 2004 questions (Thomas Higgins)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Message: 1 Date: Wed, 7 Jan 2004 17:27:30 +0100 From: Alex da Franca <da.Franca@(protected)> Subject: Re: [Dir3d-l] DIR MX 2004 questions To: dir3d-l@(protected) Message-ID: <p06002000bc21dd2a43d8@[217.239.91.161]> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1" ; format="flowed"
At 13:45 Uhr +0100 07.01.2004, S�bastien Portebois wrote: >Hi Alex and Danny > >>>How about the bug where embedded fonts cause a crash on Eastern European >>>OS's? >> >>actually you only need to set font antialias to true to get the crash. >>no need to use embedded fonts. >>dunno either, if it has been addressed. > >I have this issue right now. Is there anything >else to fix? only settings all text member >antialias to FALSE is enough? (no double-byte OS >to test... damn, dififcult to find out the >origin!) >Is there a hidden technote about that? >Is it only tru for on-stage text members or for ALL members?
in my case it did only crash the authoring environment. in runtime the only thing is, that you simply get blank text members (which in my case lead to script errors, when the image taken from the textmember was height and width = 0...) so I ended up with a hacky script to determine, if the problem was present or not (rather to have the text without antialias for ALL users). I then stored the result in a 'global variable', in order to do the test only once. here it is:
moviescript "commonMovieScript":
property pAAEnabled
on mCheckForTextAA
retval = (script "commonMovieScript"). pAAEnabled if voidP(retval) then retval = 0
temptext = new(#text) temptext.fontsize = 14 temptext.text = "I"
img = temptext.image.extractAlpha() img = img.trimwhitespace()
w1 = img.width
if w1 > 0 then
temptext.antialias = 1 temptext.antialiasThreshold = 10
temptext.kerning = 1 temptext.kerningThreshold = 10
temptext.text = "I" img = temptext.image.extractAlpha() img = img.trimwhitespace()
w2 = img.width
retval = (abs(w2 - w1) < 2)
end if
if not retval then repeat with n = the number of castlibs down to 1 repeat with m = the number of members of castlib n down to 1 thisMem = member(m, n) if thisMem.type = #text then thisMem.antialias = 0 thisMem.kerning = 0 end if end repeat end repeat end if
end if
return retval end
now whenever you set the anti-alias of a #text member set it like so:
member("myText").antialias = somevalue * mCheckForTextAA() --
||| a�ex --
-- ---- ---- ---- ---- ---- --
Message: 2 Date: Wed, 7 Jan 2004 16:37:57 -0000 From: "Danny Kodicek" <dragon@(protected)> Subject: Re: [Dir3d-l] DIR MX 2004 questions To: <dir3d-l@(protected)> Message-ID: <007d01c3d53c$9b781c80$ab439fd4@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"
> > How about the bug where embedded fonts cause a crash on > > Eastern European OS's? > > I believe that this one has been fixed and verified by our German QA on a > variety of systems. I do seem to recall that once this was fixed there were > a few visual glitches that were found (characters not rendering correctly), > but I don't immediately recall what the status of those issues is at this > time (we're not done just yet!).
That's great news - does that mean that existing SW content will work correctly when viewed with the new player?
Danny
-- ---- ---- ---- ---- ---- --
Message: 3 Date: Wed, 7 Jan 2004 17:31:21 +0100 From: Alex da Franca <da.Franca@(protected)> Subject: Re: [Dir3d-l] DIR MX 2004 questions To: dir3d-l@(protected) Message-ID: <p06002001bc21e43dec7c@[192.168.0.6]> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1" ; format="flowed"
sorry, I forgot an important line (store the result for later use) since my own handler differs a little bit to fit in my other handlers I rewrote it for you and forgot that line...
moviescript "commonMovieScript":
property pAAEnabled
on mCheckForTextAA
retval = (script "commonMovieScript"). pAAEnabled if voidP(retval) then retval = 0
temptext = new(#text) temptext.fontsize = 14 temptext.text = "I"
img = temptext.image.extractAlpha() img = img.trimwhitespace()
w1 = img.width
if w1 > 0 then
temptext.antialias = 1 temptext.antialiasThreshold = 10
temptext.kerning = 1 temptext.kerningThreshold = 10
temptext.text = "I" img = temptext.image.extractAlpha() img = img.trimwhitespace()
w2 = img.width
retval = (abs(w2 - w1) < 2)
end if
if not retval then repeat with n = the number of castlibs down to 1 repeat with m = the number of members of castlib n down to 1 thisMem = member(m, n) if thisMem.type = #text then thisMem.antialias = 0 thisMem.kerning = 0 end if end repeat end repeat end if
(script "commonMovieScript"). pAAEnabled = retval
end if
return retval end --
||| a�ex --
-- ---- ---- ---- ---- ---- --
Message: 4 Date: Wed, 7 Jan 2004 08:47:24 -0800 From: Thomas Higgins <thiggins@(protected)> Subject: RE: [Dir3d-l] DIR MX 2004 questions To: "'dir3d-l@(protected)'" <dir3d-l@(protected)> Message-ID: <AF3D4B6E3776C7459203A5CB01B976DB05356807@(protected)> Content-Type: text/plain; charset="iso-8859 (See http://iso-8859.ora-code.com)-1"
> That's great news - does that mean that existing SW content will work > correctly when viewed with the new player?
Under the new Shockwave player that's to be release it will, but your old content under the old player will not. I'm not clear on whether you can author your movie in Director MX 2004, mark the newest Text/Font Xtras for auto-download (thus branding your movie to need v10 copies of those), then publish your DCR as an 8.5 DCR (oooh, did I mention the ability to publish from DMX2004 to the Shockwave 8.5/MX player? yep, that's in there) and have the 8.5 player download and use those Xtras. Hmmmm, sounds like I've got an interesting test case to consider... :)
Cheers, Tom Higgins Product Specialist - Director Team Macromedia
Announcing Director MX 2004, de lekkerste! http://www.macromedia.com/software/director
...
-- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
End of Dir3d-l Digest, Vol 8, Issue 6 *************************************
|
|
 |