Solved

Flex Embedding Hindi Fonts Problem

Posted on 2009-07-04
1
464 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
Comment Utility
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
YouTube Link 10 346
flash cs6 4 334
Adobe flash player memory exhaustion 6 82
adobe flash plugin has crashed while listening to pandora 2 62
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

771 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

10 Experts available now in Live!

Get 1:1 Help Now