Results 1 to 2 of 2

Thread: Korean font display in imx6q based board

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2011
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Korean font display in imx6q based board

    I am working on a multi language application in Qt. I need to support Chinese, Japanese, Korean along with english. For that I have used "makeqpf" tool to convert ukai.ttf (supports chinese and japanese) and UnDotum.ttf (supports korean) font qpf formant and copied them to my target board (imx6q based board) at /usr/local/Trolltech/lib/fonts. Once copied to target, after selecting chinese/japanese from drop down box, I can see my strings on the screen converted to the appropriate language. I am using translations to convert the strings and added the .ts & .qm files as resources to my project.

    But when I select korean from language combo box, I don't see any text on the screen, complete blank strings.

    But when I try to run the app with "-fn UnDotum" option, I was able to see korean translation strings also on the screen when selected from combo box. But when I ran the application like this, the english font is not displayed properly. I have some text with large font, some text with bold, but with "-fn UnDotum" option every text looks of same size and normal text (no bold).

    I have verified if the UnDotum font is loaded or not with following.

    QFontDatabase *fdb = new QFontDatabase ;

    QStringList fam2 = fdb->families(QFontDatabase::Korean);

    qDebug() << "QFontDatabase::Korean: available font families" ;
    for(int i=0 ; i< fam2.count(); i++){
    qDebug() << fam2[i] ;
    }

    and I can see UnDotum font is loaded and available.

    I have used the below example as reference

    http://qt-project.org/faq/answer/how...ion_using_e.g_

    Why is korean text not displayed dynamically when selected from combo box.

    Any idea why this is happening with korean font? I have tried with many other korean fonts also (batang, Code2000, UnShinmum etc.,) but same result

    Regards,
    Pavan

  2. #2
    Join Date
    Jun 2011
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Korean font display in imx6q based board

    I have tried to run the i18n example located at "/usr/local/Trolltech/examples/tools/i18n" on my target board.. but there also for korean language, nothing is displayed. Simply blank space is shown for all the strings.

    Can someone guide me what I am missing on my target board?

    Thanks in advance

    Regards,
    Pavan

Similar Threads

  1. keys on keypad of ARM based iMX25(freescale) board is not responding.
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 29th August 2013, 13:34
  2. Unable to see Korean Font on the Ui
    By kapoorsudhish in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 25th October 2010, 12:50
  3. Font Height and width based on font size
    By Ghufran in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2010, 08:02
  4. Korean font currupting
    By bhaskar in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2010, 01:02
  5. Problem with korean characters display
    By giriprasad in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 27th September 2009, 08:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.