Embedding Unicode Characters
Dear List
I am at a loss with flash fonts embedding once again. I am using Flex 3 for coding and the Flash 4 IDE for font and assets management.
I used the following steps to include the fonts:
CS4 IDE:
------------
1) Library : New Font 'HelveticaNeueRegular' mapped to Helvetica Neue Regular
2) Export for ActionScript and Export in Frame 1 enabled
3) Class Name: HelveticaNeueRegular
4) Base Class: flash.text.font
5) Publish file as swc
Flex:
----
6) Include the swc file in the project.
7) Code: Font.registerFont(HelveticaNeueRegular);
External XML:
😎 Use an external xml file for all dynamic text. Define css classes with the span tag
External CSS:
9) Define the styles like this:
.articleText{
font-family:"Helvetica Neue";
font-size:15;
color:#000000;
}
The Problem:
Now the above works fine, but when I try to display special characters such as superscripts or Caron accents they don't show up.
What I've tried:
I've tried to put an additional textfield with the additional characters (ie: ²Žž) to embed on the stage in the CS4 IDE as well as in the library as a separate symbol with the export in 1st frame enabled. In both cases I included the characters with the text property option 'Character Embedding' > 'Include these Characters' and I also put the characters in the textfield itself. I used both the real name of the font as well as the Libaray Font name (ie: HelveticaNeueRegular*)
No luck ![]()
Any suggestions on how to get these special unicode character outlines to display?
Thank you all
Regards
sk
