Peter, you're definitely on to something!!!

Yes by system fonts I meant device fonts, and it wasn't Arial, it's
Comic Sans (ok, I admit it, shame on me for using it). I installed
msttcorefonts on my linux machine so it's the same old TTF from
Windows.

If I comment out the Batik and the other manager and only leave this
in my flex-config:

          <!-- Compiler font manager classes, in policy resolution order-->
          <managers>
              <manager-class>flash.fonts.AFEFontManager</manager-class>
          </managers>

my build fails!

/home/svnadmin/mockups/trunk/trunk/skins/sketch/sketch.css(19): Error:
exception during transcoding: No FontManager provided. Cannot build
font.
src:            local("Comic Sans MS");</message>
-

/home/svnadmin/mockups/trunk/trunk/skins/sketch/sketch.css(19): Error:
unable to build font 'mySketchFont'
src:            local("Comic Sans MS");</message>

/home/svnadmin/mockups/trunk/MockupsLive/build.xml:46: Java returned: 8
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

So it appears that my linux machine doesn't have the AFEFontManager,
but how can it be? Is it a file I need to install? I've searched my
local HD and didn't find anything.

We're so close, I can feel it! :)

Peldi
---------------------------------------------------
Giacomo 'Peldi' Guilizzoni
Founder, Balsamiq Studios, LLC
http://www.balsamiq.com
ph: +1 (415) 367-3531, Skype, GTalk, Facebook, Twitter, FriendFeed: balsamiq



On Wed, Mar 18, 2009 at 2:50 AM, Peter Farland <[email protected]> wrote:
> Peldi, by system font, do you mean device fonts (i.e. not embedded)?
>
> What version of Flex? Are you pointing to a .ttf file using an @font-face
> CSS rule with a url?
>
> If so, and if you're using Flex SDK 3, go into your
> /frameworks/flex-config.xml and comment out the BatikFontManager from the
> list of font managers, and try just leaving the AFEFontManager.
>
> Pete
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Peldi Guilizzoni, Balsamiq Studios
> Sent: Tuesday, March 17, 2009 5:34 PM
> To: [email protected]
> Subject: Re: [flexcoders] OS-dependent mxmlc behavior for fonts?
>
> Thanks for the reply Rick. I am using 2 TTF files for the embedded
> fonts, and a system font (Arial) as well.
> I do not anticipate any change to my fonts, no. Why?
> I don't really like the SWF option...do you or anyone else know why
> I'm getting these differences? What part of mxmlc is
> platform-dependent? Can it be tweaked/fixed?
>
> Peldi
> ---------------------------------------------------
> Giacomo 'Peldi' Guilizzoni
> Founder, Balsamiq Studios, LLC
> http://www.balsamiq.com
> ph: +1 (415) 367-3531, Skype, GTalk, Facebook, Twitter, FriendFeed: balsamiq
>
> 

Reply via email to