Ant, mxmlc and font managers

My team is building an AIR application and we are using SVN and a Flex Ant task to compile it on a staging server.  I have a decent understanding of what each piece of the compilation process needs to run and got the AIR application compiled and packaged without too much hassle.
We recently switched fonts and require the command line switch '-managers=flash.fonts.AFEFontManager' in Flex Builder.  I've been reading about how to get this done and have found two solutions:
1) Edit the file frameworks/flex-config.xml and change the order of the font managers.  This isn't a great solution because every time we upgrade the SDK on the server we'll have to go through and make this change again.  This process is described in the adobe livedocs http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_06.html
2) Set it as a managers attribute in the ant build file as described here http://stackoverflow.com/questions/610386/how-to-include-additional-compiler-arguments-whe n-using-mxmlc-ant-task I can't seem to get this to work, I end up with an error like this:
src/build.xml:75: The <mxmlc> type doesn't support the "compiler.fonts.managers" attribute.
I get the same error when I use the "managers" alias.
My question is what is the preferred method of reordering the font managers?  Thanks in advance!

I forgot to attach the relevant section of my build.xml, here it is:
    <target name="compile.release"
        description="Compile swf modules and main swf" depends="clean">
        <!-- compile main SWF -->
        <mxmlc file="${src.dir}/application.mxml"
            output="${out.dir}/application.swf"
            debug="${DEBUG}"
            optimize="${OPTIMIZE}"
            link-report="${out.dir}/swf-report.xml"
            locale="en_US"
            configname="air"
            compiler.fonts.managers="flash.fonts.AFEFontManager">
            <source-path path-element="${src.dir}" />
            <library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
                <include name="*.swc" />
            </library-path>
            <library-path dir="${FLEX_HOME}/frameworks/libs/air"
                append="true">
                <include name="*.swc" />
            </library-path>
            <library-path dir="${FLEX_HOME}/frameworks/locale" append="true">
                <include name="{locale}" />
            </library-path>
            <library-path dir="${lib.dir}" append="true">
                <include name="*.swc" />
            </library-path>
        </mxmlc>

