• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

How to set Fonts other than English!

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI!
I want to set fonts (Regiobnal Languages).It is working fine when I use the english fonts.I can't set the fonts like SYMBOLS,WINDIGS etc..Pls help me how can I set the fonts.Thanks in advance
Cheers
Raajesh
 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java supports Unicode fonts. So one unicode font can be used for all regional languages. Create a resource bundle for the various regional languages and load them accordingly.
 
Raajesh Chandran
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sudharsan G'rajan:
Java supports Unicode fonts. So one unicode font can be used for all regional languages. Create a resource bundle for the various regional languages and load them accordingly.


The REgional fonts are working fine in swings, the problem is only with the awt applets.
Thanks
 
Sudharsan Govindarajan
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
oh! Sorry for my misinterpretation. BTW are you using Unicode or non Unicode fonts for Regional Languages? Do u have any specific reson for using AWT in applets? Why can't yo use Swing in Applets?
 
Raajesh Chandran
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sudharsan G'rajan:
oh! Sorry for my misinterpretation. BTW are you using Unicode or non Unicode fonts for Regional Languages? Do u have any specific reson for using AWT in applets? Why can't yo use Swing in Applets?


It is working fine with swings. The need to use Unicode fonts is for the localization purpose.
Thanks
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure if it really contains any information pertinent to your situation, but you may want to take a look at The Internationalization Trail of Sun's Java Tutorial.
Good Luck.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic