flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak MS <megharajdee...@gmail.com>
Subject Re: Embedded font for Charts
Date Fri, 17 Jul 2015 05:25:10 GMT
Yeah, tried that too. But in that case, it shows me some other system font
and not the one which I intend to.

On Fri, Jul 17, 2015 at 10:51 AM, Alex Harui <aharui@adobe.com> wrote:

> Did you try:
>
>  embedAsCFF: false;
>
> -Alex
>
> On 7/16/15, 10:14 PM, "Deepak MS" <megharajdeepak@gmail.com> wrote:
>
> >Hello,
> >I'm try to use my own font for the charts. But if I do so, all labels for
> >X
> >and Y axes shows up as blank.
> >
> >This is what I am trying:
> >@font-face
> >{
> >    src: url("assets/fonts/CALIBRIL.TTF");
> >    fontFamily: myFont;
> >    fontStyle: normal;
> >    fontWeight: normal;
> >    embedAsCFF: true;
> >    advancedAntiAliasing: true;
> >}
> >
> ><mx:ColumnChart id="column" fontFamily='myFont'
> >click="column_clickHandler(event)"
> >                        height="100%" showDataTips="true"
> >                        width="50%"
> >                        seriesFilters="{[]}"
> >                        >
> >
> >But if I use system fonts like  Arial, Times etc, they all seem to work
> >fine.
> >
> >Version: Flex 4.14 AIR 16, FP 16
> >
> >Am I missing something?
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message