Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34909

Embedded fonts not working on charts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: Apache Flex 4.14.0
    • Fix Version/s: None
    • Component/s: Charts
    • Labels:
      None
    • Environment:
      Windows 7, 64 bit.

      Description

      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

      More Details and work around can be found here:

      http://apache-flex-users.2333346.n4.nabble.com/Embedded-font-for-Charts-td10793.html

        Attachments

        1. SampleChart.zip
          882 kB
          Deepak MS
        2. SampleChart.mxml
          3 kB
          Alex Harui

          Activity

            People

            • Assignee:
              aharui Alex Harui
              Reporter:
              megharajdeepak Deepak MS
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: