PDA

View Full Version : Pls Help - Can't Embed Special Font:(



pinklamp
May 2nd, 2009, 09:56 AM
Thank you in advance for the help. My problem is I wanted to use a special font (frenchscript mt) for captions I made in the dynamic text field. (My captions change depending on the image chosen and it has links too).
I've done all kinds of embedding, including the new font symbol embedding method but nothing works. I test if embedding was done by removing the font from my fonts folder. But when I do this, the captions become Arial:( I even tried to put a plain dynamic text field on stage using the special font, but the same thing happens when I remove the special font from the fonts folder. What can I do to make sure that even users without this font will be able to view the caption in the special font??? Pls help, thanks very much:)

pvsamy
May 6th, 2009, 05:18 AM
hi pink,

i faced this kind of problem earlier and solved this issue. you need to do the following:

1. you have to create new font in the library and name the font (ie. your special font) after that give the same linkage id to it.

2. make your dynamic text and do the embed option (embed all).

3. make your dynamic text as html and pass the text content as htmlText (as the ex. given below)

_txt.html = true
_txt.htmlText = "Start <font face='frenchscript mt'><b>From</b></font> new<font face='GG Subscript Serif'>age.</font>";

note that your library should have - 'frenchscript mt' and 'GG Subscript Serif' fonts provided with linkage id.

i hope this will work fine.

thanks
pvsamy.