I want to display Hindi language as a Label text in flex mobile application. I am using adobe flash builder 4.5
for that you need to consider the following:
Use UTF-8 file encoding in your project.
Use a font which supports Hindi chars.
I do not really understand what is your problem, maybe you can update your question.
Related
I'm trying to add multiple language support in my website. It would support English and Chinese. How do i do it using a properties file.
Thanks.
I have developed a website for local evening news paper which is in telugu language. I have used to display and i'm using lekhini.org or branah.com website to generate telugu text by using general english typing. Everything is working fine and displaying perfectly if i'm using the generated text but my client using anu script manager and apple font, if they copied that text to website its not showing, instead it is showing some special characters. here is the screenshot i took, in the top line flash news it showing special characters which is a telugu text typed in quark express software using apple keyboard. remaining content was typed in lekhini.org website. please help me how to display the text written from apple font. Thanks in advance
You cannot copy the apple font or ANU fonts text directly to html as browsers do not support those fonts. Try to convert the ANU fonts to unicode font before using in html.
There are many converters online. You can look at india government converter at www.cdac.in
It's possible using alivepdf to write a Unicode pdf?
I see a Unicode.as class, but when I try, the pdf created cannot be opened by adobe reader.
Could you please suggest me some code snippet to create a unicode string?
[EDIT]
I have made some investigations. I think the problem is on putcidfont0 method on UnicodePDF.as class.
The problem is that I think the font metrics are not parsed well and many characters are displayed with the default font width.
I cannot say how to fix this...
Try delcaring a new UnicodePDF() or setting the isUnicode bit to true (see documentation)
I dealt with this a month or two ago. My issue was that certain characters I would pass to AlivePDF would result in a broken PDF.
In my case I still had issues and my research turned up no promising results, although someone else had a strikingly similar issue that may be worth reading in your case.
The AlivePDF library hasn't been updated in a few years, and with my experience it seems like it doesn't play entirely well with unicode / other languages, although I have used it for English content without issue.
Since my target was desktop Flash and I was generating the PDF content from an external XML file, I eventually just wrote a helper utility app using C# and PDFSharp, which may or may not be an option in your case.
There was a big discussion here
Also I noticed that online PDF to Doc converters read UnicodePDF() files well.
Hope it helps.
It seems that some characters, as greek accented, some polish and many other characters are not available trough cid fonts, so the only way is to embed font in pdf.
I am doing a website in flex, In that give option to user to language change option...Suppose if user select Hindi language total site will display in Hindi.. How to do this task?
A solution of this problem is described in Adobe Flex 3 Help:
http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_1.html
And exactly what you want is described here (with an example):
http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_1.html
I have a flex application to work on an iPad. What is the best way to convert this application?
Your subject line is a separate question from your post LizaM, but I'm assuming you specifically want to convert a Flex application into HTML5 and not something natively iOS.
If the Flex application is complex and you need to convert to markup that you can work with for further development then you might not have any options other than to get your hands dirty and start from scratch. Good ol AJAX/HTML (or call it HTML5 - whatever sexy words you want to use for the markup you're using to run on Safari).
There are tools out there (e.g. Swiffy and SoThink SWF Decompiler), but I don't think they'll help much if you're trying to convert rich Flex library classes. I could be wrong about this, but that seems to be the state of affairs at the moment.
J
If you want to convert a Flex application to the iPad, you should consider porting it to a Native App. There are plenty of tools and documentation for doing that.
If you create a Flash Builder Mobile Project, you'll have an output option for iOS devices.
Flex 4.5 can compile your air applications for IOS. Simply use the compile for IOS options.
You can also compile for Android, RIM/Blackberry etc...