Results 1 to 2 of 2

Thread: Any cross-platform way to use a bitmap font file with Qt ? (or not cross-platform)

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Any cross-platform way to use a bitmap font file with Qt ? (or not cross-platform)

    I'm using QScintilla, and I'd like to use ProFont as an only font, and since I'm planning to make a image zoom rather than a vector-ish zoom of the font (I know that seems stupid, but I want to make my editor this way), I want to use a bitmap font, and Qt doesn't support them (QFont is told to only support ttf for now).

    Are they non-official libraries that enable Qt to use bitmap fonts ? (Windows and/or Linux/Mac) ?

  2. #2
    Join Date
    Nov 2010
    Posts
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Any cross-platform way to use a bitmap font file with Qt ? (or not cross-platform

    Bitmap fonts should work just fine.

    QFont::setStyleHint (..., QFont::PreferBitmap);

Similar Threads

  1. Cross-platform GUI app
    By rockballad in forum Qt Programming
    Replies: 2
    Last Post: 21st April 2010, 08:38
  2. Qt's Cross-Platform Functionality
    By winston2020 in forum Qt Programming
    Replies: 3
    Last Post: 18th January 2009, 19:31
  3. cross platform basics
    By tommy in forum Installation and Deployment
    Replies: 1
    Last Post: 8th February 2008, 20:16
  4. Cross platform PDF printing?
    By ucntcme in forum Qt Programming
    Replies: 1
    Last Post: 8th January 2008, 10:29
  5. Cross platform application???
    By Shuchi Agrawal in forum Newbie
    Replies: 6
    Last Post: 15th February 2007, 06: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.