Euro ? symbol for embeded fonts

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Euro ? symbol for embeded fonts

    Hi all,
    I'm trying to use the Euro sign in an application, to render some data in
    Labels formatted with a CurrencyFormatter for which I specify '?' as
    currencySymbol.

    The symbol is displayed when no style is used for the Label, but when I assign
    an style with a fontFamily specified, that is a Verdana I embed using a
    @font-face, the symbol doesn't show up.

    If I do not specify the unicode range, all symbols should be embedded with the
    font, don't?

    Marc

    marcbc Guest

  2. Similar Questions and Discussions

    1. How do you output the Euro symbol intext/HTML/Javascript?
      Inserting the euro symbol causes problems. Some users report that they get a question mark, others that they get a little square. The problem...
    2. send VAR embeded in email to be read by embeded Flash
      hey, got an small flash application that will send all my vars from flash(8) to an ASP script for both inserting into a database and also,...
    3. Indesign and Embeded Fonts in Placed PDFs
      I am trying to output a print quality PDF from indesign that has embeded fonts. Part of the file has a placed PDF file that has embeded fonts in it....
    4. checking for Euro currency symbol in regexp
      Hi, I want to check that a string entered via a from contains the only cdertain characters including the Euro currency symbol using a reg exp in...
    5. Writing Euro symbol with utf encoding
      Hello All I am writing a string from the database into a text file which contains "Euro" symbol . I have tried using iconv() and utf_encode and...
  3. #2

    Default Re: Euro ? symbol for embeded fonts

    This code works for me. Are you embedding your font differently?


    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Style>
    .mystyle1 {
    fontFamily:myVerdana1;
    fontSize: 20pt;
    }
    </mx:Style>
    <mx:Script>
    [Embed(source='verdana.ttf',
    fontName='myVerdana1',
    mimeType='application/x-font'
    )]
    private var font1:Class;
    </mx:Script>
    <mx:Label text="? 400"/>
    <mx:Label styleName="mystyle1" text="? 500"/>
    </mx:Application>

    Greg Lafrance Guest

  4. #3

    Default Re: Euro ? symbol for embeded fonts

    Hi Greg, thanks for answering.
    I'm using "font-face" to embed the font, specifying a system font (I'm in Mac,
    with Leopard). Do you think it is correct?

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Style>
    @font-face {
    src: local("Arial");
    fontFamily: mainFont;
    }

    .mystyle1 {
    fontFamily:mainFont;
    fontSize: 20pt;
    }
    </mx:Style>
    <mx:Script>

    </mx:Script>
    <mx:Label text="? 400"/>
    <mx:Label styleName="mystyle1" text="? 500"/>
    </mx:Application>

    marcbc Guest

  5. #4

    Default Re: Euro ? symbol for embeded fonts

    Both Euro symbols display for me on Windows. I don't have a Mac nearby. Could be a Mac only issue.
    Greg Lafrance Guest

  6. #5

    Default Re: Euro ? symbol for embeded fonts

    Ouch!
    anyone experienced this in a Mac?

    thanks
    marcbc Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139