Try some other, more common TTF file with embedAsCFF: false;

I don’t remember if you can embed variants like ‘light’ fonts and get them
to work.

-Alex

On 7/16/15, 10:25 PM, "Deepak MS" <[email protected]> wrote:

>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 <[email protected]> wrote:
>
>> Did you try:
>>
>>  embedAsCFF: false;
>>
>> -Alex
>>
>> On 7/16/15, 10:14 PM, "Deepak MS" <[email protected]> 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?
>>
>>

Reply via email to