Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
marcbc #1
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
-
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... -
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,... -
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.... -
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... -
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... -
Greg Lafrance #2
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
-
marcbc #3
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
-
Greg Lafrance #4
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
-
marcbc #5
Re: Euro ? symbol for embeded fonts
Ouch!
anyone experienced this in a Mac?
thanks
marcbc Guest



Reply With Quote

