flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak MS <megharajdee...@gmail.com>
Subject Embedded font for Charts
Date Fri, 17 Jul 2015 05:14:36 GMT
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