Nepali, Hindi unicode font issue in Google Chrome


If you are having a problem in Select, option for the Unicode fonts in Chrome browser, I have a solution for you today.

Usually, the Nepali & Hindi fonts does have the character that needs line-height or padding. For example: सुदर्शन, Put that word in your html page as:

Now, browse the page in both Firefox and Google Chrome, you will see the difference. Did you find the difference ?

problem-in-chrome with Unicode

You can try padding, line-height via the css file but it will work only in Firefox. So, What should be done to make the font readable in Chrome then ?

Solution:
Got Tired ?

Here is the simple solution for you people. See the below html and css lines:

Add the following CSS line:

 select.idea {font size: 12px; line-height:18px; font-family:mangal;  }

Thats it. See the image below for the change.

Thank you Sudarshan Singh, PHP Developer for the problem and the solution. You Rock.

2 Comments to Nepali, Hindi unicode font issue in Google Chrome

  1. Amid's Gravatar Amid
    July 21, 2012 at 8:54 pm | Permalink

    Hello:
    Could you please elaborate how to add/change the CSS line to fix this issue?
    Thanks.

  2. August 22, 2012 at 12:40 pm | Permalink

    nice post . thanx

  1. By on June 22, 2012 at 8:43 pm

Leave a Reply

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Latest Last.fm

  • No recently listened tracks.

Say Hello !

Wanna collaborate on a new project? Drop me a line at mail@nischaltiwari.com

or feel free to stalk me here...

  • My status