incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Here Comes MXMLC!
Date Wed, 28 Mar 2012 05:48:51 GMT



On 3/27/12 12:56 PM, "Om" <bigosmallm@gmail.com> wrote:


> 2) CFF Font Embedding is not being donated.  The source code is not under
>> control of the Flex team at Adobe.  This means that you won¹t be able to
>> compile
>>    @font-face(³somefile.ttf²); embedAsCFF:true
>> For now, you can use the JAR files from a full Adobe Flex release.  You
>> can also use the fontswf utility or Adobe CS products to make a SWF with a
>> CFF font in it and embed from there.  We will try to figure out a better
>> solution later.  We decided not to delay the compiler donation for this
>> issue.
>> 
> 
> Can you please elaborate on this?  Does this mean that it wont be possible
> to compile a font with mxmlc going forward?
No, just CFF fonts from source font files.  You can get the Adobe fontswf
utility and make SWFs to embed CFF fonts.

> And this
> also means that we wont be able to use TLF as well?
If you have a SWF with CFF fonts, you can embed those fonts and use them
with TLF.

> 
> If I understand it correct, your workaround is as follows:
> 
> 1.) Use the FontSwf utility (available here:
> http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f
> 5f.html#WS02f7d8d4857b16776fadeef71269f135e73-8000)
> to convert a single font (.ttf or .otf)  file into a font.swf file
> 2.  Embed the font.swf file into the targeted Flex application.
> 3.  Use the Font as usual in the Flex application
Yup

> 
> More questions:
> 
> 1. Do we get the source code for FontSwf? (I am guessing not...)
No.  And we are not donating the binaries either at this time.
> 
> 2. Will it be okay to distribute FontSwf (binary) along with Apache Flex?
No.  Not at this time.
> 
> 3. I see that FontSwf is only for users of the MPL version of the Flex
> SDK.  This clause needs to changed to make it work with Apache Flex, right?
No, not at this time.  We are still working out what are options are for CFF
embedding.

> 
> 4. In the long run, do you think it is possible to wire MXMLC with the
> FontSwf utility internally, so that end users dont have to jump through
> these hoops to embed fonts?
It is possible, but not my favorite solution.

> 
> 5.  You said:
> 
>> For now, you can use the JAR files from a full Adobe Flex release.
>> 
> 
> What does 'for now' mean?
Until we decide on and implement a permanent solution for CFF embedding.

> I am guessing we dont have the license for the
> JAR file.
That is correct.

This topic is complicated enough that we opted not to delay the compiler
donation because of it.  Yes, it means that you may have to modify your Flex
4 apps to embed CFF fonts until we find the right solution.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message