Hi,

I use embed fonts in an application and the rendering from the maven
version looks a bit dirty. When I compile with FB , it looks great.

I tried this :

https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-Q.Howtofixfontrenderingissues%3F

but it doesn't change anything...

How can I verify that fontkit is included?



here is my pom file :

<project>
        <modelVersion>4.0.0</modelVersion>

        <groupId>com.geodis.tpm</groupId>
        <artifactId>TPM_Flex</artifactId>
        <version>SNAPSHOT</version>
        <packaging>swf</packaging>
        <name>TPM_Flex</name>




        <dependencies>

                <!-- Flex SDK Dependencies -->
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>3.2.0.3958</version>
                        <type>pom</type>
                </dependency>

                <dependency>
                        <groupId>com.geodis.tpm</groupId>
                        <artifactId>TPM_Core</artifactId>
                        <version>SNAPSHOT</version>
                        <type>swc</type>
                </dependency>

                <dependency>
                  <groupId>org.sonatype.flexmojos</groupId>
                  <artifactId>flexmojos-unittest-support</artifactId>
                  <version>3.2.0</version>
                  <type>swc</type>
                  <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>com.gorillalogic</groupId>
                        <artifactId>flexmonkey</artifactId>
                        <version>8.0a</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>

                <dependency>
           <groupId>com.adobe.flex.framework</groupId>
           <artifactId>datavisualization</artifactId>
           <version>3.2.0.3958</version>
           <type>swc</type>
       </dependency>

       <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation</artifactId>
                <version>3.2.0.3958</version>
                <type>swc</type>
                <scope>test</scope>
        </dependency>

       <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation</artifactId>
                <version>3.2.0.3958</version>
                <type>rb.swc</type>
                <scope>test</scope>
                <classifier>en_US</classifier>
        </dependency>

        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation_agent</artifactId>
                <version>3.2.0.3958</version>
                <type>swc</type>
                <scope>test</scope>
        </dependency>

        <dependency>
                <groupId>com.adobe.flex.framework</groupId>
                <artifactId>automation_agent</artifactId>
                <version>3.2.0.3958</version>
                <type>rb.swc</type>
                <scope>test</scope>
                <classifier>en_US</classifier>
        </dependency>

        </dependencies>


        <build>
                <sourceDirectory>src</sourceDirectory>
                <testSourceDirectory>src</testSourceDirectory>
                <resources>
                        <resource>
                                <directory>resources</directory>
                        </resource>
                </resources>

                <finalName>TPM_Flex</finalName>
                <plugins>

                        <plugin>
                  <groupId>org.sonatype.flexmojos</groupId>
                  <artifactId>flexmojos-maven-plugin</artifactId>
              <version>3.2.0</version>
              <extensions>true</extensions>
              <configuration>
                                <defaultLocale>en_US</defaultLocale>
                <sourceFile>TPM_Flex.mxml</sourceFile>
                <licenses>
                                
<flexbuilder3>137740076635371580072200</flexbuilder3>
                </licenses>
              </configuration>
                        <dependencies>
                                <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>flex-fontkit</artifactId>
                                                <version>3.2.0.3958</version>
                                        </dependency>
                                </dependencies>
              <executions>
                          <execution>
                                <id>Wrapper Generation</id>
                            <goals>
                              <goal>wrapper</goal>
                            </goals>
                            <configuration>
                                <locales>
                                                <locale>en_US</locale>
                                        </locales>
                              <parameters>
                                <swf>${build.finalName}</swf>
                                <width>100%</width>
                                <height>100%</height>
                              </parameters>
                                </configuration>
                         </execution>
              </executions>
                </plugin>

                <plugin>
                                <artifactId>maven-resources-plugin</artifactId>
                                <configuration>
                                        
<outputDirectory>${project.build.directory}</outputDirectory>
                                </configuration>
                        </plugin>

                </plugins>



        </build>



</project>
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to