PDA

View Full Version : RTE Rich Text Editor Font embed issue


mojito
12-23-2009, 02:40 PM
This doesn't seem to have a solution as yet. If the application doesnt have all the fonts embeded that appear in the RTE font drop down then the fonts cannot be typed in of course. I dont want to embed all the outlines I'd rather restrict the user to a single font.

So can I remove the font dropdown ? maybe override it somehow ? :(

mojito
12-23-2009, 02:55 PM
private function addFonts():void
{
//var arr:Array = Font.enumerateFonts(true);
//summary.fontFamilyCombo.labelField = 'fontName';
summary.fontFamilyCombo.dataProvider = "helv"//Font.enumerateFonts(true);
}

the uncommented stuff allows me to limit the dropdown to my single application embeded font.

If I use the commented stuff then it seems to select all the fonts available on my system but still is unable me to render the font as they have not been embeded ! This is from the oreily cookbook and seems pretty pointless to me.