Hello,
I am developing a page. I am stuck on a problem. The problem is that, my webpage is in HTML, and i am creating a table on that.
in that few contents are in English, but some contents are in HIndi. But Whenever i tries to write in hindi, it shows something else.
I ahve done so much googling, but cannt get a single solution.
So, i want to know is this possible that i can write only specific content in Hindi, and rest page will b shown in English and how?
thanx in advance.

Deepak VermaPosted Aug 22, 2014, 8:19 AM
http://www.fontsquirrel.com/tools/webfont-generator
Don't forget to change path, font-family and class names accordingly.
Cheers! have a nice day.
Deepak VermaPosted Aug 22, 2014, 8:05 AM
Priyank KharePosted Aug 22, 2014, 7:54 AM
Deepak VermaPosted Aug 22, 2014, 7:49 AM
Priyank KharePosted Aug 22, 2014, 7:43 AM
Deepak VermaPosted Aug 22, 2014, 7:38 AM
I don't know what's wrong by your side. You've to check for path in Developer Tools in Chrome (F12 >> Console >> Refresh Web Page). Verify, there is no error like 'file not found'.
Hope it'll help.
Priyank KharePosted Aug 22, 2014, 7:30 AM
Deepak VermaPosted Aug 22, 2014, 7:25 AM
Priyank KharePosted Aug 22, 2014, 7:25 AM
Deepak VermaPosted Aug 22, 2014, 7:11 AM
Do you forget to include the font file?
Change the src in css accordingly.
src: url('/demo/fonts/k010.TTF');
Check the "Console" in Browser Developer Tools for error (file not found if src is not set correctly).
Priyank KharePosted Aug 22, 2014, 6:19 AM
Deepak VermaPosted Aug 22, 2014, 5:01 AM
<html>
<head>
<title>title>
<style>
@font-face
{
font-family: 'hindi';
src: url('/demo/fonts/k010.TTF');
font-weight: normal;
font-style: normal;
}
.hindifont
{
font-family: hindi; font-size:20px;
}
style>
head>
<body>
<div class="hindifont">
vki dSls gSaA
div>
body>
html>
Output:
Priyank KharePosted Aug 22, 2014, 4:22 AM
In short,
S.No. Name Conatct
-----------------------------------------------------
1. Amit (should be come in English) 125465
2. Priyank(should be come in Hindi) 68749865
How can i do that..?
Deepak VermaPosted Aug 22, 2014, 4:09 AM
It's OK. Actually, you see this because of default font-family. you should use Hindi font for this particular paragraph or div or whatever tag you're using.
Edit: Be careful when using non-system fonts. When your application will be live... Your users may not have these fonts installed on their system. So, now the good idea is to use font-face instead of font-family.
Priyank KharePosted Aug 19, 2014, 7:26 AM
Rahul BansalPosted Aug 19, 2014, 7:21 AM