Results 1 to 10 of 10

Thread: font incorrectly show - font break.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    12
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default font incorrectly show - font break.

    hi,
    i build one sample and it works fine. so i intend to make this sample for supporting multi-language.
    i have some issue is broken font for some language like arabic, thai etc.
    to be more precise, when app is shown on arabic language all control(widget) name is fine, but title name is wrong.
    heres my code.

    Qt Code:
    1. Window *configwindow = new Window();
    2. QTranslator translator( 0 );
    3. translator.load( QString("MyApp_" + configwindow->getConfig()->getString("multilang","language") + ".qm"),
    4. // QTextCodec::locale(),
    5. MATERIAL_DIR + "/translations");
    6.  
    7. delete configwindow;
    8. a.installTranslator( &translator );
    To copy to clipboard, switch view to plain text mode 
    can anybody help me in advance.
    your help will be appreciated!!!
    regards
    Last edited by jpn; 25th May 2008 at 09:23. Reason: missing [code] tags

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.