Solved

Flex Embedding Hindi Fonts Problem

Posted on 2009-07-04
1
466 Views
Last Modified: 2013-11-11
For the attached code, I get the following compile time error :
exception during transcoding: Font for alias 'myFontFamily' with bold weight and italic style was not found by family name 'Kundli Hindi Normal'

I have installed other Hindi fonts, and I get the same error for them as well.

Though I don't get any error for standard fonts such as Arial, Helvetica
and even "Microsoft Himalaya"

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

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

	<mx:Button x="96" y="102" label="Button"/>

	<mx:Style>

     @font-face {

    src:local("Kundli Hindi Normal");

    fontFamily: myFontFamily;

    advancedAntiAliasing: false;

    font-weight:bold;

    font-style:italic;

}
 

     Button {

        fontFamily: myFontFamily; 

        fontSize: 18pt;

     }

     HBox {

        fontFamily: Times; 

        fontSize: 18pt;

     }
 

  </mx:Style>
 
 

</mx:Application>

Open in new window

0
Comment
Question by:dtivmk
1 Comment
 
LVL 1

Accepted Solution

by:
dtivmk earned 0 total points
ID: 24779099
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
To integrate SSRS reports in flex 4.6 6 518
Indesign Data Merge 1 182
Virus or Outlook 2007 problem, how to tell? 8 76
File conversion question 5 85
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now