Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User sivaji_boss's Avatar
    Join Date
    May 2010
    Posts
    14
    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
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,414
    Search for grahamhughes post about how to use custom fonts: http://discussion.forum.nokia.com/fo...?search_type=1

  3. #3
    Registered User ektasrv's Avatar
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941
    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
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Local Language doesn't support in Old Phone Browser
    By mukund_ce in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2009-08-21, 05:33
  2. Local Language doesn't support in Old Phone Browser
    By mukund_ce in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2009-08-21, 05:33
  3. ComboBox Render
    By neeraja.nokia in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2008-12-04, 04:27
  4. local language font in mobile
    By rak_eshz in forum General Development Questions
    Replies: 14
    Last Post: 2006-10-16, 23:22
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved