Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5509AD0D9 for ; Mon, 12 Nov 2012 21:48:05 +0000 (UTC) Received: (qmail 55769 invoked by uid 500); 12 Nov 2012 21:48:04 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 55733 invoked by uid 500); 12 Nov 2012 21:48:04 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 55725 invoked by uid 99); 12 Nov 2012 21:48:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 21:48:04 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gosmith@adobe.com designates 64.18.1.181 as permitted sender) Received: from [64.18.1.181] (HELO exprod6og101.obsmtp.com) (64.18.1.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2012 21:47:55 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob101.postini.com ([64.18.5.12]) with SMTP ID DSNKUKFudv3u/d98KzJ9BYN+bZ3ISO7orYzG@postini.com; Mon, 12 Nov 2012 13:47:35 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qACLik1v006312 for ; Mon, 12 Nov 2012 13:44:47 -0800 (PST) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qACLkTXN001061 for ; Mon, 12 Nov 2012 13:47:32 -0800 (PST) Received: from nambx05.corp.adobe.com ([10.8.189.124]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Mon, 12 Nov 2012 13:46:56 -0800 From: Gordon Smith To: "flex-dev@incubator.apache.org" Date: Mon, 12 Nov 2012 13:46:54 -0800 Subject: RE: [FALCON] Fonts Question Thread-Topic: [FALCON] Fonts Question Thread-Index: Ac3Aua7aI6adlnY4T5egh2EhPu0QLwAXxHYbAACN5fAAAKfnngAAYw0Q Message-ID: <149F8129B58B2D418508E63117D9C5419B5B224143@nambx05.corp.adobe.com> References: <149F8129B58B2D418508E63117D9C5419B5B224121@nambx05.corp.adobe.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Then you would have a compiler that you couldn't distribute because it requ= ired Adobe JARs. - Gordon -----Original Message----- From: Alex Harui [mailto:aharui@adobe.com]=20 Sent: Monday, November 12, 2012 1:35 PM To: flex-dev@incubator.apache.org Subject: Re: [FALCON] Fonts Question On 11/12/12 1:18 PM, "Gordon Smith" wrote: > For Apache Flex, you should require or download fontswf as a=20 > prerequisite and use it to turn the font files used by the Mustella=20 > 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-license= d font jars. Would it be a lot of work to have Falcon call those jars dire= ctly? >=20 > - Gordon >=20 >=20 > -----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 >=20 > Ugh, I knew I was forgetting something. There is no embedded font=20 > support for Falcon. I'm not even sure fontswf will work. Gordon may kno= w more. >=20 > I was going to look into copying code from MXMLC to do some of the=20 > font embedding, but either way I think we do need to remove any=20 > dependencies on Adobe (fontswf is also Adobe licensed) and write our=20 > own transcoder. I'm told it is straightforward for CFF fonts, but it=20 > might be more work for the older fonts. >=20 > That said, looking forward at Flex on JS, is there font embedding in HTML= /CSS? >=20 >=20 > On 11/12/12 1:39 AM, "Cyrill Zadra" wrote: >=20 >> Recognized that the mustella test swf compiled with falcon use=20 >> different font then the ones compiled with the legacy compiler. That=20 >> tends to quite a lot of test failures so I started to investigate and=20 >> found following statement in the wiki: >>=20 >>> Falcon includes transcoders for the various types of embedded=20 >>> assets, >> which read, for example, a PNG file and convert it to the form=20 >> required inside a SWF. It does NOT support font trancoding, because=20 >> this relies on proprietary Adobe technology which Adobe has not=20 >> donated to Apache. >> Instead, you must use a separate fontswf tool to convert your font=20 >> files to SWF files and then embed the fonts from them. >>=20 >> Does that mean we have to generate all the ttf fonts to swf fonts in=20 >> mustella? >>=20 >> And in the falcon compiler code I've found the follwoing method in=20 >> Class org.apache.flex.compiler.config.Configuration: >>=20 >> @Config(advanced =3D true) >> @Mapping({"compiler", "fonts", "managers"}) >> @Arguments("manager-class") >> @InfiniteArguments >> @FlexOnly >> public void setCompilerFontsManagers(ConfigurationValue cv,=20 >> List list) >> { >> // intentionally do nothing here as feature removed, but=20 >> don't annotate as removed >> // as to not generate warnings for flex-config's which still=20 >> set this options >> } >>=20 >> Is the -compiler.fonts.managers argument just not implemented yet in=20 >> falcon or does this argument make no sense in the falcon compiler? >>=20 >> cyrill >=20 > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >=20 -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui