Re: Unable to find Embedded CFF Font

2018-04-12 Thread Alex Harui
Embedded Font support is optional in Apache Flex because the code that
supports it is Adobe proprietary and not open source.  The installer.xml
Ant scripts and/or the Apache Flex Installer should give you the option of
downloading the Adobe font libraries.

You can see if the embedded font libraries are in your Apache Flex SDK by
looking for these four files:
lib/external/optional/afe.jar
lib/external/optional/aglj40.jar
lib/external/optional/flex-fontkit.jar
lib/external/optional/rideau.jar


If you want to install them manually, you can find the same four files in
the lib folder of an Adobe Flex 4.6 SDK.  Just make sure you copy them to
lib/external/optional in the Apache Flex SDK.

HTH,
-Alex

On 4/12/18, 4:15 PM, "Alex P"  wrote:

>Migrating from Adobe Flex 4.6 to Apache Flex 4.16 I have lost the ability
>for
>find Embedded CFF fonts. In my mxml file I have load the same font twice,
>once as CFF
>
>   @namespace s "library://ns.adobe.com/flex/spark";
>   @namespace mx "library://ns.adobe.com/flex/mx";
>   @font-face {
>   src: url("C:\Users\...\src\fonts\Maretron.ttf");
>   fontFamily: "Maretron";
>   fontStyle: normal;
>   fontWeight: bold;
>   advancedAntiAliasing: false;
>   embedAsCFF:false;
>   }
>   
>   @font-face {
>   src: url("C:\Users\...\src\fonts\Maretron.ttf");
>   fontFamily: "Maretron Embedded";
>   fontStyle: normal;
>   fontWeight: bold;
>   advancedAntiAliasing: false;
>   embedAsCFF:true;
>   }
>
>
>In my code I go looking for the fonts using Font.enumerateFonts(false),
>and
>get 
>   Font name:'Maretron', style: 'bold', type: 'embedded'
>   Font name:'Maretron Embedded', style: 'bold', type: 'embedded'
>
>Previously the font type of the second was 'embeddedCFF'.
>Is there something I need to include to recognize CFF fonts?
>
>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.246.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C5c79d
>8fe0b81496f3def08d5a0cf668e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36591735009727268&sdata=eEBwfi%2FYo%2F6Nf7LanrXNcQFCh8MsR4ZPcEa3hSN4muo%3D
>&reserved=0



Unable to find Embedded CFF Font

2018-04-12 Thread Alex P
Migrating from Adobe Flex 4.6 to Apache Flex 4.16 I have lost the ability for
find Embedded CFF fonts. In my mxml file I have load the same font twice,
once as CFF

@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face {
src: url("C:\Users\...\src\fonts\Maretron.ttf");
fontFamily: "Maretron";
fontStyle: normal;
fontWeight: bold;
advancedAntiAliasing: false;
embedAsCFF:false;
}

@font-face {
src: url("C:\Users\...\src\fonts\Maretron.ttf");
fontFamily: "Maretron Embedded";
fontStyle: normal;
fontWeight: bold;
advancedAntiAliasing: false;
embedAsCFF:true;
}


In my code I go looking for the fonts using Font.enumerateFonts(false), and
get 
   Font name:'Maretron', style: 'bold', type: 'embedded'
   Font name:'Maretron Embedded', style: 'bold', type: 'embedded'

Previously the font type of the second was 'embeddedCFF'.
Is there something I need to include to recognize CFF fonts?





--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: mx:VDividedBox not resolved

2018-04-12 Thread Alex P
That was it.   I ended up using the air-config.xml from the Apache Flex SDK,
and making a couple of minor changes.
I am now running my original project in Apache Flex.

Thank you.



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: SDK Installer Fails on Windows 10

2018-04-12 Thread leejk
Awesome!



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: SDK Installer Fails on Windows 10

2018-04-12 Thread Piotr Zarzycki
Hi Guys,

I have fixed installer. Now I will try to start release process. Not sure
how long it will take.

Thanks,
Piotr

2018-04-11 16:46 GMT+02:00 Kerogi :

> Same for Mac OS. AIR 29 was updated today due to Apple store rejections of
> all AIR apps (https://forums.adobe.com/thread/2472510). Please, add
> changes
> to installer config.
>
> Also (maybe not related to installer itself), but seems like I could not
> make overlayed AIR29 over AIR 28 SDK to work. App compilation fails with
> errors like Error: Unable to locate specified base class
> 'spark.components.Application' for component class 'Main'.
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
*


Re: mx:VDividedBox not resolved

2018-04-12 Thread Alex Harui
Take a look at your frameworks/air-config.xml.  In the binaries for Apache
4.16.1, mine has a library-path section that looks like this:


 libs
 libs/mx
 libs/air
 libs/air
 locale/{locale}
  

It may be that the overlay approach you are using overwrites the
air-config.xml with one from the AIR SDK that doesn't have libs/mx.  In
theory, if you add libs/mx to air-config.xml and restart Flash Builder (it
might cache air-config.xml) then it should pick it up without you having
to alter your library-path in the project.


HTH,
-Alex


On 4/11/18, 4:45 PM, "Alex P"  wrote:

>My component set was correct at MX+Spark
>
>I figured it out - mainly from you pointing me to the mx.swc in the
>frameworks directory, although I still have no idea why it works in Adobe
>4.6 and not in Apache 1.16.
>
>I added the frameworks\libs\mx directory to my library path and then Flash
>Builder could see them. So I have one entry in the library pointing to the
>SDK, and a second with a full file descriptor pointing around the SDK to
>the
>sub-directory.  If I change the SDK, I'm going to have to change this link
>as well.  Previously I think that sub-directories may have been included
>automatically in the search.
>
>Thanks for your help, awesome job with the port.
>
>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.246.n4.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7Cc7ec7
>5e6f93c474f85b108d5a03c3e6c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36591103013977317&sdata=kTxm2WOGLCX5Q7g1%2BC%2FB%2ByB86bjtm91W3LpnkG0sQK4%
>3D&reserved=0