internationalizing an applet

Discussion in 'Java' started by Blah Blah, Jul 5, 2003.

  1. Blah Blah

    Blah Blah Guest

    i would like to have an applet which will display Japanese in one
    JTextComponent, Korean in another, and Cyrillic in a third (all in the same
    frame). i am using UTF8. i can set this up correctly on my local machine
    by altering my font.properties file, but i need to make sure that everything
    displays correctly for users who see the applet in the web page.

    any ideas?

    daniel
     
    Blah Blah, Jul 5, 2003
    #1
    1. Advertisements

  2. Blah Blah

    Harald Hein Guest

    "Blah Blah" wrote:

    > i would like to have an applet which will display Japanese in one
    > JTextComponent, Korean in another, and Cyrillic in a third (all in
    > the same frame).


    The frame and the text fields are not relevant here. They have no
    notation of a locale. In fact, the only thing that is relevant here
    is that you have fonts installed that provide the necessary glyphes,
    using the char codes as defined by Unicode.

    > but i need to make sure that everything displays correctly for
    > users who see the applet in the web page.


    Is there any guarantee that your users will have all necessary fonts
    available on their local machine? Can you ensure their
    font.properties file is correctly set up, so these fonts are
    properly maped to their Unicode positions?

    If not, it gets ugly. You can provide the fonts as TTF fonts with
    your applet. Then you can use Java's build in TTF font renderer to
    render the glypes in your applet.

    You need to license the fonts, and your applet's download time
    increases.

    HH
     
    Harald Hein, Jul 6, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Love

    applet vs. canvas in applet

    Rob Love, Jul 7, 2003, in forum: Java
    Replies:
    1
    Views:
    826
    Liu, Chunyen
    Jul 7, 2003
  2. Blah Blah
    Replies:
    0
    Views:
    1,543
    Blah Blah
    Aug 13, 2003
  3. Jade
    Replies:
    3
    Views:
    1,091
    Roedy Green
    Aug 14, 2003
  4. Rune Andresen
    Replies:
    2
    Views:
    2,175
    Phil Powell
    Sep 17, 2003
  5. Your Name

    Applet to Applet Communication

    Your Name, Nov 3, 2003, in forum: Java
    Replies:
    0
    Views:
    477
    Your Name
    Nov 3, 2003
  6. Patrick Smith

    Internationalizing a python app

    Patrick Smith, Oct 30, 2004, in forum: Python
    Replies:
    0
    Views:
    370
    Patrick Smith
    Oct 30, 2004
  7. Replies:
    0
    Views:
    316
  8. Duke Hamacher

    Internationalizing a static site with ASP Classic

    Duke Hamacher, May 27, 2004, in forum: ASP General
    Replies:
    1
    Views:
    179
    Steven Burn
    May 27, 2004
Loading...