943,608 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Jul 4th, 2009
0

Multilingual Web Design

Expand Post »
Hi All,
i am designing a multilingual website (English / Kannada). I can display Kannada font in IE by using Microsoft WEFT. But it is not displaying properly in Firefox and other browsers. How can i solve this problem. Please help me.
Thanking you,
Vinith
Reputation Points: 10
Solved Threads: 0
Light Poster
vinithktp is offline Offline
30 posts
since Nov 2007
Jul 4th, 2009
0

Re: Multilingual Web Design

You need to encode them using UTF encoding.
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006
Jul 5th, 2009
0

Re: Multilingual Web Design

Click to Expand / Collapse  Quote originally posted by vinithktp ...
Hi All,
i am designing a multilingual website (English / Kannada). I can display Kannada font in IE by using Microsoft WEFT. But it is not displaying properly in Firefox and other browsers. How can i solve this problem.
Vinith
Windows doesn't support UTF-8 encoding very well, but that would be the way to go. I don't know the Kannada font, but like many other MS TrueType fonts it may not be complete.

I always use UTF-8 but I sometimes have problems with Windows, and especially Internet Explorer (7&8) not supporting Norwegian characters in filenames. It has cause a lot of problems.

The best solution would be to ditch Windows and IE altogether, but that's probably a bit unrealistic!
Reputation Points: 16
Solved Threads: 9
Junior Poster
ingeva is offline Offline
106 posts
since Jul 2008
Jul 6th, 2009
0

Re: Multilingual Web Design

You can include the font file on your site, and reference it in the html, so that those browsers without native unicode for Kannada can get it from the font file
a list of fonts containing support for Kannada http://www.wazu.jp/gallery/Fonts_Kannada.html#samples from which you can download a font to your site
and
css Syntax (Toggle Plain Text)
  1. @font-face {
  2. font-family: kannada;
  3. src: url(resolved-path-to-downloaded-kannada-font.ttf);
  4. }
in the css should permit access
Last edited by almostbob; Jul 6th, 2009 at 2:34 pm.
Reputation Points: 562
Solved Threads: 367
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Jul 7th, 2009
0

Re: Multilingual Web Design

Thank you so much for your help.
Iam using following code for include font
html Syntax (Toggle Plain Text)
  1. <style type="text/css" media="screen, print">
  2. @font-face {
  3. font-family: BRH Kannada;
  4. src: local("BRH Kannada"), url("../fonts/brhknd.ttf") format("truetype");
  5. }
  6. body {
  7. font-family: "BRH Kannada", nudi_vedic_e;
  8. }
  9. <!--[if IE 7]>
  10. @font-face {
  11. font-family: BRH Kannada;
  12. src: url("../fonts/BRHKANN0.eot");
  13. }
  14. <!-- [endif] -->
  15. </style>

I checked with IE7, Firefox, Opera, Chrome, Safri. But it is working only with Safari browser.
Last edited by peter_budo; Jul 8th, 2009 at 7:05 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reputation Points: 10
Solved Threads: 0
Light Poster
vinithktp is offline Offline
30 posts
since Nov 2007
Jul 8th, 2009
0

Re: Multilingual Web Design

Click to Expand / Collapse  Quote originally posted by vinithktp ...
css" media="screen, print">
@font-face {
font-family: BRH Kannada;
Does if work better if you put quotes around "BRH Kannada" ?
Reputation Points: 16
Solved Threads: 9
Junior Poster
ingeva is offline Offline
106 posts
since Jul 2008
Jul 8th, 2009
0

Re: Multilingual Web Design

Thank you. But it is not working
This is my modified code :
Quote ...
HTML and CSS Syntax (Toggle Plain Text)
  1. <style type="text/css" media="screen, print">
  2. @font-face
  3. {
  4. font-family: "BRH Kannada";
  5. src: url("../fonts/brhknd.ttf") format("truetype");
  6. }
  7. <!--[if IE 7]>
  8. @font-face
  9. {
  10. font-family: Times New Roman;
  11. font-style: normal;
  12. font-weight: normal;
  13. src: url(../fonts/TIMESNE0.eot);
  14. }
  15. @font-face
  16. {
  17. font-family: BRH Kannada;
  18. font-style: normal;
  19. font-weight: 700;
  20. src: url(../fonts/BRHKANN1.eot);
  21. }
  22. @font-face
  23. {
  24. font-family: BRH Kannada;
  25. font-style: normal;
  26. font-weight: normal;
  27. src: url(../fonts/BRHKANN0.eot);
  28. }
  29. <!--[endif]-->
  30. </style>
This is working perfectly with IE7 and Safari
Last edited by vinithktp; Jul 8th, 2009 at 10:39 am.
Reputation Points: 10
Solved Threads: 0
Light Poster
vinithktp is offline Offline
30 posts
since Nov 2007
Jul 12th, 2009
0

Re: Multilingual Web Design

It is not a good idea to use any special character in a filename, because some servers and Internet nodes don't know what to do with them. Stick to the US ASCII letters and numerals.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Jul 13th, 2009
0

Re: Multilingual Web Design

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
It is not a good idea to use any special character in a filename, because some servers and Internet nodes don't know what to do with them. Stick to the US ASCII letters and numerals.
There's a world outside of USA. If a system doesn't allow characters outside the limited ASCII set, it's the system that needs to be changed.
Reputation Points: 16
Solved Threads: 9
Junior Poster
ingeva is offline Offline
106 posts
since Jul 2008
Jul 13th, 2009
0

Re: Multilingual Web Design

Click to Expand / Collapse  Quote originally posted by ingeva ...
There's a world outside of USA. If a system doesn't allow characters outside the limited ASCII set, it's the system that needs to be changed.
The system dont really give a flying f___, the software was written in English
the internet, shipping, airtravel, native language is English.
A limited character set for transport protocols is probably a good thing, there are too many translation versions of 2byte codes that there would be less compatibility if each server were to try to interpret them, according to its installed version.
If you invent something(or steal it convincingly enough), the microcode would probably be in that language of the inventor(theif)
Last edited by almostbob; Jul 13th, 2009 at 9:07 am.
Reputation Points: 562
Solved Threads: 367
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: div and %
Next Thread in HTML and CSS Forum Timeline: Spry menus





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC