Hi!
I’ve posted my message here (http://forums.adobe.com/thread/545892?
tstart=0), but I think you’re more experienced in that. Can you help
me to create pom.xml or configure maven to embed CFF fonts? I used SDK
4.0.0.8811 downloaded from sonatype repository.
Here’s the message from the link:
Did anyone try to embed CFF fonts in maven. In FlexBuilder everything
is fine. I use the following code to build SWF resource:
package {
import flash.display.Sprite;
import flash.text.Font;
public class Avenir_LT_Std_35_Light_cff extends Sprite {
public function Avenir_LT_Std_35_Light_cff() {
Font.registerFont(fc1);
Font.registerFont(fc2);
}
[Embed (source="AvenirLTStd-Light.ttf", fontFamily="Avenir LT
Std 35 Light cff", embedAsCFF="true")]
public const fc1:Class;
[Embed (source="AvenirLTStd-LightOblique.ttf",
fontFamily="Avenir LT Std 35 Light cff", fontStyle= italic,
embedAsCFF="true")]
public const fc2:Class;
}
}
Both FlexBuilder and Maven build the project successfully but Maven
does not generate CFF font. It seems to be non-CFF. I suggest I have
to add some options to pom.xml file, but I have no more ideas...
Kind Regards,
Alexander
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/