Please check your embedded font has support for - Bold , Italic ,
BoldItalic type of styles
If your font does not support same style as label required then it will
show blank.

On Fri, Jul 17, 2015 at 10:45 AM, megharajdeepak [via Apache Flex Users] <
[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?
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Embedded-font-for-Charts-tp10793.html
>  To unsubscribe from Apache Flex Users, click here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
*Regards,*
Prashant Kumar* | *Mob.: +91 8408811225




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Embedded-font-for-Charts-tp10793p10798.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to