Adobe Dreamweaver Forums



Last 10 THreads :         Re: Photoshop CS3 Extended Keyboard Shortcut Not Working (Last Post : Jason_Messer@adobeforums.com - Replies : 0 - Views : 1 )           »          PS CS4 "Save As ..." format choices appear in duplicate (Last Post : Dan_Dill@adobeforums.com - Replies : 2 - Views : 3 )           »          Re: Photoshop won't launch (Last Post : Neil_Keller@adobeforums.com - Replies : 0 - Views : 1 )           »          cs4 full screen mode isn't saved in workspaces, unlike cs3 (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 3 - Views : 4 )           »          Import SCORM files (Last Post : Steve Howard **Community Expert** - eLearning + Mo - Replies : 2 - Views : 3 )           »          Design View Slow Re-Draw (Last Post : oostdyk - Replies : 0 - Views : 1 )           »          Can't get Macromedia Authorware Web Player to install onWindows Vista (Last Post : Steve Howard **Community Expert** - eLearning + Mo - Replies : 1 - Views : 2 )           »          Can I make a 4 state CSS Sprite nav bar. (Last Post : Team Liquid Fire - Replies : 8 - Views : 9 )           »          3 overlapping background images on same page (Last Post : brad_goldstein - Replies : 10 - Views : 11 )           »          fireworks exports hundreds of files (Last Post : JoeyD1978 - Replies : 1 - Views : 2 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-03-2008, 04:37 AM
mogz3
 
Posts: n/a
Diggs:
Default Re: Adding additional fonts to RichTextEditor

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 EMBEDDED FONTS.

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.

So this fixed the issue:

@font-face {
src:url("AABIGFICTION.swf");
fontFamily: "AABIGFICTION";
fontName: "AABIGFICTION";

}
@font-face {
src:url("Baskerville_Old_Face.swf");
fontFamily: "Baskerville_Old_Face";
fontName: "Baskerville_Old_Face";

}
@font-face {
src: local(Verdana);
fontFamily: "Verdana";
fontName: "Verdana";
}



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 02:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk