title: AS3 TextField setting top margin of text because some chars are cutted out
body: <p>I am trying to figure out why some letters (like the norwegian Å (&Aring;)) are cutted out in the middle of the top "o":</p>
  
  <p><img src="https://i.stack.imgur.com/QgHIq.png"/></p>
  
  <p>My code is this:</p>
  
  <pre><code>        var titleFormat:TextFormat = new TextFormat();
          titleFormat.size = textSize;
             // this is embedded font, and exported for action script, declared
          titleFormat.font = myFontBold.fontName;
          titleFormat.bold = true;
          titleFormat.color = parseInt("0x"+fontColor,16);
  
          var titleText:TextField = new TextField();
          titleText.defaultTextFormat = titleFormat;
          titleText.embedFonts = true;            
          titleText.antiAliasType = AntiAliasType.ADVANCED;
          titleText.text = "Å"+text;
          addChild(titleText);
  
          titleText.selectable = false;           
          titleText.wordWrap = true;          
          titleText.width = maskImg.width - 80;           
            // this should autosize to fit all text, but it doesn't the top of text
          titleText.autoSize = TextFieldAutoSize.LEFT;
          titleText.x = x;
          titleText.y = y;
  </code></pre>
  
  <p>So, i have tried different things like setting height hardcoded and bigger than text, but top us cutted again, i have tried with css but no success. Anyone has idea why the letter is not showed fully and why if i zoom in the swf (2-3 zoom ins) it shows up normal (and what i try to achieve) like this:</p>
  
  <p><img src="https://i.stack.imgur.com/UcEVB.png"/></p>
  
  <p>I think it has to do with the topMargin, but unfortunately i didn't find something like that in as3 documentation.</p>