Thanks for all of the helpful responses.

I don't need to rotate the text or do anything exotic with it - just render
basic labels.
I'm actually trying to avoid embedding fonts in the SWF as I don't have a
license to redistribute my preferred font.

If I can specify a list of fonts that includes one or more fonts which are
already installed on Windows,
then that will work fine for my case.

Given a use-case involving Flash running in IE7 on a Windows OS, is it safe
to assume that "device fonts" in the context of this thread refers to any
font installed on the Windows client machine?

Thanks,
Glenn

On Tue, Dec 8, 2009 at 6:18 PM, Gordon Smith <[email protected]> wrote:

>
>
>  > Out of curiosity, why *can't* Flash do things like rotate text unless
> the corresponding font is embedded?
>
> > Couldn't it just embed the necessary glyphs from the local font on an
> as-needed basis?
>
>
>
> For one thing, you don't generally know at compile time (i.e., when the SWF
> is being created) what text you're going to render at runtime (i.e., when
> the SWF is being executed). The data to display often comes from outside, or
> gets calculated in some way. And even if all the text was set explicitly in
> MXML or AS, the compiler doesn't understand what those assignment statements
> are actually doing, as opposed to c = a + b.
>
>
>
> For another thing, I think with device fonts the Player doesn't just grab
> glyphs and render them… I think it uses the OS to render them. So if the OS
> doesn't have rotation APIs, it can't rotate them.
>
>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Guy Morton
> *Sent:* Tuesday, December 08, 2009 3:55 PM
>
> *To:* [email protected]
> *Subject:* Re: [flexcoders] using system fonts in Flex
>
>
>
>
>
> Yes, the original post didn't state why he thought embedding was required,
> so you may be right and the requirement may have been to do something you
> can only do with an embedded font. In which case, neither of us has provided
> a useful answer, other that "yes you need to embed the font in a swf
> file"... :-)
>
>
>
> Out of curiosity, why *can't* Flash do things like rotate text unless the
> corresponding font is embedded? Couldn't it just embed the necessary glyphs
> from the local font on an as-needed basis?
>
>
>
> Guy
>
>
>
>
>
>
>
>
>
> On 09/12/2009, at 10:16 AM, Alex Harui wrote:
>
>
>
>
>
> It will if he wants to use device fonts.  I just assumed he wanted to use
> embedded fonts for various rendering effects.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* [email protected] [mailto:flexcoders@ <flexcoders@>yahoog!
> roups.com] *On Behalf Of *Guy Morton
>
> *Sent:* Tuesday, December 08, 2009 2:55 PM
> *To:* [email protected]
> *Subject:* Re: [flexcoders] using system fonts in Flex
>
>
>
>
>
> Are you sure it won't pick up locally available fonts? I'm fairly sure it
> will. If you use CSS to define the font to use you can specify a list of
> fonts to degrade to, so if ! your preferred font is unavailable the next one
> on the list wi! ll be us ed.
>
>
>
> Have you tried that?
>
>
>
> Guy
>
>
>
>
>
> On 09/12/2009, at 7:12 AM, Glenn Jones wrote:
>
>
>
>
>    AFAIK, any fonts used in Flex ha! ve to be compiled into the SWF.
>
> Is there some way to use system fonts that are already installed on a
> customer machine?
>
> Specifically, I'd like to build an app that uses Microsoft's new Segoi UI
> font (included
> with Vista and Office 2007) without compiling a TTF into my SWF.
>
> Thanks,
> Glenn
>
>
>
>
>
>
>
>   
>

Reply via email to