Hi Christofer,

Many thanks for your reply, I have tried with the font manager
AFEFontManager that is in the FAQ, also with the dependencies, no
luck. I have tried with AFEFontManager, JREFontManager and
BatikFontManager, no luck. Also with the CFFFontManager in the link
you said, no luck.

The normal font with embedAsCFF set to false (FuturaMaxiBook) is
working and all the mx components take the font correctly, the problem
is with the font with the embedAsCFF set to true (FuturaMaxiBookCFF)
and the spark components that are displaying the default font.

Maybe is due to the Flex Mojos version? I'm using 3.8 / 3.9.

Thanks a lot.

On 19 jul, 10:26, Christofer Dutz <[email protected]>
wrote:
> I had similar problems. The main trick is that the fb autimaticalky impirts
> a css file setting up spark to correctky use cff fonts. Have a look at this
> tutorial. Mabe it 
> helps:http://dev.c-ware.de/confluence/display/PUBLIC/Embedding+%28CFF%29+fonts
>
> Chris
> Am 19.07.2011 09:25 schrieb "Jose Ignacio Hita Barraza" <
> [email protected]>:
>
>
>
>
>
>
>
> > Hi all,
>
> > I have a problem with the fonts in my project compiling with Flex
> > Mojos. Basically, I have declared two fonts in the CSS file, one
> > embedAsCFF for spark components and other not embedAsCFF for mx
> > components, this is the CSS file:
>
> > /* CSS file */
> > @namespace s "library://ns.adobe.com/flex/spark";
> > @namespace mx "library://ns.adobe.com/flex/mx";
>
> > @font-face
> > {
> > src: url("media/fonts/FuturaMaxiBook.ttf");
> > font-family: FuturaMaxiBookCFF;
> > embedAsCFF: true;
> > }
> > @font-face
> > {
> > src: url("media/fonts/FuturaMaxiBook.ttf");
> > font-family: FuturaMaxiBook;
> > embedAsCFF: false;
> > }
>
> > s|Label
> > {
> > font-family: FuturaMaxiBookCFF;
> > }
>
> > mx|Text
> > {
> > font-family: FuturaMaxiBook;
> > }
>
> > Compiling this with Flash Builder is OK and the font is correctly
> > displayed in both types of components (spark and mx), but with Flex
> > Mojos, the spark components are not taking the font as expected. Is
> > there something I should do? I have see other threads in this groups
> > and I have read the FAQ but no luck with this.
>
> > Thanks a lot.
>
> > --
> > 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/

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