You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Prabu Moorthy <Pr...@symphonysummit.com> on 2014/07/01 07:53:58 UTC
RE: Cannot display Hindi Fonts in Flex Mobile Application
Embed the font in CSS,
Set embedAsCFF: true for Label
@font-face {
src: url("assets/fonts/hindi.ttf");
fontFamily: "hindicff";
embedAsCFF: true;
}
Set embedAsCFF: false for Button, List and other components
@font-face {
src: url("assets/fonts/hindi.ttf");
fontFamily: "hindi";
embedAsCFF: false;
}
Thanks & Regards,
M.Prabhu
Office: +91 80 3307 1909 | Mobile: +91 9590100761
prabu.moorthy@symphonysummit.com
-----Original Message-----
From: Ash1703 [mailto:ashish.yadav@firmwisegroup.com]
Sent: Monday, June 30, 2014 5:31 PM
To: users@flex.apache.org
Subject: Re: Cannot display Hindi Fonts in Flex Mobile Application
Hi Paul,
Thank you for a quick response.
Say if the devices doesn't support the fonts how am i suppose to embed fonts into the application.
It will be great if you can share a code or a reference.
Thanks
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Cannot-display-Hindi-Fonts-in-Flex-Mobile-Application-tp7068p7071.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
RE: Cannot display Hindi Fonts in Flex Mobile Application
Posted by Ash1703 <as...@firmwisegroup.com>.
Thanks Paul and Prabhu..!!
It worked, It was more of a concern with UNICODE support in the fonts.
Mangal.ttf supports Unicode and it worked with it. However i have tested in
on Android and will be testing it on IOS in a couple of hours. Hope it works
over there.
Thanks for the help..!!
--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Cannot-display-Hindi-Fonts-in-Flex-Mobile-Application-tp7068p7097.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.