Wow, so based on your link [1] we can get get FTE on MX components. Just change its textFieldClass and set an embedded font with CFF enabled. I may give this a shot later on some reports.
Can be changed in the mxml by: <mx:Label text="Hello World" textFieldClass="mx.core.UIFTETextField"/> Or in CSS by: mx|Label { textFieldClass:ClassReference("mx.core.UIFTETextField"); } [1] http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-26a13bbf123c441239d-8000.html -Mark -----Original Message----- From: Alex Harui [mailto:aha...@adobe.com] Sent: Monday, December 14, 2015 1:16 AM To: dev@flex.apache.org Subject: Re: mustella for charts So, I did some digging and found that: 1) Before the change to default to mx:Label, the Mustella chart tests were using Spark Label with embedded fonts. 2) There was already plumbing to better support Spark Label in Charts. I didn't know about it, but it appears that you are supposed to use the MXFTEText.css theme [2]. I tried it on the sample in FLEX-34909 [1] and it seemed to work there. It would be great if someone would confirm. FWIW, I found that in [2] I had to use the actual path to MXFTEText.css, I couldn't just start with "frameworks/projects..." So, I think we should revert back to defaulting to using Spark Label and then these tests should start passing again. Thoughts? -Alex [1] https://issues.apache.org/jira/browse/FLEX-34909 [2] http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f-26a13bbf123c44123 9d-8000.html On 12/11/15, 11:32 AM, "Alex Harui" <aha...@adobe.com> wrote: >I don't see any obvious degradation, but I know folks much better eyes >than I do. I think you are seeing the difference in rendering between >device and embedded fonts and maybe also TextLine vs TextField. > >There have been complaints in the past about embedded fonts looking more >fuzzy or blurry compared to device fonts. I think it has to do with the >glyph renderer getting too confident that it can render stems on >half-pixels instead of messing with kerning to try to put stems on pixels. > >-Alex > >From: Mark Kessler ><kesslerconsult...@gmail.com<mailto:kesslerconsult...@gmail.com>> >Reply-To: "dev@flex.apache.org<mailto:dev@flex.apache.org>" ><dev@flex.apache.org<mailto:dev@flex.apache.org>> >Date: Friday, December 11, 2015 at 11:21 AM >To: "dev@flex.apache.org<mailto:dev@flex.apache.org>" ><dev@flex.apache.org<mailto:dev@flex.apache.org>> >Subject: Re: mustella for charts > >Original baseline image: http://tinypic.com/r/245y5xe/9 >Current Bad image: http://tinypic.com/r/f0nnd0/9 > > > >On Fri, Dec 11, 2015 at 2:02 PM, Mark Kessler ><kesslerconsult...@gmail.com<mailto:kesslerconsult...@gmail.com>> wrote: >I'll hold off then for now. But I can tell you the current fonts being >shown in the baseline have a higher clarity than what the new baselines >would show. I'll see if this example goes through. First is current, >second is the new one. > > >[Inline image 3][Inline image 4] >-Mark > >On Fri, Dec 11, 2015 at 1:04 PM, Alex Harui ><aha...@adobe.com<mailto:aha...@adobe.com>> wrote: > > >On 12/11/15, 9:57 AM, "omup...@gmail.com<mailto:omup...@gmail.com> on >behalf of OmPrakash Muppirala" ><omup...@gmail.com<mailto:omup...@gmail.com> on behalf of >bigosma...@gmail.com<mailto:bigosma...@gmail.com>> wrote: > >>Do you know if Spark labels ever worked with Charts? I dont think so. > >I was wondering that myself. Somehow, the current chart baseline images >are showing text, so one thing I was going to do was dig into it to see >whether it was using TextLine or TextField. Maybe it is using TextLine >with device fonts. Certainly, your changes caused subtle rendering >differences and it might be useful to truly understand what the impact >will be. If someone could use right-to-left text with TextLine and device >fonts in Charts today, then replacing TextLine with TextField will break >them. > >-Alex > > >