Results 1 to 2 of 2

Thread: Problem with specific font

  1. #1
    Join Date
    Feb 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem with specific font

    This is PyQt4.

    I created an application to put a text item on a graphics scene. It worked fine. Then I wanted to set the font to "Petrucci", which is a True Type music-related font. For isntance, the 'e' character is an image of a quarter-note.

    If I set the font to an ordinary text font like Courier New, it works fine. However, when I set the font to Petrucci, all I get is boxes (I think it's the kind of box that essentially means "no representation"). Can someone give me an idea what to look for?

    Thanks,
    Mike

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with specific font

    Try checking what happens if you apply this font to QLineEdit or QTextEdit and start entering text. See if it works for any character at all.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt4: Font Problem
    By nando76 in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2009, 12:28
  2. problem with Font changing
    By phillip_Qt in forum Qt Programming
    Replies: 22
    Last Post: 25th April 2008, 04:37
  3. Replies: 1
    Last Post: 25th December 2007, 10:35
  4. Font Problem Porting from Windows to Linux
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2007, 10:25
  5. Font Problem
    By prakash in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2006, 16:53

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.