You might take a look at this, too.
 
HYPERLINK
"http://www.minifonts.com/tips.html"http://www.minifonts.com/tips.html
 
The second major topic on the page deals with using pixel fonts with Flash.


   _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ary
Sent: Sunday, September 23, 2007 2:03 AM
To: [email protected]
Subject: Re: [flexcoders] pixel font [old] issue



Thanks Jon!
i wil try that...

ary
--- Jon Bradley <HYPERLINK
"mailto:jbradley%40postcentral.com"[EMAIL PROTECTED]> wrote:

> Search archives. Another embedding fonts thread was
> discussed up 
> about a week ago ("Embed Flash Font" was the
> subject).
> 
> Text of my post is below, which works for all pixel
> fonts I've tested 
> so far (provided you use the proper font size in the
> Flex CSS document).
> 
> First step is to put a dynamic text field on the
> stage in Flash, set 
> your font for the field and choose the character(s)
> you wish to 
> embed. Make sure the text field is set to use Bitmap
> Text (whatever 
> the drop down is). You do not have control over the
> characters after 
> this step, so all your embedding is done in Flash
> (ie, no unicode 
> control in Flex CSS).
> 
> The use of "font-weight: normal" and
> "fontAntiAliasType: normal" are 
> necessary, from what I recall. You have no control
> over this in Flex 
> for pixel fonts.
> 
> The following steps are:
> 
> ----------------------------------------------
> 
> 1. Don't name the embedded font in the Flash 8 swf
> file the same as 
> the system font.
> 
> 2. Open the Flash 8 SWF back up into Flash 8 IDE (or
> CS3 IDE). When 
> you do that, do a list variables - Debug > List
> Variables. Make note 
> of the 'exported' font name that Flash used for the
> font. That name 
> is what you'll use in Flex.
> 
> For example, on using a pixel font (Kroeger 05_56),
> I exported the 
> Flash 8 SWF file, the embedded symbol name ended up
> as "kroeger 
> 05_56_8pt_st"-. And in Flex, I used this in the CSS
> as follows:
> 
> @font-face {
> src: url(../fonts/-Kroeger.swf) ;
> fontFamily: "kroeger 05_56_8pt_st"-;
> font-weight: normal;
> }
> 
> And defining the usage of that font, recognizing
> that in this case 
> it's a pixel font and doesn't use the advanced anti
> aliasing....
> 
> .assetInfoTitle
> {
> color:#666666;
> fontFamily: "kroeger 05_56_8pt_st"-;
> font-weight: normal;
> fontSize: 8;
> fontAntiAliasType: normal;
> }
> 
> Hopefully that will get you on your way.
> 
> best,
> 
> Jon
> 
> 
> 
> 
> On Sep 22, 2007, at 3:56 PM, Ary wrote:
> 
> > yes i try both already ...embeding .ttf files and
> make
> > a dynamic text on swf file, i choose embeding
> dynamic
> > text ,embedding ttf doesnt work at all, while
> > embedding swf is working, but blurred text, i
> define
> > normal,italic and bold in font face already...i
> even
> > got fontantialiastype set to advanced rather than
> > normal (i get it from a site, although it still
> > blurred).
> >
> 
> 

____________-_________-_________-_________-_________-_________-_
Tonight's top picks. What will you watch tonight? Preview the hottest shows
on Yahoo! TV.
HYPERLINK "http://tv.yahoo.com/"http://tv.yahoo.-com/ 



 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.488 / Virus Database: 269.13.28/1023 - Release Date: 9/22/2007
1:27 PM
 

Reply via email to