Similar Messages

  • Font managers and CS5

    Has anyone had any of the font managers work with CS5? I tried Font Agent and the plugin generates an error at statup.

    Oh I figured that. I was just hoping that one of them might work. Seems like the FA Pro plugin worked between CS3 and CS4 with just a couple of minor problems.

  • Ant mxmlc

    Hey guys.
    I am compiling the flex application with Ant mxmlc on top of
    Flex2 with java 5 and getting
    Unable to run mxmlc:
    flex2.tools.Compiler.mxmlc([Ljava.lang.String;)
    Please help me out.

    mnake sure to include a jar and a taskdefinition correctly
    there is quite detail instroctions on labs.adobe.com search for
    flex tasks.

  • The app icons and font on my iPhone 4 just went to massive making it difficult to even scroll how can I change it back, where do I go which menu? Thanks in advance

    The app icons and font on my iPhone 4 just went to massive making it difficult to even scroll how can I change it back, where do I go which menu? Thanks in advance

    Next time you accidentally use 3 fingers it will zoom again. Unless you need the feature you're better to turn it off

  • Photoshop CS4 Extended, issues with resolution and font sizes on Mac

    I have Photoshop CS4 Extended, which worked fine on my old 15 inch Macbook Pro, I think it was 2011 and had high definition display.
    I now have a new 15 inch 'late 2013' Macbook Pro with retina display (2880 x 1800), and OS 10.9.4
    I have 2 problems:
    1) Using photoshop now, the resolution is a lot worse than with my old computer, even though my screen is higher resolution.
    For example, the images themselves are worse resolution on my display, far less crisp and more pixelated than any of my other programs. And even the windows such as 'save as...' screens are terribly pixelated also. Is there a way to fix this?
    2) When using the type tool, I cannot find how to change the size of the font. There used to be numbers which I could change, and also select the font type, both on the top menu bar always visible. Now there is not anymore. What there is there at the top, is what looks to be a bar on top of another bar. The top layer bar is on the left and reaches about one third of the way across the top, and I can drag it by its corner so it can extend more, but not less. It looks like there are things behind it which I cannot see, because it is over the top of them. Perhaps the text size and font options are stuck behind that. What can I do?
    Many thanks!
    Justin

    Hi JJMack, you said "Seems like you want a low resolution display hook and external display to it." I do not know what that means. I did a google search for "low resolution display hook" and it came up with zero results. Also I do not have an external display, only my laptop.
    Does anyone know what I can do to fix this issue? I would greatly appreciate any solution.
    Thank you!

  • I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    3 - launch iWeb and try again.
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • How to change DEFAULT font and font size on new Pages document

    When I open a new Page document, it always comes in with a default font and font size. I know how to change those settings on the open document.
    I want to know how to change the ~default~ font and font size so that a new Page document always opens with those default settings.
    -Thanks for your service to the community.

    Hi Lionate
    Welcome to the forum.
    Make a document to your liking.
    Change the Body style and any other styles in :
    +Menu > Show Styles Drawer > click on the little triangle next to Body > redefine Style from Selection+
    Capture the page:
    +Menu > Format > Advanced > Capture Pages… > Name it > OK+
    +Menu > Format > Advanced > Manage Pages… > Delete other Sections/Pages > OK+
    Save as a template:
    +Menu > File > Save as Template…+
    +Menu > Pages > Preferences > General Preferences > For New Documents > click Use template: > Choose > browse to the template above+
    Peter

  • Help - Font Book and font Library doesn't work

    I've just updated to a new iMac on Yosemite, and Font Book doesn't work. Neither does putting fonts into the "Library"
    There is a range of fonts that ARE working that are already in either place, but some (that worked up until two days ago in my old Mac running OS 10.6.8) just won't work.
    If I select the fonts in Font Book, Font Book doesn't load them. If I put them in the Library, they don't appear for use in any application.
    As a designer, updating fonts is essential, and if this can't be fixed I'm in serious trouble! So any advice welcome!

    We see posts like this here all the time. A person upgrades to a new OS, and Font Book suddenly stops working. Usually, the problem is that Font Book's database has been trashed by the upgrade with the very common symptoms you're seeing. You suddenly can't add fonts, and fonts Font Book says are open don't appear in some, or any apps.
    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point. Yosemite is a bit different. Whether it's a Safe Mode boot or a normal one, you get the same progress bar. It just takes longer to get to the desktop in Safe Mode. So hold the Shift key until you get to the desktop.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    If that alone doesn't do it (it should), then clear out all of the font cache data.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current logged in user account. After running the command, close Terminal and immediately restart your Mac.

  • How to Include More Than One Font and Font Color Within a Fluid Grid Div Tag?

    Using CSS code, I can make all the words within a fluid grid div tag the same font, font size, and font color, but how do I make a few of the words different?

    You can style the basic text and heading selectors with CSS:
    p { }
    h1 { }
    h2 { }
    h3 { }
    h4 { }
    etc...
    And you can make classes:
    .red {color:red}
    .highlight {background-color:yellow}
    Then apply classes to your text or sections of it using the HTML properties panel.
    <div>
         <p>This is a default paragraph style.</p>
         <p class="red">This is red.</p>
         <p class="highlight">This is highlighted.</p>
         <p>Default style with <span class="red highlight">red, highlighted text</span> and normal text.</p>
    </div>
    Incidentally, this will work in any layout.
    How to Develop with CSS?
    http://phrogz.net/css/HowToDevelopWithCSS.html
    Nancy O.

  • How to change the background and font color of a particular row in table

    Hi,
       i need to change the background and font color of a particular row. I am using textview as table columns. I tried to do it using semanticColor property of textview  but the font color get changed for the whole column. But i want to change the color of a particular row only.
       If anybody knows please help me(give an example if possible).
           Thanks and regards.
            Pankaj Kumar.

    Hi Pankaj,
    In your data source context node (context node which is bound to dataSource property of Table UI elemennt) do following:
    If data source node is model node: create a value node under data source node, cardinality 1..1, selection 1..1, singleton false. In this new node add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor .
    If datasource node is value add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor.
    In calculated getter method put your color calculation depending on conditions, like:
    return <condition>
      ? WDTextViewSemanticColor.CRITICAL
      : WDTextViewSemanticColor.STANDARD;
    Bind new created attribute with property semanticColor of textview.
    Best regards, Maksim Rashchynski.

  • Problems with Photos and Fonts and Explorer

    I am having problems with photos and fonts when my site is viewed on Explorer. The site is Ostyn-Newman.com The problems can both be seen on the start page -though they happen throughout the site. The photo is supposed to be only 30% opaque and it shows fine on Firefox or Safari, but Explorer viewers get the photo being used as wallpaper at 100% and this steps all over the text. Should I give up a using a photo as wallapaper?
    Also the font I am using for "Ostyn-Newman Objects for Fine Homes" shows well in Firefox and Safari, but looks really bad on Explorer products. Should I just change the font? I am currently using Snell Roundhand.

    See Roddy's posts in these topics:
    Re: VIEWING iWEB SITES ON A PC ?
    Re: iweb pages memory intensive
    Re: iweb site on my personal domain name locks up
    The message in each is pretty much the same but he does give some info of an application that can optimize the web pages to make them more readily readable by IE.
    OT

  • My keyboard is writing in Greek? even though the settings and fonts say it's writing in standard Apple font? I can't log into any of my accounts, because even though I type the password correctly, the keys are writing and beings submitted in Greek...HELP.

    My keyboard went nuts...I got on my MacBook today after not using it for about 24 hours, and the fonts all changed to like Greek. No matter where I am at (web browser, word document, etc). I even went into settings and fonts, and it says it is using Arial or some other standard "Apple" font, but the keys continue to write in Greek.
    It gets worse-I logged out thinking I just needed to reboot...but now I cannot get back in because it's still not writing correctly. What's even weired (and I have no idea if this is related or not) but my Capslock Key and my Delete key have like switched roles...ALSO, when I press down the "A" key (as there is an "A" in my password) the keyboard writes it 3 times...even though I only hit it once. SOMEONE HELP ME PLEASE. I am a full-time student and need my computer for homework.
    I'm locked out AND if I do get in, the font it still messed up as well as the Delete and Capslock keys...

    It sounds to me like your keyboard has been damaged and needs to be repaired or replaced.  Can you try an external keyboard?

  • Font color and font style

    Can i know how can i change the color ,size and the style of the font in a text area?
    and also how can i get the font style and font size currently use in the text area?

    No, a Font doesn't have a colour. But you can set the colour of the text in a text area with setColor().

  • Menus and Fonts too small with Panasonic HDTV

    I just hooked up a new Mini (Intel chip) to my Panasonic HDTV-- 34" Model No. CT-34WX53-- using a DVI cable. The desktop shows up fine, but the menus and fonts are so tiny that I can't read them. When I try using Front Row, the pictures and vide are gorgeous and the fonts in Front Row are fine. It's just the fonts and menus in on the desktop and in other programs that are too small. Does anyone know how to fix?
    Mini Core Duo   Mac OS X (10.4.5)  
    Mini Core Duo   Mac OS X (10.4.5)  

    Edward,
    That's the price of having a gazillion pixels!
    You have two options - send less pixels to the display or change each application (Including the finder) to show larger fonts and icons.
    The lower the resolution option is easy and fast. The downside of "zoom"-ing the display is it may look blocky at certain resolutions and the fonts and fine details in photos and movies may be lost if the mac has to alias or scale the video. If you do this - you might want to enable the menu bar item for display preferences to quickly switch between the setting you prefer. I use one setting for actually using the mac and another setting for playing movies and showing slides in FrontRow.
    The change the preferences to make the fonts and icons larger is more of a pain but yields the most crisp display and you don't have to change things up. I would start with Finder Preferences (select an icon on your desktop and on the View menu - show view options - crank up the icon size and font size.) Unfortunately - you have to do this in each application you use. It also won't change the menu font sizes - you might need an "extension" from a developer to change that.

  • Can I change different background and font color on each records?

    Hi,
    I had a Data_Block which contains some records, I had a field name 'currency' which contains value such as (HKD, JPY, CNY, CND, USD etc..)
    Let there there are 5 Records contain in that Data_Block and I wanted to change the background and font color depend on the Currency value.
    I were using Set_Item_Property and change the Visual_Attributes that I had define. Well I guess that doesn't work since uisng the Set_Item_Property
    it will actually getting the last value and use that last value and changed to all the same color to that.
    I wonder is there a way to do that in Oracle you can change the field different color?
    Thanks
    David Willis

    Thanks You so much.
    Actually I were trying to look for that function at the User Manual but I couldn't find it because I remembered I had seem it some where.
    I guess I am looking at the Form4.5 user manual instead of the Oracle 9i Forms Developer.
    Thanks
    David

