Results 1 to 2 of 2

Thread: Loading chinese font for the application

  1. #1
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Loading chinese font for the application

    I had wenquanyi font file with whcih I should load the chinese font. I also had translator chinese.qm to install translator.

    I successfully installed translator. But I couldn't load wenquany font.
    I tried like QApplication::setFont(QFont("wenquanyi",10), true)

    Can anyone tell me what is wrong and how can I do that?

  2. #2
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Loading chinese font for the application

    Send me a font and I will try in my code to load it ... And try an alternative, try to use this font using stylesheets ...
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. Loading library from application
    By mourad in forum Installation and Deployment
    Replies: 0
    Last Post: 2nd April 2008, 15:10
  2. Application default font
    By larry104 in forum Qt Programming
    Replies: 2
    Last Post: 16th September 2006, 01:24

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.