Sign in to follow this  
FlashDevMpact

MSColumnLine3DChart using embed font from swf ( CS4 )

Recommended Posts

Hi ,

Im rendering a MSColumnLine3DChart wtih actionscript using a data.xml file for the chart's data,

i embeded a Font named "Arial Rounded MT Bold" by adding it in librairy and linking is name with "Arial Rounded" link name ( CS4 embeding method ). 

i also added a text field out of the scene ( where i render the graph )that uses the "Arial Rounded MT Bold" embed font to make sure the font is really embed ( using AS2 method ). 

 

The chart renders fine but the FONT used is a default one since it is not finding the embeded one.

Here the Xml code used for data :

<?xml version="1.0" encoding="UTF-8"?>

<chart caption='REVENUS' palette='4' showValues='0'

yAxisValuesPadding='5' adjustDiv='1' maxColWidth='35' numDivLines='10' divLineAlpha='35'

canvasBgAlpha='0' bgAlpha='0' baseFont='Arial Rounded'  baseFontSize ='1.3' baseFontColor ='222222'>

 <categories>

<category label='JAN 10' />

<category label='F

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :)

Currently we are working on the same and will get back to you as soon as possible.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

To use embedded fonts, you'll need to embed the font, plus make code changes at a few places (including com.fusioncharts.helper.Utils and each chart's code where the embedded text-field is to be created [each such location])

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this