That's good to know.  Can you please update this ticket with your comments
so that we can go back and easily find it when such an issue arises in the
future?
https://issues.apache.org/jira/browse/FLEX-34909

And do you think I can close this issue as fixed for now?

Thanks,
Om

On Tue, Nov 24, 2015 at 10:31 AM, Alex Harui <aha...@adobe.com> wrote:

>
>
> On 11/24/15, 9:24 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>
> >I’ve never used charts, so I have no idea about RTL and the like. What
> >was the issue with Spark?
>
> Back in July, I took a look [1] and it appeared that Charts used a
> TextField instead of a Spark Label to measure how much room there was for
> axis labels.  If you don't embed fonts, I think things work better because
> the TextField's measurements will be pretty close to the Spark Label's
> measurements.   In the test case, no labels would be shown because without
> both a CFF and non-CFF font in the app, the TextField will compute bad
> measurements.   I don't know if there are cases where it somehow did work.
>
> This change makes the default behavior more desirable when fonts are
> embedded, but still doesn't let you use Spark Label on the Chart axis.  I
> could be wrong but I think that if you didn't embed fonts, you might see
> subtle differences in your axis labels since TextField and TextLine don't
> choose the same pixels, but maybe nobody cares.
>
> I'm not going to oppose this change if the rest of the community is ok
> with it, I just want us to know up front what kinds of issues it might
> cause.
>
> -Alex
>
> [1]
> http://mail-archives.apache.org/mod_mbox/flex-users/201507.mbox/%3cD1CE8372
> .36635%25aha...@adobe.com%3e
>
>

Reply via email to