> The font seems to have an emdash in Photoshop -- any idea why it's not
working in flex? 

 

Sorry, I don't know why they'd behave differently.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of grimmwerks
Sent: Friday, June 13, 2008 3:55 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mdash in line of text?

 

You're right - now I'm stuck trying to implement same with a custom
font.

 

The font seems to have an emdash in Photoshop -- any idea why it's not
working in flex? 

 

Going to examine the font in PopChar or FontBook

 

On Jun 13, 2008, at 6:28 PM, Gordon Smith wrote:





I compiled

 

<?xml version="1.0" encoding="utf-8"?>! 

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> ">

            <mx:Text fontSize="28">

                        <mx:text>

     &nbs! p;          !  &n bsp;                  Test &#8212; Test
&#8212; Test

                        </mx:text>

            </mx:Text>

</mx:Application>

 

(which uses the default Verdana device font) and ran it on my Windows
machine. It displayed the two em-dashes.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
<mailto:flexcoders@yahoogroups.com> ] On Behalf Of grimmwerks
Sent: Friday, June 13, 2008 1:28 PM
To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> 
Subject: Re: [flexcoders] mdash in line of text?

 

! 

Thanks Gordon.

 

I've tried both in a text area -- and it's not showing up --- I've tried
with embedded fonts as well as Helvetica, Verdana, etc -- they're not
showing up -- can you tell me how I'm doing this wrong:

 

<mx:Text width="710! "  top="20" styleName="infoText" selectable="false"
fontSize="28">

                                                <mx:text>

                                                The purpose of Total
Leadership is to improve performance in all four domains of life &#8212;
work, home, community, and se! lf &#8212; by creating mutual value among
them.

                                                </mx:text>! < /span>

                                    </mx:Text>

 

 

On Jun 13, 2008, at 3:20 PM, Gordon Smith wrote:






In Unicode the em-dash is &#821! 2; or &a mp;#x2014.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ]
On Behalf Of grimmwerks
Sent: Friday, June 13, 2008 11:57 AM
To:!  flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> 
Subject: [flexcoders] mdash in line of text?

 

Hey - does anyone have any suggestions for getting an em-dash to appear
in flex? It's in the font -- but it's not showing.

 

I've tried &#151;, &mdash; -- to no avail.

 

 

 

Reply via email to