2 way to retrieve a list of embedded fonts in Flex 4 - which one is better?

Hi all,
I am currently aware of 2 different methods to retrieve a list of currently available embedded fonts on the local system
var embedededFonts : Array = Font.enumerateFonts(false)
var appSystemManager : SystemManager = FlexGlobals.topLevelApplication.owner;           
var embeddedFonts : Array = appSystemManager.embeddedFontList();
What is best way to retrieve a list of embedded fonts out of those two approaches?

"better" in what way... performance? reliability?

Similar Messages

  • I am going to buy a macbook pro for grade 12, and I need to know wheather I should get a macbook pro or a macbook pro retina. If someone could tell me (in a very simple way) which one is,better for me and why, I would be ever so apprreciative.

    I am going to buy a macbook pro for grade 12, and I need to know wheather I should get a macbook pro or a macbook pro retina. If someone could tell me (in a very simple way) which one is,better for me and why, I would be ever so apprreciative.

    Why do you need a expensive MacBook Pro?
    Your attending high school and unless everyone else is rich also your likely going to be a target by the more poorer students for theft or damage to the machine.
    You could keep it home, but if you need it for class then your exposed again.
    Also at that age your not very careful yet, a MacBook Pro is a expensive and easily damaged machine.
    Unless your made of money and so are others at your school, I would recommned a low profile, just does the job cheap Windows PC.
    If it dies, gets lost, stolen or damaged because of your inexperince handling senstivie electronics then it's no big deal.
    You can buy a Mac later on when your sure you have a need for it, currently there isn't much advantage of owning a Mac compared to a PC, they do just about the same things now, one just looks prettier than the other.
    Since 95% of the world uses Windows PC's your going to have to install Windows on the Mac in order to keep your skills up there or be unemployed, so it's a extra headache and expense.
    good luck

  • Embedded font issues -- Flex not measuring properly

    I started this out in one thread ( http://forums.adobe.com/thread/470702 ) and it has progressed into a new, bigger issue. I embedded fonts using the code below.  Flex is not measuring them properly or the font I'm using is vertically challenged.  I suspect the font I am embedding has different vertical spacing than the default font.  I have determined the fonts are embedding by rotating the containers.
    Here's an example of what I'm getting:
    The right side radio button is the raw display (height works out to 23), the left side radio button I forced the height to 15.  Both the radio buttons are set to exactly the same y coordinate.  You can see the right hand text is not centered on the radio button.  I don't want to go thru the hassle of adjusting every single component height to make the font look centered plus that's an ugly workaround.
    I don't think there is anything wrong with my code nor do I think a font swf will help.  I sure would like to know what's going on but it is beyond my understanding.  Here's my thought.  I like the default font the compiler uses when I DON"T embed fonts, looks like this:
    I figure if I could embed this font, everything would work properly.  I just don't where this font lives.  The docs indicate the default font is _serif but it looks more like _sans to me.  And I don't know the hierarchy for my platform.
    So...  Does anyone know either how to fix this measurement issue or where I can find THE True Type font or swf or something that Flex uses as a default so I could embed it?
    /* CSS file */
    @font-face {
    font-family: MainFont;
    src: url("assets/fonts/verdana.TTF");
    unicode-range: U+0020-U+007E;
    advancedAntiAliasing: true;
    @font-face {
    font-family: MainFont;
    src: url("assets/fonts/verdanab.TTF");
    unicode-range: U+0020-U+007E;
    advancedAntiAliasing: true;
    fontWeight: bold;
    @font-face {
    font-family: MainFont;
    src: url("assets/fonts/verdanai.TTF");
    unicode-range: U+0020-U+007E;
    advancedAntiAliasing: true;
    fontStyle: italic;
    @font-face {
    font-family: MainFont;
    src: url("assets/fonts/verdanaz.TTF");
    unicode-range: U+0020-U+007E;
    advancedAntiAliasing: true;
    fontWeight: bold;
    fontStyle: italic;
    global {
    font-family: MainFont;

    First off, yes there was a correction to the left hand radio button.  I forced the height of the button to be different and that seemed to help center things
    After a bit of beating my head against the way, I decided to run a simpler test.  I set up a case where I had default fonts side by side with embedded fonts.  Since my default.css file had Verdana I decided to use a Verdana embedded font.  I figured I could compare them directly and maybe play with advanced anti-aliasing at the same time.  I've attached the files (change the txt extension to mxml)
    The result was a somewhat of a surprise.  I didn't realize that all text really wasn't centered on the component (eg radio button, checkbox) at my default size and below.  I do see the small pixel shift, especially in the Button.
    So...  I have found the "real" font declaration in the defaults.css file, am seeing the small pixel shift with embedded fonts, that using advanced anti-aliasing  can help on smaller text, and realized I have to be very careful where I use font sizes smaller than default.  I'm guessing that the "perfect" default size on my system would be 12 since that appears what my Verdana.ttf font is based on.  My defaults.css file has the font size set at 10.  The inability to measure properly is exacerbated when the fonts are embedded.
    Now the real question -- anyone have a clever fix?

  • (How) can I use Embeded Fonts in Flex 3.3

    If I understand correctly, I need to transcode/embed the fonts in Flex 4 / CS 4, but is there any way to then get those embeded fonts into a Flex 3.3 application?

    Support for DefineFont4 (the cff property) is new in Flex Gumbo. It is not available in Flex 3.X. That said – I do have a solution for you. Create a separate Flex Gumbo project and use the cff property to embed the font you need into that SWF. Then embed the font SWF that you just created in Gumbo into your Flex 3.3 application.
    Check out the “Building a Font SWF for use in any Flash Application” section in my DefineFont4 blog post:
    http://blogs.adobe.com/tlf/2008/11/embedded_font_subsetting_using.html
    Here is an article on embedding a SWF in Flex:
    http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex- application/
    Hope this helps!

  • Using HTML text with an embedded font in Flex 4

    I have spent a day searching the interwebs and have not found a working example of how to use an embedded font with html formatting.
    Anybody know if it can even be done??

    Should be doable, but all fonts used in the html have to be embedded, and
    one of the fonts should be specified as the fontFamily for the component.

  • Flex 4 Embed fonts in flash swf VS embedding fonts in flex

    I have this dilema...what's the best way to embed fonts?
    In flash I can easily embed the fonts + the chars ranges that I need through the menus export the swf and then use it in flex.
    In flex I don't see an easy way of setting the character ranges. How can I get the values I need? I read the format is U+(beginning of range)-(end of range) but where do I take beginning and end of the range from ?
    Thanks in advance.

    Сode hinting in Flash Builder 4 code editor for global style, e.g.
    global {
       font-family : Arial;
    works for me.
    Also in @font-family style declarations, I can code hint for "font-family", "embed-as-cff" styles property too.
    Although, it is true you do not get code hints for values for those particular properties, I think that CSS editor could support it too, but it does not.

  • Embedding Fonts.  How to get one to embed

    I am at a company FLEX development and we are wanting to embed and use a Gothic True Type font in our Flex app that will be distributed as a Web Application (Not AIR).   I personally have never gone about purchasing something like this and I am curious how one would go about doing it.   Is there a good source to get such a font at a reasonable price?
    Any experiences would be most welcome.

    thanks for ur input
    select np.netting_profile, max(np.effective_date) from netting_profile np
    where np.profile_run_time_date=to_timestamp('2010-11-18 18:00:00','yyyy-MM-dd HH24:MI:SS') and
    np.effective_date <= to_timestamp('2010-11-26 00:00:00','yyyy-MM-dd HH24:MI:SS')
    GROUP BY np.netting_profile
    In above query i need to get Profile_version. but i dont want to GROUP BY profile_version.....
    Multi profile_version are there so i am getting duplicate value.......
    Table structure
    Netting_Profile Profile_Version Effective_Date Profile_run_time_date
    P1 V1 2010-11-18 00:00:00 2010-11-18 18:00:00
    P1 V2 2010-11-26 00:00:00 2010-11-18 18:00:00
    P1 V3 2010-11-28 00:00:00 2010-11-18 18:00:00
    C1 V1 2010-11-20 00:00:00 2010-11-18 18:00:00
    C2 V2 2010-11-26 00:00:00 2010-11-18 18:00:00
    Expected result
    Netting_Profile Profile_Version Max(Effective_Date)
    P1 V2 2010-11-26 00:00:00
    C1 V2 2010-11-26 00:00:00
    here not able to get Profile_Version
    if required what is the solution.........plz help me..........

  • ALV List, which one is better?

    Hi All,
    I need a suggestion which type of ALV(Block, hierarchy, etc...) is Best for given situation below.
    I am showing data in ALV with respect to multiple Vendors. There are multiple line items to single Vendor and then Summary of printed line items. In Summary i am showing % values. This is repeated for all Vendors.
    Please suggest.
    Thanks

    Hi,
    Grid layout is best
    Regards,
    Bhaskar

  • How to retrieve the list of interface in a project

    Does anyone know how can I retrieve the entire list of project interface ?
    Is there a way to retrieve it from the ODI repository?
    Thanks

    Hi kappenet ,
    Hi one more simple method / way to get the information about the Interfaces (with details) using GUI:-
    Go to designer - > project -> project folder -> Right Click -> print -> Interfaces
    You can view all the details of the interfaces in a PDf file
    you can try the same for KM, Packages, etc..
    Regards,
    Rathish

  • Is it possible to retrieve the list of reports

    Dear all
    I'm using products BOE XI R2 and XI 3.1, I want to know if there is a good way to retrieve the list of reports.
    I want to return a list for all the reports that show out the report name and the folder structure of the report from BOE.
    Like I have a report named salary and it's stored in the BOE in the folder structure as Finance-> Year 2010 -> Income, then I would like to retrieve these information.
    As far as I checked, BOE is not provide this kind of function, to carry out this we might need to write some code, does any body have some idea about this? or sample code for this?
    Thanks a lot.
    Alex

    The best way to query the CMS for information like this in hierarchical view is with this:
    http://www.infolytik.com/blog/cmsreports-cms-object-catalog-report
    Installation and Setup Video:
    http://www.infolytik.com/video/cmsconnect_ce_install/cmsconnect_community_edition_installation.html?iframe
    Download Location:
    http://www.infolytik.com/cmsconnect-community-edition
    Also - the driver + universe is  mode and platform agnostic - .NET/Windows/Java/Unix/etc.  Simply install it on your client machine and use Web Intelligence Rich Client to report against your CMS.  No muss, no fuss. 
    And it's  free ;>
    Enjoy!
    Atul Chowdhury
    Infolytik, Inc.

  • Does Embedded Fonts in Flash Builder 4 work?

    Does emmbedded fonts actually "work" (display) in Flash Builder 4?
    Reason I am asking, I tried to embed fonts in Flex 3, but no success.
    FYI:
    It was an open license True-Type Font.
    I followed this tutorial
    http://carvalhar.com/#/en/blog/190/embedding-fonts-flex/
    Also, Adobe's Flex in a Week videos.
    Used this function:
                private function displayEmbeddedFont(name:String):void
                    var font:Object = systemManager.embeddedFontList[name];
                    Alert.show(ObjectUtil.toString(font), name + ":");
    To determine if the Font was embedded, and the font was "embedded".
    However, the font was not display.

    Try http://blog.flexexamples.com/2008/10/15/embedding-fonts-in-flex-gumbo/
    I also answered in your other thread, http://forums.adobe.com/thread/482315.
    Let us know if you're still having problems and we can try and help you get started.
    Peter

  • I've synced my phone, accidentally, to my wife's account and now lost all me photos and data... Is there any way of retrieving it all? The bigger problem is I can remember when my phone was last synced to my account so the info list is not on there either

    I've synced my phone, accidentally, to my wife's account and now lost all me photos and data... Is there any way of retrieving it all? The bigger problem is I can remember when my phone was last synced to my account so the info list is not on there either

    To see if there are any backups of your device on the computer, go to iTunes/Edit/Preferences/Devices.
    Moving the mouse over the listed backups will tell you to which device they belong.
    If there is no backup of your phone listed, your data is gone.
    In case you also used iCloud to back up your data, check this article:
    iOS: Back up and restore your iOS device with iCloud or iTunes

  • I had two backups listed in the information about my icloud account.  I thought the newest backup would have everything.  Is there any way to retrieve what I deleted?  I lost contacts, calendar events, etc.

    I, apparently, mistakenly deleted an older backup to iCloud.  I thought the newest backup would have everything - the original infor + what had been saved recently.  So, I deleted the older backup.  Now it seems that contacts and calendar events have been removed from my phone and MacBook.  Is there any way to retrieve that?
    Thanks.

    And actually, no I am not sure  that the contacts aren't being restored, but then overwritten by iCloud because it has more recent data.  I don't know how to find that out.
    Thanks.

  • Is there a way to retrieve Entourage email after installing lion?

    Is there a way to retrieve Entourage email and files once I have installed Lion??

    Lets start with your definition of a Group. Thunderbird does not have groups. It has Address Books and Mailing Lists. Was this an address book or a mailing list that you created in one of your address books?
    If you deleted an address book I do not know of any way to recover it.
    If you deleted a mailing list from your address book all you did is delete the list. All the contacts that were on that list will still be in the address book. Just recreate the mailing list.

  • HT1366 Any way to retrieve a serial number for my stolen Mac book without the receipt?

    Please tell me there is a way to retrieve the serial number on my stolen Mac book I purchased about 5 years ago so I no longer have the receipt

    Hello Jrose33,
    Sorry to hear about your MacBook.  I found a couple of resources that might help with locating the serial number for your MacBook. 
    If you registered yoru MacBook when you purchased it, you can view the serial number in the Support Profile of the Apple ID you registered it to:
    Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers that have been purchased or registered with your Apple ID.
    Go to My Support Profile*.
    Sign in with your Apple ID.
    View your purchases in "My Products".
    You can find the full article here:
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/HT2526
    If you never registered your MacBook with your Apple ID, you can also find the serial number on the packaging:
    How to find the serial number of your Apple hardware product
    http://support.apple.com/kb/HT1349
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • How to insert one blank row in table using ODataModel?

    Hi, I have a table in which the data is being shown using ODataModel. Now I want to add a new row dynamically when user clicks on 'New' button. For this I know using JsonModel it would be something like below where every field in the table is almost 

  • How Get the column name of LOV with code??

    Hi i now that exist a SET_COLUMN and i cant change the value the any column, now i want to know the value column in the LOV in any moment. Somebody us made that? i contact a metalink and their tell me that is not possible that not exist a GET.... Tha

  • How to discard the special character from field-Table.

    Hi In my data i am having a lot of SPECIAL CHARACTER also involved, I want to display only the consumer name (PURELY), is there any method/function module to discard the special character and display only the A-Z character as stored in DB. Gaurav

  • Labview program to find the external hardwares connected with the PC

    Hai All, Do any one know how to find the external hardware details connected with our PC (like USB memory stick),  using labview program.

  • Looking for chmod equivalent for Windows

    A little back story, I've managed to cobble together an After Effects psuedo plugin installer for one of my upcoming scripts. One hiccup was dealing with file permissions, to properly install the plugin. After many searches, trial & errors, and final