incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyrill Zadra <cyrill.za...@gmail.com>
Subject Re: [FALCON] Fonts Question
Date Mon, 12 Nov 2012 21:34:40 GMT
Thanks for feedback.

I just red some stuff about Embed font support on
http://www.bytearray.org/?p=4789 and
http://labsdownload.adobe.com/pub/labs/flashplatformruntimes/air3-4/air3-4_p2_sdk_asc2_releasenotes.pdf.
Isn't this exactly what we are talking here about?

cyrill


On Mon, Nov 12, 2012 at 1:18 PM, Gordon Smith <gosmith@adobe.com> wrote:

> For Apache Flex, you should require or download fontswf as a prerequisite
> and use it to turn the font files used by the Mustella tests into SWF
> files. Then the Mustella tests should embed the fonts from the SWF files.
>
> - Gordon
>
>
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com]
> Sent: Monday, November 12, 2012 1:01 PM
> To: flex-dev@incubator.apache.org
> Subject: Re: [FALCON] Fonts Question
>
> Ugh, I knew I was forgetting something.  There is no embedded font support
> for Falcon.  I'm not even sure fontswf will work.  Gordon may know more.
>
> I was going to look into copying code from MXMLC to do some of the font
> embedding, but either way I think we do need to remove any dependencies on
> Adobe (fontswf is also Adobe licensed) and write our own transcoder.  I'm
> told it is straightforward for CFF fonts, but it might be more work for the
> older fonts.
>
> That said, looking forward at Flex on JS, is there font embedding in
> HTML/CSS?
>
>
> On 11/12/12 1:39 AM, "Cyrill Zadra" <cyrill.zadra@gmail.com> wrote:
>
> > Recognized that the mustella test swf compiled with falcon use
> > different font then the ones compiled with the legacy compiler. That
> > tends to quite a lot of test failures so I started to investigate and
> > found following statement in the wiki:
> >
> >> Falcon includes transcoders for the various types of embedded assets,
> > which read, for example, a PNG file and convert it to the form
> > required inside a SWF. It does NOT support font trancoding, because
> > this relies on proprietary Adobe technology which Adobe has not donated
> to Apache.
> > Instead, you must use a separate fontswf tool to convert your font
> > files to SWF files and then embed the fonts from them.
> >
> > Does that mean we have to generate all the ttf fonts to swf fonts in
> > mustella?
> >
> > And in the falcon compiler code I've found the follwoing method in
> > Class org.apache.flex.compiler.config.Configuration:
> >
> >    @Config(advanced = true)
> >     @Mapping({"compiler", "fonts", "managers"})
> >     @Arguments("manager-class")
> >     @InfiniteArguments
> >     @FlexOnly
> >     public void setCompilerFontsManagers(ConfigurationValue cv,
> > List<String> list)
> >     {
> >         // intentionally do nothing here as feature removed, but don't
> > annotate as removed
> >         // as to not generate warnings for flex-config's which still
> > set this options
> >     }
> >
> > Is the -compiler.fonts.managers argument just not implemented yet in
> > falcon or does this argument make no sense in the falcon compiler?
> >
> > cyrill
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message