×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    14

    Cool How to render local language in canvas ?

    Hi all,

    I am developing an application in which we need to display a local language(say hindi..) on canvas.

    My question: Is it possible to use our language to paint on canvas or any thing else?

    If possible please tell me how could i do that.


    Regards
    Sivaji

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,555

    Re: How to render local language in canvas ?

    Search for grahamhughes post about how to use custom fonts: http://discussion.forum.nokia.com/fo...?search_type=1

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: How to render local language in canvas ?

    Quote Originally Posted by sivaji_boss View Post
    Hi all,

    I am developing an application in which we need to display a local language(say hindi..) on canvas.

    My question: Is it possible to use our language to paint on canvas or any thing else?

    If possible please tell me how could i do that.


    Regards
    Sivaji
    Most of the devices from OEM's sold in a said market support local languages for e.g. all Nokia devices sold in India support Hindi locale and device firmware for India supports rendering of Hindi fonts.
    Thus you can use Hindi Unicode text directly with drawString() to draw on Canvas, it will be displayed using System's default Hindi fonts.
    Thanks,
    Ekta

  4. #4
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to render local language in canvas ?

    or check the wiki article based on the posts of Graham which were mentioned by petrib :
    http://wiki.forum.nokia.com/index.ph...e_custom_fonts
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: How to render local language in canvas ?

    If you try to use Custom Fonts to render Hindi Character wise on Canvas, you need to implement your Hindi Language Grammatic engine also... as the placement and design of half character changes in Hindi depending on the main full character to which it is attached, Hence it is recommended to depend on the device capability of rendering local languages like Hindi & Hebrew and use only Device Native fonts for easy localization of your application, as Ekta suggested below. If the application is targeted to a particular market, the device firmware generally support the local language rendering.

    You can also use LWUIT and its resource editor/bundles for localization where you can directly add the values in local language and use the keys in your program code, it renders local languages like Hindi & Hebrew on its own using device native fonts.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. ComboBox Render
    By neeraja.nokia in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2008-12-04, 04:27
  2. local language font in mobile
    By rak_eshz in forum General Development Questions
    Replies: 14
    Last Post: 2006-10-16, 23:22
  3. local language font in mobile
    By rak_eshz in forum Mobile Java General
    Replies: 2
    Last Post: 2006-10-05, 11:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×