Spark labels won´t display fonts included on AIR 4.0

Hello.

After noticing that 3.9 AIR was no longer accepted on the Apple Store (http://flashgamer.com/blog/comments/apple-is-not-currently-accepting-applications-built-wi th - air-3.9), I downloaded a new Apache Flex SDK (version 4.11 + AIR 4.0 + Flash Player 12.0). Then, I recompiled my mobile application, without error.

But also on the emulator and device (iPhone 3GS), labels spark that I used in the whole of the application Don t load properly embedded fonts defined in the CSS file. They always show the default font style. This is my code:

styles. CSS

@namespace s "library://ns.adobe.com/flex/spark";
@namespace local "*";

@font-face {
          src: url("assets/fonts/CustomFont.ttf");
          fontFamily: "CustomFontCFF";
          embedAsCFF: true;
}
@font-face {
          src: url("assets/fonts/CustomFont.ttf");
          fontFamily: "CustomFont";
          embedAsCFF: false;
}

.phrase
{
     color: #FF0000; /* red */
     fontFamily: "CustomFontCFF";
}

App.MXML (the label is actually inside another opinion, but I think that it is enough to get the concept)

<?xml version="1.0" encoding="utf-8"?>
<s:TabbedViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                                                            xmlns:s="library://ns.adobe.com/flex/spark">

          <fx:Style source="assets/css/styles.css" />

        <s:Label id="phraseLabel" width="100%"
                                             cacheAsBitmap="false"
                                             styleName="phrase" />

</s:TabbedViewNavigatorApplication>

Arguments of compilation:

-locale en_US  -swf-version=23 -debug=false

I can say that the style sheet is loaded because the candle label is red, as specified in the CSS. But the won´t of police show, even if I put the version non - SBB (CustomFont instead of CustomFontSBB). So the app is now ready for the presentation of the Apple Store, but I ve lost the Visual Basic function on the app (style with embedded fonts custom labels)...

Everyone is having this weird problem?

OK, the problem was on the SDK I downloaded... In the setup of Apache Flex, there are a few important checkboxes (I didn t check all of them). The important thing here is to check 'Libraries of Adobe Embedded fonts and utilities (optionally)'


Tags: Adobe AIR

Similar Questions

  • Why my dads account Windows Live Mail have much more FONTS, (including the one I have want - old English) than mine? And how can I get all the other FONTS? Thank you.

    My father and I have a very similar computer (his has a little more memory, until I bought a thing of 1000 mb storage) we have almost the same e-mail program, but it flows from Telus, I run Hotmail. There are many more fonts included in its ability to e-mail. How can I get all those other fonts, I change the fonts almost all the letters that I write. Thank you for your help, and I hope that I have explained myself enough.

    A computer has a folder of fonts.  Some fonts come with the computer, some are added by installed programs, and some can be added by the user.

    When you do anything on the computer, in the folder fonts fonts are used.

    When you create an html e-mail, or the word document, the font is a part of the information stored by email or document.

    Fonts do not attach to e-mail or in this document.

    When another computer displays the e-mail or document, the police does not exist on this computer.  Another font will be used.

    The only way to have your email look exactly as you created it is to send a photo of the enamel.

  • anychart labels does not display correctly...

    Hi all...

    Anychart Version: 5.1.2

    I have a single bar bar graph which calculates the surgeons and their percentage of surgical interventions.
    x axis: name of surgeon (labels turned 90 degrees)
    y axis: percentage

    If I show just 10 surgeons is to show correctly.
    But if I try to show to all Surgeons (about 100 surgeons on the x axis).

    The Flash chart x axis labels are not displayed correctly

    In this thread... Austin has proposed to increase the width of the graph
    APEX graphic Flash labels not displaying

    If I increase the width labels display correctly. But the picture is so ugly with huge width. Y at - it another way to display labels correctly
    without increasing the width of the graph

    In Mozilla filefox, I checked that the returned XML. In XML, this is show the labels but in the table
    He does not appear.

    The x-axis of the sample...

    The X axis is looking like this...

    -----------------------------------
    s s
    u u
    r r
    g g
    e e
    o o
    n n
    1 3

    It does not show the "surgeon 2" which is between 1 and 2

    It's the custom XML part that I use...
    <anychart>
    <margin all="1"/>
    <settings>
    <animation enabled="true"/>
    </settings>
    <charts>
    <chart use_anychart3_data_model="true" use_sets_colors="false">
    <chart_settings>
    <title enabled="True" vertical_padding="30">
    <font bold="True" size="15" />
    <text>Death by Surgeon</text>
    </title>
    <subtitle enabled="True">
    <background enabled="false" /> 
    <font bold="False" size="15" />
    <text>Arranged by Increasing Annual Rate of Procedure</text>
    </subtitle>
    <footer enabled="true" align="Center" padding="30"> 
    <background enabled="false" /> 
    <font bold="False" size="12" color="Red"/> 
    <text><![CDATA[Notice: This report generated considered privileged and confidential. &APP_TIME_STAMP.]]></text>
    </footer>
    <axes>
    <y_axis>
    <title><text>Percentage</text></title>
    <labels>
    <format>{%Value}{numDecimals:0}</format>
    </labels>
    </y_axis>
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90"/>
    </x_axis>
    </axes>
    </chart_settings>
    <data_plot_settings default_series_type="Bar">
    <bar_series>
    <tooltip_settings enabled="True">
    <format>
    {%SeriesName}{numDecimals:2,thousandsSeparator:}
    {%YValue}{numDecimals:2}%
    </format>
    </tooltip_settings>
    <bar_style>
    <states>
    <normal>
    <fill color="%Color"/>
    <border color="DarkColor(%Color)" thickness="1"/>
    </normal>
    <hover>
    <fill color="LightColor(%Color)"/>
    <border thickness="2"/>
    </hover>
    </states>
    </bar_style>
    </bar_series>
    </data_plot_settings>
    #DATA#
    </chart>
    </charts>
    </anychart>
    Please help me solve this problem

    Hello

    100 columns lots of columns. I understand why you are having this problem. I think you have two options here:

    First of all, you can use a chart scrolling.
    your part x axis custom XML might look like:

    
    <text>Surgeon</text>
    
    
    
    

    Second, you can reduce the size of the font of the labels on the x-axis to a very small number, so that the text of the label is no wider than the column width. With 100 columns, you're talking probably about a terribly small font size, probably making it unreadable.

    your part x axis custom XML might look like:

    
    <text>Surgeon</text>
    
    
    
    
    

    Austin

    Published by: AustinJ on February 11, 2011 11:13 - corrected typos

  • New shortcut Tab identical to display fonts

    Trying to open new tabs in the Mail application.  The shortcut that is supposed to work anywhere - order T - is the same shortcut as display fonts so that it always opens the window fonts.  What shortcut should we use in Mail if we want a new tab?

    Tabs Mail is quite like tabs in Safari. My humble opinion calling tabs is a bit misleading.

    Expand the Mail in full screen (move the pointer to the upper left corner of the display of the messages and click full screen), and then do one of the following:

    • Start a new message: In the Viewer, click the new Message button; the message slides up from the bottom of the screen so you can address and write your message. To start and work on additional messages at the same time, choose file > new, or press Command-N. Each new message is in its own tab; Click on a tab to work on the message. To close all tabs except the one you work, Option + click the button close tab, you are in.
    • Show the Viewer: Click anywhere in the message viewer, outside your message; messages that you are working on the slide to the bottom of the screen. Use the Viewer to read the messages you receive, search for messagesand more. To return to your message, click on the tab at the bottom of the screen.
    • Send a message: Click on the button send in the toolbar of the message; If you work on multiple messages, be sure to first, click the tab that you want to send.
    • Record a message to project: Click the close button in the toolbar of the message (or the close button on the tab message, if you have several open drafts), and then click Save. If you work on multiple messages, you are prompted if you want to save each of them.
    • Open a message from project: Select project message in the message viewer, move the pointer to the top of the screen, and choose file > open Message. If you work on multiple messages, a new tab is added to the project that you opened.

    To stop working with e-mail in mode full screen, move the pointer to the top left corner of the screen, and then click the full screen output .

  • Windows media center tuner works fine but won't display of television programs (screen black & no audio)

    Windows media center tuner works well, but won't display (screen black & no audio) of television programs.

    He has no problem display of a recorded program but will not display the digital direct terestrial TV program.

    The problem sometimes disappears and then returns, for example - this morning, after 30 minutes of game time!

    Hi Daniel,.

    Update your graphics card, but also the TV tuner card drivers. Uninstall and reinstall the graphics driver.  Once done, reconfigure Windows Media Center.

    Method 1: Try to update to the latest graphics card drivers on the manufacturer's Web site.

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2: Uninstall and reinstall the driver for the graphics card from Device Manager:

    Open the Device Manager

    http://Windows.Microsoft.com/en-us/Windows7/open-Device-Manager

    Visit the manufacturer's Web site to download and install the latest graphics driver. Once done reconfigures WMC.

    Method 3: See the article provided below and check if help.

    Set up a TV signal in Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows7/set-up-a-TV-signal-in-Windows-Media-cent

    Method 4: Uninstall and reinstall the Windows Media Center:

    Stage i: uninstall Windows Media Center:

    a. go to start and in the search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find multimedia and uncheck the brand in the face of Windows Media Center.
    d. restart the computer

    Stage II: Reinstall the Windows Media Center:

    a. go to start and in the search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find the multimedia functions and place a check mark in front of Windows Media Center.
    d. restart the computer.

    Let us know if you have other questions about Windows in the future.

  • display font

    display font is almost unreadable

    displayfont.JPG

    Hi shirleyd97325242,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> display page-> rendering-> set Smooth Text for = laptop computer or a monitor.

    Check if this solves your problem or not.

    Kind regards

    Nicos

  • How to make a label (javafx) to display the current time dynamically?

    Hi all

    How to make a label (javafx) to display the current time dynamically?

    I have not found a Type of event related to the time in javafx API.

    Please give me some suggestions. Thank you!

    Sage

    There are lots of examples of JavaFX clocks available, for example https://gist.github.com/jewelsea/3388637 or http://blog.crisp.se/2012/08/09/perlundholm/an-analog-clock-in-javafx

    For a simple label displaying the time, the simplest thing is to create a Timeline with duration 1 second and the number of indefinite cycle, which triggers an event handler that updates the label:

    final Label clock = new Label();
    final DateFormat format = DateFormat.getInstance();
    final Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(1), new EventHandler() {
         @Override
         public void handle(ActionEvent event) {
              final Calendar cal = Calendar.getInstance();
              clock.setText(format.format(cal.getTime());
         }
    });
    timeline.setCycleCount(Animation.INDEFINITE);
    timeline.play();
    

    (If you use Java 8, use the new time API, which is much more pleasant than calendar.)

  • Labels are not displayed in the Multi series

    Hello

    According to my condition I'm going to a line chart that has multi series (row and column). I want to display labels on the top of the column series

    I tried all the options like

    (1) using a LabelFunction - no error labels not displayed

    (2) Labelposition = field of the 'legend' & label = 'id' - no error labels are not displayed

    Can any body tell me how this is possible. Let me know if you need more details about this

    Concerning

    Kalavati Singh

    [email protected]

    LineChart display labels.

    Use ColumnChart.

  • Changing certain display font color data in &lt; mx:List control

    Hello

    I have been working with flex for about a month or so, that is why am enough new and trying to learn everything I can.  I have a < mx:List / > who has a collection of the ArrayCollection as a dataProvider.  This list shows a labelField of one of the elements in the collection ArrayCollection once he is in charge of my dataservice.  My question is how to manipulate the color of the police based on the information received in the dataProvider?  I looked in the itemRender and htmlText properties that seem completely different and doesn't really seem to do this simple task the way I want to what he (both seem to be able to change the color, but not based on the data received in the dataProvider).  I have a view of the list that I can browse the data in the dataProvider here and change the color of text dynamically.  Like I said I'm relatively new and could use all the information on the subject.  Thank you very much for your help!

    MSP

    You cannot set value.setStyle (...). The value object is not a UI component, but just data, so you can not style it. You can only components visual style as label, TextInput, list, etc. Perhaps a larger example will help. Since you use mx list, I'll illustrate it with this:

    In my application, I declare the sample data like that in the Script tag:

    [Bindable]
    public var items: ArrayCollection = new ArrayCollection([) collection
    {month: "Jan", message: "Message1"},
    {month: "Feb", message: "Message reçu2"},
    {month: 'Mar', message: 'Message3'},
    {month: 'Apr', message: 'Message4'},
    {month: "May", message: "Message5"}
    ]);

    Then I declare the list like this:

    The list is bound to the ArrayCollection collection elements and the itemRenderer determines what are the properties and the display of each item in the list. In this example, suppose I want only to display the month for each item and I want to display as text because the month attribute is a string. That's where etiquette comes into play, and I put the text of the label to the month attribute.

    The list passes each element of the itemRenderer in the data object. Normally, all I need in the itemRenderer is:

    However, the data setter override function is required to change the color of the label of data (say, all strings that say "Jan" should appear in red) since you can not do so declaratively in MXML:


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" >
       
            override public function set data(value:Object):void
    {
    Super.Data = value;
    If (value is nothing)
    {
    return;
    }
    lblMonth.text = value.month;
    If (value.month is "Jan")
    {
    lblMonth.setStyle ("color", 0 x 990000);
    }


    }
    ]]>
       
       

    Hope that helps.

  • How to set the display font in TB31.3?

    I would like to see all of my incoming messages are displayed in plain text in the same font. Older versions of TB have been able to do. After update to 31.3, incoming messages fonts are all different sizes and styles, and changing preferences does not help. How can I make a single size or form?

    I saw no change in the behavior of fonts on any of my three facilities of tuberculosis.

    You have the police required for all appropriate encodings and fonts?

    See the part of the end of this page:

    http://www.Ramsden.org.UK/9_Type_sizes.html

    Since "the fonts used to display messages on your screen are defined here:

  • Firefox installed in Archlinux can display fonts after a new installed fonts

    Hello! I am a Linux user. Recently I migrate to Archlinux. At first, I used Firefox without problems. Then, in the process of installing and configuring software and distribution, I installed new fonts. Fonts, I used in IBM Linux distro, order based on RHEL 6.5. That's fonts are a backup copy of this machine. The font set includes around 4000 fonts: Windows 7 fonts, fonts, Google, Droid and other. In RHEL, I have no problems with the fonts. The font groups are:

    [elrengo@xpsl421x .fonts]$ ls -l
    total 272
    drwx------ 1 elrengo users   4096 Sep  8  2010 AnonymousPro-1.002.001
    drwx------ 1 elrengo users   4096 Sep  8  2010 AnonymousProMinus-1.002.001
    drwx------ 1 elrengo users   4096 Feb 27  2011 dejavu-fonts-ttf-2.33
    drwx------ 1 elrengo users   4096 Jun 10  2013 DroidFamily
    drwx------ 1 elrengo users 135168 Jun  4  2012 googlefontdirectory
    -rw------- 1 elrengo users  58464 Jun 10  2013 Inconsolata.otf
    drwx------ 1 elrengo users  65536 Oct  3  2013 Windows7Fonts
    [elrengo@xpsl421x .fonts]$ 

    But in Archlinux after font installation Firefox can not show fonts, and I can't write in the text box. Yes:

    • Firefox reset to defaults-> no work.
    • Uninstalling Firefox / Re install Firefox-> not work.
    • Reinstall the package fontconfig in Archlinux. -> Not work.
    • Update cache police-> not work.

    The screenshot-> http://i.imgur.com/aIZvv6n.png

    If it takes something more please let me know

    Thanks in advance!
    Kind regards

    I ran to the orders to solve the problem:

    find/usr/share/fonts-type d - print0 | XARGS-0 chmod o = rx
    find/usr/share/fonts-type f-print0 | XARGS-0 chmod o = r

    The command will be run as root with sudo.

  • How to set my display font size in Thunderbird?

    I have Thunderbird 24.5 and can't change the font size using the tools-> Options-> display settings tab. I have restarted Thunderbird and restarted my computer Windows 8. The messages do not change.

    Under Tools/Options/display, click the Advanced button and change the size of proportional font, MPV, and Minimum size and perhaps uncheck 'allow messages to use other fonts '. Repeat if you use others ' fonts for: ' at the top of the window.

    http://www.Ramsden.org.UK/9_Type_sizes.html

  • Display fonts motorcycle G_Boxed

    Hi all

    I am owner of a motorcycle G 16 GB mobile. I have a problem in which the fonts in the mobile suddenly gets displayed as small boxes when I suddenly close an app and reopen it.

    Everyone knows about this problem?

    The new update will rectify this problem?

    Thank you.

    The next update should fix this.

    Mark

    Forums Manager

  • Word created PDF files with unwanted fonts included.

    When I create PDFs from Word, both policies appear to be included as being used, Times New Roman and Times New Roman Bold.  They are not marked as being included, is just used.  This causes programs to reject PDFs as not being is not complete.  I installed Word to include (embed) all fonts which makes very large files, but noticed both still are not getting 'integrated '.  How can I fix it?  I am trying to export pdf files, but they will not allow the receiving system.

    I came across the problem to run Word 2007 on Windows Vista.  I also found the same problem on Word 2013 under Windows 7.

    I solved the problem by installing a printer (www.cutepdf.com) .pdf.

    Thanks for the comments.

  • display fonts epithets

    Hello

    may be a bad forum

    I already posted the same on the apex forum

    But if anyone can help me

    Hello

    I'm trying a page in the apex with epithets fonts

    However the apex is not showing the same

    Capture2.PNG

    my version of the apex is 4.2.3

    If I update my nvarchar2 column using sql developer (4.1) it displays

    Capture1.PNG

    What should do?

    Help, please

    agreed!

Maybe you are looking for

  • coaxial cable of the adapter cable ethernet to the airport

    where can I find a coaxial cable to the adapter cable ethernet to my Airport - have time warner line coming into the House but need to ethernet adapter to use the airport for router and modem

  • There was a problem connecting to the server 'SERVER NAME' error guard appearing

    There was a problem connecting to the server 'SERVER NAME' error guard appearing even though the server is not on my current network.  I recently moved my iMac to a different location and a different network, and now he constantly tries to connect to

  • How to set the screen resolution?

    Original title: on screen display with the unused space on the sides It is probably so basic, but my display is not full screen, even if I put it in full screen. There is an inch of space black unused screen on each side of the screen. What should I

  • Area 51 alx overclocking questions

    I am very inexperienced when it comes to playing with the clocks of computers.  I practically didn't know about settings, the dangers or benefits.  I checked on this post en.Community.Dell.com/.../19310782 and he had a bunch of useful info, unless I

  • can't read Chinese characters on kuwo

    can't read Chinese characters on kuwo