On 11/12/12 1:18 PM, "Gordon Smith" <gosm...@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.
Ok, but by requiring fontswf we are effectively requiring the Adobe-licensed
font jars. Would it be a lot of work to have Falcon call those jars
directly?
>
> - Gordon
>
>
> -----Original Message-----
> From: Alex Harui [mailto:aha...@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.za...@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
>
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui