tried this pom, didn't help:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://
maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>

  <groupId>com.blabla</groupId>
  <artifactId>TestFont</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>swf</packaging>

  <name>TestFont App</name>

  <properties>
        <flex.sdk.version>4.5.0.17077</flex.sdk.version>
        <flexmojos.version>4.0-SNAPSHOT</flexmojos.version>
  </properties>

  <build>
    <sourceDirectory>src</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>${flexmojos.version}</version>
                <dependencies>
          <dependency>
            <groupId>com.adobe.flex</groupId>
            <artifactId>compiler</artifactId>
            <version>${flex.sdk.version}</version>
            <type>pom</type>
          </dependency>
        </dependencies>
        <extensions>true</extensions>
        <configuration>
           <fonts>
               <localFontsSnapshot>C:/work/flex/sdks/4.5.0.17077/frameworks/
localFonts.ser</localFontsSnapshot>
           </fonts>
         </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>

    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>flex-framework</artifactId>
      <version>${flex.sdk.version}</version>
      <type>pom</type>
    </dependency>

  </dependencies>

</project>


On Dec 12, 3:56 pm, Marvin Froeder <[email protected]> wrote:
> Try it....
>
>
>
>
>
>
>
> On Sun, Dec 12, 2010 at 11:53 AM, Dani <[email protected]> wrote:
> > yes, I'm using the latest snapshot.
>
> > I didn't use FM3, just started now with FM4,
> > so in order to solve this issue do I need to use these tags now?
> > and point the localFontsSnapshot to the fonts.ser file in my flex sdk?
>
> > <fonts>
> >  <advancedAntiAliasing>true</advancedAntiAliasing>
> >  <flashType>true</flashType>
> >  <languages>
> >    <englishRange>U+0020-U+007E</englishRange>
> >  </languages>
> >  <localFontsSnapshot>${baseDir}/src/main/resources/fonts.ser</
> > localFontsSnapshot>
> >  <managers>
> >    <manager>flash.fonts.BatikFontManager</manager>
> >  </managers>
> >  <maxCachedFonts>20</maxCachedFonts>
> >  <maxGlyphsPerFace>1000</maxGlyphsPerFace>
> > </fonts>
>
> > On Dec 12, 3:35 pm, Marvin Froeder <[email protected]> wrote:
> > > Hrmmm, recently I had re-introduced the <font> configuration, to keep it
> > > compatible with FM3... is you are using latest SNAPSHOT that is likely
> > it.
>
> > > VELO
>
> > > On Sun, Dec 12, 2010 at 11:21 AM, Dani <[email protected]> wrote:
> > > > I've written simple flex application (it just shows a spark Label with
> > > > some text),
> > > > when I compile it with the flexmojos-maven-plugin version 4.0-SNAPHOT
> > > > it renders the text in a different font then I see when I compile and
> > > > run it in flex builder
> > > > (the font I get with flexmojos is a little bit bigger and thicker).
>
> > > > when I compile the app with flexmojos-maven-plugin version 4.0-alpha-5
> > > > it works OK (I get the same font as in flex builder compilation).
>
> > > > any idea why it acts like that?
> > > > I tried these 2 FAQs but it did fix the issue:
> > > >http://flexmojos.sonatype.org/faq.html#5
> > > >http://flexmojos.sonatype.org/faq.html#6
>
> > > > just to clarify, I'm not using embedded fonts.
>
> > > > --
> > > > 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]<flex-mojos%2bunsubscr...@googlegrou
> > > >  ps.com>
> > <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/flex-mojos
>
> > > >http://flexmojos.sonatype.org/
>
> > --
> > 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]<flex-mojos%2bunsubscr...@googlegrou 
> > ps.com>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos
>
> >http://flexmojos.sonatype.org/

-- 
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

http://flexmojos.sonatype.org/

Reply via email to