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">
<mx:Text fontSize="28">
<mx:text>
Test — Test — 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: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of grimmwerks
Sent: Friday, June 13, 2008 1:28 PM
To: [email protected]
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
— work, home, community, and se! lf — by creating mutual
value among them.
</mx:text>
</mx:Text>
On Jun 13, 2008, at 3:20 PM, Gordon Smith wrote:
In Unicode the em-dash is ̵! 2; or &a mp;#x2014.
Gordon Smith
Adobe Flex SDK Team
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of grimmwerks
Sent: Friday, June 13, 2008 11:57 AM
To:! [email protected]
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 —, — -- to no avail.