# AS2/CS4: Embedded font, html, dynamic textfield, missing characters

**URL:** <https://forum.kirupa.com/t/as2-cs4-embedded-font-html-dynamic-textfield-missing-characters/314369>\
**Category:** flash\
**Created:** [September 26, 2010, 3:06pm UTC](https://forum.kirupa.com/t/as2-cs4-embedded-font-html-dynamic-textfield-missing-characters/314369 "2010-09-26T15:06:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ninna](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@Ninna](https://forum.kirupa.com/u/Ninna)\
**Post date:** [September 26, 2010, 3:06pm UTC](https://forum.kirupa.com/t/as2-cs4-embedded-font-html-dynamic-textfield-missing-characters/314369/1 "2010-09-26T15:06:32Z")

</div>

I have content which is dynamically loaded into a textfield:

```auto
import TextField.StyleSheet;
var myStyleSheet:StyleSheet = new StyleSheet();
myStyleSheet.setStyle("body", {color:'#0E283D',fontFamily:'DJVRegular',fontSize:'14',textDecoration:'none',textAlign:'justify',leading:'5'});
myStyleSheet.setStyle("a:link", {color:'#330000',fontFamily:'DJVRegular',fontSize:'14',textDecoration:'underline',textAlign:'justify',leading:'5'});
//etc.

var myTextField:TextField;
myTextField.html = true;
myTextField.styleSheet = myStyleSheet;
myTextField.text = "Some text with html tags";
myTextField.embedFonts = true;

```

Fonts are in my Library, exported for AS in frame 1; text formatting works. What _doesn’t work_ is that certain characters are missing: e.g. the Polish łńśćżź and the entire IPA range. If I delete the line with embedding, text is displayed in some default font, but the characters are there. The problem is that I need to have that particular font in the project, so is there a way to keep the font and display all the characters?

Also, these characters are missing from static fields when I test the movie, which wasn’t the case earlier.

TIA,  
Ninna
