Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

showing hindi fonts in flex with lots of spelling mistakes

$
0
0

hindi fonts are showing in the text field of flex 3.0 air desktop application with lots of spelling mistakes on linux operating system.

please tell me if i am using any mistake while using hindi fonts. eg code is given below.

 

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

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

 

<mx:Style>

        @font-face {

            src:url("/hindifonts/lohit_hi.ttf");

            font-family: myMyriadWebPro;

advancedAntiAliasing: false;

unicode-range:U+0900-U+097F

        }

    </mx:Style>

 

 

<mx:Script><![CDATA[

[Bindable]

public var hindiURL : String = "http://in.jagran.yahoo.com/news/rss/international/politics.xml";

    ]]></mx:Script>

 

 

<mx:StringValidator id="urlValidator" source="{myTextInput}" property="text"/>

<mx:HTTPService id="myRSSFeed" url="{hindiURL}" />

<mx:Label x="10" y="12" text="RSS URL:" fontWeight="bold"/>

<mx:TextInput id="myTextInput" width="357" x="68" y="10"/>

<mx:Button x="371" y="40" label="GO !!" click="myRSSFeed.send()"/>

<mx:DataGrid id="myDataGrid" dataProvider="{myRSSFeed.lastResult.rss.channel.item}"

width="100%" height="100%" click="{myTextArea.htmlText = myRSSFeed.lastResult.rss.channel.item[myDataGrid.selectedIndex].description}"

x="7.5" y="70">

<mx:columns>

<mx:DataGridColumn headerText="Title" dataField="title" textAlign="left" fontFamily="myMyriadWebPro" fontSize="20"/>

<mx:DataGridColumn headerText="Publication Date" dataField="pubDate" textAlign="center" fontSize="20"/>

</mx:columns>

</mx:DataGrid>

<mx:TextArea id="myTextArea" width="100%" height="100%" x="10" y="222" fontSize="20" fontFamily="myMyriadWebPro"/>

</mx:WindowedApplication>


Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>