Maybe you are looking for

  • Query not returning correct number of records

    Hi Guys, Can someone please tell me why this query is not retrieving the correct number of records. I have a table with six users FIRST_NAME          LAST_NAME David               Robert Martin               Fisher Henry               Robert King Edm

  • How do you set up captivate 7 as a default program in windows 7

    having trouble opening .cptx files with Captivate 7. Need to know how to get Captivate to be reconized as the default programs for .cptx files.

  • Image does not appear where it was placed

    I have inserted an image to appear in the body tag (i.e. it should be within the cream colored section.  It looks great in DreamWeaver Design and in Live Modes.  But when I upload to the server it is placed in the left tag.  What am I doing wrong? I

  • Restart required to recognize RAM?

    Hi guys: I have a G5 PowerMac 1.8 GHz Dual processor running OS 10.4.10. Back in January, I installed two 1 GB RAM chips from Crucial in slots DIMM2/J13 and DIMM3/J14 (two 512 chips are in the first two slots). Everything was fine, the memory was rec

  • SOP  Copy between Two info Structures

    Hi Gurus, We have an existing Info Structre used to forecast and production planning to generate demand and SOP reporting with follwing fields: S998 Sales Org DC Plant Prodh1 Prodh2 Prodh3 Material Now we have got new structure with different fields: