Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2006

    Displaying Chinese characters on 3rd Edition

    Hi everybody,
    I'm trying to use a Chinese font in Symbian 3rd edition as I am seeing squares while using DrawText.

    If I use:
    CFbsFont* aFont;
    const CFont* font = ApacPlain12();
    TFontSpec MyFontSpec = font->FontSpecInTwips();

    The text is now seen as Chinese but everything comes out really big.

    How do I set variable/various sizes to the Chinese font, as I cannot change the height of MyFontSpec. I usually did:

    MyFontSpec = TFontSpec(aTTFontName,Twips);
    Where aTTFontName is something like "Nokia Sans S60" and I would set different Twips for different font sizes.

    Also, I thought about doing:

    MyFontSpec = TFontSpec(_L("ApacPlain12"),Twips);
    But the text came out as squares again, so maybe that is not the font name of the native Chinese font ...

    The Nokia Chinese display example is of no use, as I am able to show Chinese characters but I cannot resize them.

    Any help on this would be greatly appreciated.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: Displaying Chinese characters on 3rd Edition

    you could maybe check my Yt-Tasks, and its Fonts plug-in, it allow you to browse any font available in the device.

  3. #3
    Regular Contributor
    Join Date
    Mar 2006

    Re: Displaying Chinese characters on 3rd Edition

    Hi Yucca,
    An honor :)

    I found the solution and it is quite simple.

    The font Sans MT 936_S60 has Chinese characters and by getting "closest font available" I was able to show Chinese without any modifications.

    It took me hours to find that information on Google, so I hope this post will help in the future.

Similar Threads

  1. Doubts - S60 3rd Edition versus S60 3rd Edition FP1
    By juarezjunior in forum Symbian
    Replies: 4
    Last Post: 2009-04-27, 11:29
  2. speech recognition in s60 3rd edition
    By fatema27 in forum Symbian
    Replies: 10
    Last Post: 2008-08-14, 06:06
  3. S60 3rd edition signing process
    By fightersoft in forum Symbian
    Replies: 11
    Last Post: 2007-05-03, 08:18
  4. Replies: 4
    Last Post: 2007-03-02, 00:15
  5. Replies: 3
    Last Post: 2006-10-04, 22:44

Posting Permissions

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