Results 1 to 8 of 8

Thread: Weird Cross Platform Printing Problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Weird Cross Platform Printing Problems

    Quote Originally Posted by igor View Post
    Yes, and here's a link to it so you can use it, too

    Blue Highway font
    What does QFont( "Blue Highway").exactMatch() return?

  2. #2
    Join Date
    Jan 2007
    Posts
    30
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    MacOS X

    Default Re: Weird Cross Platform Printing Problems

    Quote Originally Posted by jacek View Post
    What does QFont( "Blue Highway").exactMatch() return?
    I have no idea.

    Why do you ask ?

    How does this relate to my question ?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Weird Cross Platform Printing Problems

    Quote Originally Posted by igor View Post
    I have no idea.
    Then check it.

    Quote Originally Posted by igor View Post
    Why do you ask ?

    How does this relate to my question ?
    I want you to check if that font was properly installed on your system. If you compare "y" or "g" from those PDFs, you'll see that they're different, which might mean that Qt uses different font on windows.

  4. #4
    Join Date
    Jan 2007
    Posts
    30
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 PyQt3 PyQt4
    Platforms
    MacOS X

    Default Re: Weird Cross Platform Printing Problems


    You miss the point of the original question.
    The problem I am experiencing has nothing to do with fonts.
    The line setting the font can be removed without problem.

  5. #5
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Weird Cross Platform Printing Problems

    Well, if you look in QPdfBaseEnginePrivate::drawTextItem, you will see that a substituted font can have an unpleasant effect.

    I've seen the two pdf's and I am not sure if this is a
    font problem. The only way to see what's wrong is to take Acrobat Professional and PdfCan opener and examine/compare the page streams and resource dictionaries.
    I would do that, but I'm on vacation( meaning I don't have Acrobat Pro at home ).

    It looks more like when an unhandled exception occurs in code .

    Regards

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.