I've created some swf files in which text was written using one particular font. When I run these swf files in other computers which don't have this font, The text gets displayed in different font.
How to get the same font in other computers also without installing the font.
I tried embedding font in fla file. But I commit mistake at somewhere. Could anyone help me to figure it out ?
Thanks for swift reply. This project has many no. of slides. Each slide contains some text and all slides will have same font. No additional fonts.
To embed the font I did choose one text in one slide among many and click on embed button which is available in text properties, gave new name, in character ranges chose uppercase, lowecase and punctuation.
Published the file and ran in different computers. No desired display. Is it correct ?
Awaiting your valuable reply.
Text is in
Is it correct ? Because nothing can be changed dynamically. All slides are going to display the text. Should it be changed to input text ?
Changing to input text is not needed. Here is a link that might help if you follow it closely...
I followed exactly the same they have mentioned in the documentation. But still it is not happening. Even when font embedding i did choose export for actionscript in actionscript setting. Need some help.
The export for actionscript would only be necessary if you are dynamically creating the textfields. Having done what you did, it is hard to tell what you did with the information on that linked page.
In your original response it sounded like you only applied the font to a single textfield out of many. Each textfield needs to have the font embedded. But if you are using static textfields (versus dynamic/input) then there should be no need to embed any font since the characters will essentially be traced into the textfields.
Just a bit of fair warning, I have experience where some fonts simply will not embed regardless of what you do. Common fonts should not be so, but some fonts can be a problem.
If you know that the text will not be changing, then one sure way to overcome the font issue is to break down the text into raw graphics. This is done by selecting the static textfield with the text in it and choosing Modify -> Break Apart twice... the first break apart breaks it into individual character fields and the second breaks it into graphics.
Thanks for your timely reply. Breaking apart the text will not work out. I have too many texts positioned on top and bottom of the picture in many slides. Even if break it apart to Graphics, It removes the style ( bold ) from the text in swf output.
The font which I'm trying to embed is
Font Family: Cooper Std
Does this font have issue in embedding ? Have you ever heard it ? Please let me know.
Awaiting your reply.
The texts are being displayed throught actionscript. But all texts are kept in timeline only. It will be played in two ways.
1. Will be played automatically
2. Can be played using forward and previous buttons.
Some texts are having tweening effect also.
Does this produce some issues in embedding ?
Do we need write any codes to embed fonts in Actionscript 3.0 ?
I use Flash CS 5.5.
I even checked with changing the font family but still unable to get that font in other computers. It means the issue is not with the font. It is with embedding only. Need some suggestions.
Your story has changed from the start which makes it difficult to help you. You started off saying that you are using Classic Static textfields and that no dynamic text is involved. If that were the case, you should have no need to embed any fonts.
Now you say all text is being displayed thru actionscript, which cannot be done when using static textfields. In the case of dynamic textfields, each textfield must have the font embedded. You provided a vague description of what you tried to do for embedding the font, so I cannot tell what you might have done incorrectly.
What I will suggest for you is to start a separate file that has only one textfield and process that textfield in a similar manner as how you currently do. Resolve getting the font to appear in that separate file first. Then apply the same soltuion to the file you have all of the textfields in.
Thanks for your assistance.
I apologize for not explaining it properly. As you had suggested I just created one new file in which I kept only one text field. No actionscript or anything. The text will be displayed on the stage for 2 secs.
As it is static I don't need to embed the text. So I didn't. Checked the swf file in different computers but no desired display. I then embedded the font. No desired display again in different computers. I then changed it from static to dynamic text, It is not necessary though. Still no desired display. I then tried with different font. But same thing happens.
How did I embed the font ?
Text --> Font Embedding --> Choosing correct font family and style --> Choosing character ranges as uppercase, lowercase, numbers, punctuation. Then clicked on + sign available at right top corner of the left area in which all embedded fonts are displayed. Click OK. Checked in Library and those fonts are available.
I even didn't do anything with actionscript tab as I don't have any actionscript at all for this file.
2 fonts I used:
Font Family: Cooper Std
Font Family: DigifaceWide
I don't really know Where I commit mistake. Please advice me.
Awaiting your precious reply.
What you describe as your approach does not sound correct. You might have planted the font in the library, but you did nothing that I can discern regarding embedding the font into the textfield. Each textfield needs to have its font embedded.
If it is not working when you use a static textfield I have no idea why and cannot help resolve the problem.
Finally, I have found the reason for displaying incorrect font on different computers. It is all about font settings.
In Font settings, Anti alias had been set as Use device fonts. This was why It was choosing device fonts on which the machine doesn't have it. Now, I have changed it to Anti-alias for animation. I didn't even embed any fonts. It works perfectly.
I didn't even change from static text to dynamic text to get it done. Simply changed Anti-alias settings. Is it correct ? Could you tell me that should be it set as Anti-alias for animation or Anti-alias for readability, I don't see major difference between two though?
I thank for all your great timely support.
Europe, Middle East and Africa