I've searched high and low for a resolution to this problem.
And as far as I can tell there isn't a solution. So, please if
anyone has a solution, I think it would be worth a lot of peoples
time, if we could actually post it here.
If you embed non-system fonts (below I've compiled true type
fonts into swf's), and reset the rich text editors fontArrayFamily
to only contain the newly embedded fonts, the embedded fonts will
not work. If you embed system fonts, this method will work. If you
assign 1 of the non-embedded fonts to a component, the font will
render correctly. The issue only seems to be when the fonts are
assigned to the RTE, and the font families that are available to
Below should allow for non-system fonts to be available to
the RTE, but you will get default fonts instead.
*IF you assign the fontFamily within the RTE to 1 of the
embedded non-system fonts, it will render the font.
*Below AAGBIGFICTION will show, but you will not be able to
use any other font.
<mx:RichTextEditor id="RTE" title="Title" width="440"
I just figured this one out. Make sure that if you embed a
font, that every font used by the movie is embedded. Because if
flex tries to use a font that is not embedded, Flex will
automatically switch to using system fonts. IT WILL IGNORE YOUR
In my project, I was embedding 2 non-system fonts. The Rich
Text editor by default uses Verdana to display your text size,
font, all the control components that belong to the Rich Text
Editor... And since I didn't embed Verdana, Flex ignored my
embedded fonts, and forced the movie to use Verdana. After I
embedded the system font (Verdana) everything worked as expected.