I ran my test in IE6, no problems.  Can you post your test case?  Sometimes 
these are caused by the player's interaction with the hardware like a GPU or 
with features like font-smoothing.  You can play around with those settings and 
see if they make a difference.  There also is an mm.cfg file in doc&settings 
that can tweak how the player uses some of these features.  I think one of the 
flags is disableMultiCoreRendering.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of hr1ny
Sent: Tuesday, February 10, 2009 3:02 PM
To: [email protected]
Subject: [flexcoders] Re: embedded font causes labels to appear with 
backgroundColor lighter than expected


Alex,

I appreciate your taking the time to try my example. I tried it using Lucida 
Sans on my environment, and I do see the same phenomenon, of lighter stripes on 
the background of the FormItems.  Here is the way it looks: 
http://chefaz.net/henry/TestEmbeddedFontLucidaSans.png

I am using the latest Flex Builder (3.0.2), and viewing in IE6.  It only 
happens with embedded fonts.

--Henry

--- In [email protected], Alex Harui <aha...@...> wrote:
>
> I don't have Lucida Bright, but I used Lucida Sans and don't see any problems.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: [email protected] [mailto:[email protected]] On 
> Behalf Of hr1ny
> Sent: Monday, February 09, 2009 5:09 PM
> To: [email protected]
> Subject: [flexcoders] Re: embedded font causes labels to appear with 
> backgroundColor lighter than expected
>
>
> Alex,
> Thanks for your reply.
> Following is a nice, minimal example that recreates this issue. It
> works with 2 different embedded fonts that I tried.
> advancedAntiAliasing did not make a difference. The labels have a
> striped appearance, which ca! n be distracting.
> --Henry
>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical">
> <mx:Style>
> @font-face
> {
> src: url('../bin-
> debug/assets/fonts/LucidaBright/LucidaBrightRegular.ttf');
> fontFamily: lucidaBright;
> }
>
> global
> {
> fontFamily: lucidaBright;
> fontSize: 12;
> border: 1px;
> borderStyle: solid;
> color: white;
> }
> </mx:Style>
>
> <mx:VBox backgroundColor="#4e4e4e" backgroundAlpha="1"
> width="500" height="150">
> <mx:Form>
> <mx:FormItem label="dummy checkbox">
>
> <mx:CheckBox id="dummyCheckbox"
> label="hi there"/>
> </mx:FormItem>
> <mx:FormItem label="item label text"
> color="white">
> <mx:TextInput id="fiti" text="! default
> text" backgroundColor="gray"/>
>! </mx :FormItem>
> </mx:Form>
> </mx:VBox>
>
> </mx:Application>
>
> --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Alex 
> Harui aharui@ wrote:
> >
> > Your version of Flex may not allow a list of fontFamilies.
> >
> > How much lighter is the background? Do you have filters applied,
> alpha? I've seen slight changes (0xfefefe becomes 0xfdfdfd), but not
> much more than that. Try turning off advancedAntiAliasing.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: [email protected]<mailto:flexcoders%40yahoogroups.com>
> [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>] On 
> Be! half Of hr1ny
> > Sent: Monday, February 09, 2009 12:04 PM
> > To: [email protected]<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] embedded font causes labels to appear with
> backgroundColor lighter than expected
> >
> >
> > In my Flex 3 app, when I use an embedded font, I notice that some
> of my labels appear against a backgroundColor that is lighter than
> the surrounding backgroundColor (sometimes, in repeatable
> conditions), even though this is nowhere specified explictly.
> >
> > If I use a system font like '_sans' this does not happen.
> >
> > Can anyone explain why this would be, or how I can fix this
> behavior?
> >
> > My css code:
> >
> > @font-face {
> >
> > src: url('/assets/fonts/MyriadWebPro/MyriadWebPro.ttf');
> >> > fontFamily: myriadWebPro;
> >
> >! ; advanc edAntiAliasing: true;
> >
> > }
> >
> > global {
> >
> > fontFamily: myriadWebPro;
> >
> > fontSize: 12;
> >
> > border: 1px;
> >
> > borderStyle: solid;
> >
> > advancedAntiAliasing: true;
> >
> > color: white;
> >
> > }
> >
> > I also observe that if I say
> > fontFamily: myriadWebPro,
> >
> > it loads the myriadWebPro font, but if I say
> > fontFamily: myriadWebPro, '_sans',
> >
> > it will load a default serif font instead. That seems very strange.
> >
> > --Henry
> >
>

Reply via email to