Ok ... found the code ... yes it looks like it uses all the src values 
configured and iterates over them.

So does that mean, in order to work, I have to place the swf file in a "fonts" 
directory alongside the application SWF and name the swf like in the src 
attribute, but with the "swf" file ending instead?


Gee ... have to think of a way to achieve this in Maven ...


Chris

________________________________
Von: Alex Harui <aha...@adobe.com>
Gesendet: Mittwoch, 6. Juli 2016 16:26:34
An: dev@flex.apache.org
Betreff: Re: AW: [FlexJS] How is the Flat-UI Font SWF used in ASIS?

I think it is done in CSSFontFaceBead.

On 7/6/16, 7:18 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:

>Yeah ... I found that out myself. I am currently creating the SWF by
>using the fontkit directly. It's producing the font swf file, but how
>does the rest of ASJS know about the font-swf? I couldn't find the link.
>Where is the file consumed anywhere. I managed to get the JavaScript to
>use the font-definition in form of the oft files, but nowhere I could
>find the link on the Flash side. I would have expected a source of "swf",
>but I couldn't find any.
>
>
>Chris
>
>________________________________
>Von: Alex Harui <aha...@adobe.com>
>Gesendet: Mittwoch, 6. Juli 2016 16:02:05
>An: dev@flex.apache.org
>Betreff: Re: [FlexJS] How is the Flat-UI Font SWF used in ASIS?
>
>The Ant script in frameworks/fontsrc runs the regular Flex SDKs mxmlc to
>create the font swf.  The regular Flex SDK has to have opted in to the
>font kit jars.
>
>HTH,
>-Alex
>
>On 7/6/16, 5:47 AM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>
>>Hi,
>>
>>
>>I just finished a major refactoring of the build, that now builds the
>>Flat-UI-Icon font and nicely bundles that with the BindingExample_Flat
>>for example. But still I haven't found a way to use the font in the Flash
>>version. We can't compile it in as Falcon still is lacking this
>>functionality, but I haven't seen how the Ant build introduces the Font
>>SWF to the Flash build.
>>
>>
>>Could anyone here give me a pointer to this?
>>
>>
>>By the way ... I think I fixed even more stuff, tested the JavaScript
>>applications even more and added a few new Bugs as comments to the
>>pom.xml
>>
>>
>>Chris
>

Reply via email to