Re: Unable to find Embedded CFF Font

2018-04-13 Thread Alex Harui
If you are going to use Adobe Flex 4.6 some day (which you might do just
to see if something changed in Apache Flex), you should leave those files
in that lib folder and copy them to your Apache Flex.

I looked in my Adobe Flex 4.6 sdk and flex-fontkit is there.

HTH,
-Alex

On 4/13/18, 10:47 AM, "Alex P"  wrote:

>Unfortunately I wasn't able to get the installer to work, so I'm doing
>everything by hand.
>Should the leave the original files (all but flex-fontkit were there) in
>the
>lib directory?
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.246.n4.nabble.com%2F=02%7C01%7Caharui%40adobe.com%7Ce984b
>8cfbdf3445e26e608d5a166a024%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36592384502145272=khNQ6fH4yovqm9TqJwGMmnW%2B5dFDH1xpTAkBTDueLPk%3D
>eserved=0



Re: Unable to find Embedded CFF Font

2018-04-13 Thread Alex P
Unfortunately I wasn't able to get the installer to work, so I'm doing
everything by hand.
Should the leave the original files (all but flex-fontkit were there) in the
lib directory?



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


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=02%7C01%7Caharui%40adobe.com%7C5c79d
>8fe0b81496f3def08d5a0cf668e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6
>36591735009727268=eEBwfi%2FYo%2F6Nf7LanrXNcQFCh8MsR4ZPcEa3hSN4muo%3D
>=0