flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Embedded font for Charts
Date Fri, 17 Jul 2015 05:57:57 GMT
Is the font embedded in the same SWF as the chart classes?  Which version
of Flex are you using?  Are you using RSLs?

On 7/16/15, 10:50 PM, "Deepak MS" <megharajdeepak@gmail.com> wrote:

>Ok. I tried with normal fonts like Arial, Tahoma and Corbel, all of which
>are san serif.
>But I keep getting a serif font like this:
>
>http://pasteboard.co/21d2dRny.png
>
>
>
>
>On Fri, Jul 17, 2015 at 11:05 AM, Alex Harui <aharui@adobe.com> wrote:
>
>> 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" <megharajdeepak@gmail.com> 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 <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
View raw message