Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Korean font display in imx6q based board
Forum Updated to NodeBB v4.3 + New Features

Korean font display in imx6q based board

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 789 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pavan
    wrote on last edited by
    #1

    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_can_i_dynamically_switch_between_languages_in_my_application_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

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Pavan
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved