Re: [flexcoders] Embedding fonts at runtime

2006-08-31 Thread Daniel Wabyick
ders@yahoogroups.com > <mailto:flexcoders@yahoogroups.com> > > <mailto:flexcoders@yahoogroups.com > <mailto:flexcoders@yahoogroups.com>>] *On Behalf Of *Dirk Eismann > > *Sent:* Wednesday, August 30, 2006 2:07 PM > > *To:* flexcod

RE: [flexcoders] Embedding fonts at runtime

2006-08-31 Thread Roger Gonzalez
@yahoogroups.comSubject: RE: [flexcoders] Embedding fonts at runtime [Embed] is always at compile time, so I dont think this solution matchesyour requirements of loading teh fonts at run time.-m > -Original Message-> From: [EMAIL PROTECTED]ups.com > [mailto:[EMAIL PROTECTED]ups.c

Re: [flexcoders] Embedding fonts at runtime

2006-08-31 Thread Daniel Freiman
excoders@yahoogroups.com> flexcoders@yahoogroups.com>> [mailto:flexcoders@yahoogroups.com > flexcoders@yahoogroups.com>] *On Behalf Of *Dirk Eismann> *Sent:* Wednesday, August 30, 2006 2:07 PM>     *To:* flexcoders@yahoogroups.com> flexcoders@y

Re: [flexcoders] Embedding fonts at runtime

2006-08-31 Thread Daniel Wabyick
> <mailto:flexcoders@yahoogroups.com> > [mailto:flexcoders@yahoogroups.com > <mailto:flexcoders@yahoogroups.com>] *On Behalf Of *Dirk Eismann > *Sent:* Wednesday, August 30, 2006 2:07 PM > *To:* flexcoders@yahoogroups.com > <mailto

Re: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Daniel Wabyick
rs%40yahoogroups.com>] On Behalf Of Tom Lee > > Sent: Wednesday, August 30, 2006 4:01 PM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: RE: [flexcoders] Embedding fonts at runtime > > > > Just wondering, is [Embed] directiv

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Matt Horn
4:01 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Embedding fonts at runtime > > Just wondering, is [Embed] directive compile-time, or run-time? > > > > > > From: flexcoders@yahoogroups.com > [mailto:[EMAI

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Tom Lee
Title: Re: [flexcoders] Embedding fonts at runtime Just wondering, is [Embed] directive compile-time, or run-time?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte Sent: Wednesday, August 30, 2006 2:43 PM To: flexcoders

Re: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Daniel Freiman
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk EismannSent: Wednesday, August 30, 2006 2:07 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Embedding fonts at runtime Yes, this is possible:   [Embed(source="Arial.ttf", fontName="myAria

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Brian Deitte
Title: Re: [flexcoders] Embedding fonts at runtime One addition to this, which is that we always include the space character when you specify the unicode range.  I'm not sure the original reasoning for this, but I just noticed it in the code.  Also, you can specify multiple r

RE: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Dirk Eismann
An: flexcoders@yahoogroups.com Betreff: Re: [flexcoders] Embedding fonts at runtime Awesome! I'll definitely have to check this out. On a related note, I wonder if its possible to embed fonts with a specific unicode range via this syntax. It doesn't appear to be. [Embed(systemFont

Re: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Daniel Wabyick
Awesome! I'll definitely have to check this out. On a related note, I wonder if its possible to embed fonts with a specific unicode range via this syntax. It doesn't appear to be. [Embed(systemFont='Symbol', fontName='mySymbol', mimeType='application/x-font')] var myFont:Class; I know you can

Re: [flexcoders] Embedding fonts at runtime

2006-08-30 Thread Daniel Freiman
I altered the code a little and got it half working.  It works if you're setting the imported font using setStyle, but not if you're setting the font through the TextFormat object.  Simply add the lines:    var content:DisplayObject = ldr.content;    var c:Class = conten

Re: [flexcoders] Embedding fonts at runtime

2006-08-29 Thread Daniel Wabyick
I just tried to dynamically load a font at runtime, and the results are not too promising. For other's benefits, here is what I did: - Created an AS3 project and generated a SWF (SymbolEmbed.swf) with the Symbol font embedded. - Verified the font is available in the SWF via Font.enumerateFonts

Re: [flexcoders] Embedding fonts at runtime

2006-08-29 Thread Daniel Freiman
I have this question too but it hasn't reached the top of my to-do list yet.  What I'm hoping is that is that you can embed a font in a swf and then load that swf at runtime using a swfloader. On 8/28/06, Daniel Wabyick <[EMAIL PROTECTED]> wrote: Hey guys,Is there any way to include a font at ru