You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Tonic <an...@hotmail.fr> on 2014/04/24 15:06:26 UTC

Flex Mojos compilation - Compile embeded font

Hi evereybody,

I have a problem with the flex mojos compilation (with Flex SDK 4.12),
intregrated an embeded fonts.

Dependencies : 

<dependency>
							<groupId>com.adobe.flex.compiler</groupId>
							<artifactId>flex-fontkit</artifactId>
							<version>${flex.version}</version>
							<type>pom</type>
						</dependency>
						<dependency>
							<groupId>com.adobe.flex.compiler</groupId>
							<artifactId>afe</artifactId>
							<version>${flex.version}</version>
							<type>jar</type>
						</dependency>
						<dependency>
							<groupId>com.adobe.flex.compiler</groupId>
							<artifactId>aglj40</artifactId>
							<version>${flex.version}</version>
							<type>jar</type>
						</dependency>

Manager declaration : 

<fonts>
						
<localFontsSnapshot>${settings.localRepository}/com/adobe/flex/framework/framework/${flex.version}/configs_zip/winFonts.ser</localFontsSnapshot>
							<managers> 
								<manager-class>flash.fonts.CFFFontManager</manager-class>
								<manager-class>flash.fonts.AFEFontManager</manager-class>
								<manager-class>flash.fonts.JREFontManager</manager-class> 
								<manager-class>flash.fonts.BatikFontManager</manager-class> 
							</managers> 
						</fonts>

Erros appears when I compile project :

WebApp.mxml: Error: exception during transcoding: No FontManager provided.
Cannot build font. 

There is many post about this problem, but I not find recent post who solve
this problem.
Can you help me please ? :)

++ ^^  




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-Mojos-compilation-Compile-embeded-font-tp6262.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

AW: Flex Mojos compilation - Compile embeded font

Posted by Christofer Dutz <ch...@c-ware.de>.
Try this blog article:

https://dev.c-ware.de/confluence/display/PUBLIC/Embedding+%28CFF%29+fonts

If it doesn't help, please come back ... but usually it's all you need.

Chris

________________________________________
Von: Tonic <an...@hotmail.fr>
Gesendet: Donnerstag, 24. April 2014 15:06
An: users@flex.apache.org
Betreff: Flex Mojos compilation - Compile embeded font

Hi evereybody,

I have a problem with the flex mojos compilation (with Flex SDK 4.12),
intregrated an embeded fonts.

Dependencies :

<dependency>
                                                        <groupId>com.adobe.flex.compiler</groupId>
                                                        <artifactId>flex-fontkit</artifactId>
                                                        <version>${flex.version}</version>
                                                        <type>pom</type>
                                                </dependency>
                                                <dependency>
                                                        <groupId>com.adobe.flex.compiler</groupId>
                                                        <artifactId>afe</artifactId>
                                                        <version>${flex.version}</version>
                                                        <type>jar</type>
                                                </dependency>
                                                <dependency>
                                                        <groupId>com.adobe.flex.compiler</groupId>
                                                        <artifactId>aglj40</artifactId>
                                                        <version>${flex.version}</version>
                                                        <type>jar</type>
                                                </dependency>

Manager declaration :

<fonts>

<localFontsSnapshot>${settings.localRepository}/com/adobe/flex/framework/framework/${flex.version}/configs_zip/winFonts.ser</localFontsSnapshot>
                                                        <managers>
                                                                <manager-class>flash.fonts.CFFFontManager</manager-class>
                                                                <manager-class>flash.fonts.AFEFontManager</manager-class>
                                                                <manager-class>flash.fonts.JREFontManager</manager-class>
                                                                <manager-class>flash.fonts.BatikFontManager</manager-class>
                                                        </managers>
                                                </fonts>

Erros appears when I compile project :

WebApp.mxml: Error: exception during transcoding: No FontManager provided.
Cannot build font.

There is many post about this problem, but I not find recent post who solve
this problem.
Can you help me please ? :)

++ ^^




--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-Mojos-compilation-Compile-embeded-font-tp6262.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.