Results 1 to 4 of 4

Thread: Adding NEW FONT

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Wink Adding NEW FONT

    Hi,

    Im a newbie to QT. I have started with an application, where in different languages can be typed in to the textEdit field of the application by choosing from the menu. The menu has been dynamically created from the list of (.ttf) files in a directoy

    QString Hfontpath = "C:/Users/praveen_g/Documents/QtProjects/Linguist/Fonts/Hindi";
    QString extn = "*.ttf";
    QDir Hdirectory = QDir(Hfontpath);
    QStringList HFfiles;

    so when I select a ( .ttf ) file from menu, I should be able to write in that language in the textEdit field. How do I go about it ? can somebody help me

    Im using QT 4.5.3( Windows and Linux / X11)

    thanks and regards
    Last edited by praveen_g; 13th November 2009 at 06:05.

Similar Threads

  1. Showing font symbols
    By drhex in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2009, 21:53
  2. Font size calculation when painting in a QImage
    By Ishark in forum Qt Programming
    Replies: 3
    Last Post: 15th July 2007, 22:22
  3. Automatic font selection
    By NTwoO in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 27th April 2007, 12:40
  4. Font not Antialiasing
    By ChasW in forum Qt Programming
    Replies: 6
    Last Post: 21st January 2007, 18:12
  5. Qt renders wrong font
    By durbrak in forum Qt Programming
    Replies: 8
    Last Post: 2nd November 2006, 14:36

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.