Results 1 to 9 of 9

Thread: Please help with Arabic text printing and PDF creation

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Posts
    15
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    send the result pdf if you please

  2. #2
    Join Date
    Dec 2012
    Posts
    197
    Thanks
    25
    Thanked 41 Times in 33 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    Sure here is the result.
    i would have tested the print function too but i dont have my printer installed right now.

    pdf-Result.jpg

    Good Luck.

  3. #3
    Join Date
    Dec 2008
    Posts
    15
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    first, thanks for your help

    - I tried several fonts on different OSs but in all cases the font character positioning is wrong ( additional spaces appear between characters)

    - after the result you give to me, I tried to compile the same application with Qt version 4.7.4 on windows 7, and I got a very good result pretty like the one you sent to me. looks like the problem is in the printing support of the latest Qt !

    thanks again.

  4. #4
    Join Date
    Dec 2012
    Posts
    197
    Thanks
    25
    Thanked 41 Times in 33 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    I used Qt 5.1.1 on Windows 7 64 bit.
    How about the printing issue that you were facing ? ( the flipped parenthesis )
    Did you fix it ?

    Good Luck.

  5. #5
    Join Date
    Dec 2008
    Posts
    15
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    the flipped parenthesis problem when printed to a hw printer still exists even when compiled with 4.7.4


    I've submitted a bug report, anyway: https://bugreports.qt-project.org/browse/QTBUG-34678

  6. #6
    Join Date
    Dec 2008
    Posts
    15
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    @toufic.dbouk

    I've just notices the bugfix ( as I think ) in the changes log of Qt 5.1.1:

    - REG: Fix character size when exporting PDF on Windows

    https://qt.gitorious.org/qt/qtbase/s.../changes-5.1.1

  7. #7
    Join Date
    Dec 2012
    Posts
    197
    Thanks
    25
    Thanked 41 Times in 33 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Please help with Arabic text printing and PDF creation

    I will test it on windows 7 64 bit using Qt 5.1.1 in a couple of days and get back to the post.

    Good Luck.

Similar Threads

  1. Arabic text rendering; issues with parentheses
    By TropicalPenguin in forum Qt Programming
    Replies: 4
    Last Post: 10th September 2013, 09:53
  2. Printing to a plain text (txt) file from a report
    By luizofoca in forum Qt Programming
    Replies: 0
    Last Post: 10th June 2010, 19:02
  3. Replies: 1
    Last Post: 3rd September 2008, 14:16
  4. Text too big while printing after using SetWindow()
    By ibergmark in forum Qt Programming
    Replies: 2
    Last Post: 6th March 2008, 05:51
  5. Pixel Position and Printing text
    By nErnie in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2006, 12:35

Tags for this Thread

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.