Non embedded characters also show up in textarea
Hi - In our custom made fonts, we dont have characters like ®, present. (confirmed it by seeing the font in windows character map). But our text area allows copy pasting such characters into the textarea. We use TLF. Am not sure what font these characters get rendered in, but am pretty confident these are not present in my font.
This is how I generate my font swf.Pls guide me on what wrong am I doing or why are these fonts showing up in TLF? Let me know if you need more details.
package
{
import flash.display.Sprite;
import flash.system.Security;
import flash.text.Font;
public class testFont extends Sprite
{
Security.allowDomain("*");
[Embed(source="/fonts/testFont.ttf", mimeType="application/x-font", fontName="testFont",
unicodeRange="U+0020-U+007F,U+00A0-U+00A3,U+00A8-U+00AB,U+00AE,U+00B4 ,U+00B8,U+00BB,U+00BF-U+00CF,U+00D1-U+00D6,U+00D8-U+00DC,U+00DF-U+00EF ,U+00F1-U+00F6,U+00F8-U+00FC,U+00FF,U+0131,U+0152-U+0153,U+0178,U+02C6 -U+02C7,U+02DA,U+02DC-U+02DD,U+2013-U+2014,U+2018-U+201A,U+201C-U+201E ,U+2022,U+2026,U+2030,U+2039-U+203A,U+20AC,U+2122,U+FB01,U+FB02", embedAsCFF="true")]
public static var font:Class;
}
}
