voip03 Posted August 31, 2011 Share Posted August 31, 2011 I want to use Tamil font in my web page. I am not able to display them on my page. It is showing like this,” y;yk “ How am I able to sort this issue? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/ Share on other sites More sharing options...
cssfreakie Posted August 31, 2011 Share Posted August 31, 2011 you mean font or characterset? anyway a better to the point forum would be: http://tech.groups.yahoo.com/group/tscii/ in case you mean a font instead of a character set, show your complete code you used. But I am pretty sure you meant character set. Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1264056 Share on other sites More sharing options...
voip03 Posted September 1, 2011 Author Share Posted September 1, 2011 need to display tamil characterset Thank you cssfreakie! Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1264221 Share on other sites More sharing options...
voip03 Posted September 1, 2011 Author Share Posted September 1, 2011 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <style type="text/css"> @font-face { font-family: 'Bamini Tamil'; ' src: url('www.kvijayanand.zzl.org/fonts/bamini.ttf'); } .p{ font-family: Bamini Tamil, Helvetica, sans-serif; } </style> <body> tamil font <p>khtPuu; JapYk; ,y;yk பாமினி தமிழ் kjhckfk.fhh</p> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1264396 Share on other sites More sharing options...
cssfreakie Posted September 2, 2011 Share Posted September 2, 2011 font-family: 'Bamini Tamil'; ' src: url('www.kvijayanand.zzl.org/fonts/bamini.ttf'); remove the single quote like so: font-family: 'Bamini Tamil'; src: url('www.kvijayanand.zzl.org/fonts/bamini.ttf'); small tip: validate your css here: jigsaw.w3.org/css-validator/ Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1264857 Share on other sites More sharing options...
voip03 Posted September 3, 2011 Author Share Posted September 3, 2011 Thank you cssfreakie that link is grate help full. But still I am stuck with tamil font. Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265083 Share on other sites More sharing options...
cssfreakie Posted September 3, 2011 Share Posted September 3, 2011 Thank you cssfreakie that link is grate help full. But still I am stuck with tamil font. did you remove that single quote? and did you validate your css? What you showed apart from the extra single quote should just work (if the file is there and the browser supports @font-face) does this link maybe help extra? http://www.evotech.net/blog/2010/01/font-face-browser-support-tutorial/ Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265086 Share on other sites More sharing options...
voip03 Posted September 3, 2011 Author Share Posted September 3, 2011 <html> <head> <title>Tamil Text Sample</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style type="text/css"> <!-- @font-face { font-family: "Bamini Tamil";src: url("www.kvijayanand.zzl.org/fonts/bamini.ttf");} p{ font-family: "Bamini Tamil", Times, serif; } .style1 {font-size: 9px} </style> </head> <body> <h3>Tamil Text Samples</h3> <p>,y;yk</p> <span class="style1">அம்மா</span> </body> </html> This is my new code, i can not get it work. Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265087 Share on other sites More sharing options...
cssfreakie Posted September 3, 2011 Share Posted September 3, 2011 maybe you want to try out one of the standard generators. I can get it working on my computer, so I am pretty sure so can you. Use this generator: http://www.fontsquirrel.com/fontface/generator Since i don't have a license I won't link to the zip file this thing creates, but you can do that yourself of course. takes 1 min max. Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265094 Share on other sites More sharing options...
voip03 Posted September 3, 2011 Author Share Posted September 3, 2011 The code I gave you is working with out any mordifucation? What is this line, displaying on your screen? <p>,y;yk</p> thank you for your help. Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265125 Share on other sites More sharing options...
cssfreakie Posted September 3, 2011 Share Posted September 3, 2011 Look I didn't say 'without any modification' ... Also the context in which I said it is working was when i proposed to use a generator (upload your .ttf, download zip, test out file, voila it works) Now, Those characters I haven't got a clue where those come from. But I am about 5000% sure css has nothing to do with that. Why would it?? unless you use the content property which you don't. Did you try: http://www.fontsquirrel.com/fontface/generator ?? If you did, you would have found out that it worked. cheers of to the pub! Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265136 Share on other sites More sharing options...
voip03 Posted September 5, 2011 Author Share Posted September 5, 2011 Thank you cssfreakie! Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1265629 Share on other sites More sharing options...
kvijayanand Posted September 8, 2011 Share Posted September 8, 2011 Hi This is vijay anand. Please check this web page . . you will get a solution... and you can download the codes here http://1stwebdesigner.co.cc/jquery/tamil/tamil-font.html http://kvijayanand.wordpress.com/2010/10/25/font-face-style-through-css/ [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/246101-i-want-to-use-tamil-font-in-my-web-page/#findComment-1266768 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.