# Serious Problem With Embed Fonts

**URL:** <https://forum.kirupa.com/t/serious-problem-with-embed-fonts/246552>\
**Category:** flash\
**Created:** [December 12, 2007, 8:38am UTC](https://forum.kirupa.com/t/serious-problem-with-embed-fonts/246552 "2007-12-12T08:38:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saddu](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Saddu](https://forum.kirupa.com/u/Saddu)\
**Post date:** [December 12, 2007, 8:38am UTC](https://forum.kirupa.com/t/serious-problem-with-embed-fonts/246552/1 "2007-12-12T08:38:32Z")

</div>

Hi all,

Am creating a textbox dynamically through action script using the following line :

this.createTextField(“my\_txt”, this.getNextHighestDepth(), 10, 10, 160, 120);

And i added a font symbol in the library and named it as “Lucida Sans Unicode” , and i embedded , applied text format using the following lines :

var my\_fmt:TextFormat = new TextFormat();  
my\_fmt.font = “Lucida Sans Unicode”;  
my\_txt.embedFonts = true;  
my\_txt.type=“input”;  
my\_txt.text = “Hello world”;  
my\_txt.setTextFormat(my\_fmt);

After doing the above steps the text box “my\_txt” created has the “Lucida Sans Unicode” font style , when i type in the text box also its displaying with the “Lucida Sans Unicode” font style , but the problem is when i type some maths symbols such as " ∅ , ∈ , ∉ …" its showing as box , the maths symbols are not coming . What am doing wrong ?? What should be done to display all the math symbols ??

Thanks in Advance,  
Saddu.
