Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Can't display Arabic font in pdf
  FAQ FAQ  Forum Search   Register Register  Login Login

Can't display Arabic font in pdf

 Post Reply Post Reply
Author
Message
kyawkoko View Drop Down
Beginner
Beginner


Joined: 29 Jul 08
Location: Singapore
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote kyawkoko Quote  Post ReplyReply Direct Link To This Post Topic: Can't display Arabic font in pdf
    Posted: 06 Aug 08 at 3:42AM
Hi everyone,

        I export pdf by using ised quick pdf.Below is my first code.


        For index = 0 To DataGridView1.RowCount - 1
            If (index Mod 45) = 0 Then
                If index <> 0 Then
                    PDFnewGen.NewPage()
                End If
              
                iPage = iPage + 1


      
            End If
          

            sTemp = DataGridView1.Rows(index).Cells(0).Value
          
            PDFnewGen.AddSubsettedFont("Arabic Transparent", 11, sTemp)
            PDFnewGen.SetTextSize(8)
            PDFnewGen.SetTextAlign(0)
            PDFnewGen.DrawTextBox(50, ((index Mod 45) + 6) * 5, 80, 5,   PDFnewGen.GetSubsetString(sTemp), 0)


            sTemp = DataGridView1.Rows(index).Cells(1).Value
            PDFnewGen.AddSubsettedFont("Arabic Transparent", 11, sTemp)
            PDFnewGen.SetTextSize(8)
            PDFnewGen.SetTextAlign(0)
            PDFnewGen.DrawTextBox(140, ((index Mod 45) + 6) * 5, 80, 5, PDFnewGen.GetSubsetString(sTemp), 0)
           
        Next index


         This code can display Arabic Language correctly but out of memory error in very large report.So i chaged my code to below.

                PDFnewGen.AddTrueTypeFont("Arabic Transparent", 1)
               PDFnewGen.SetTextSize(8)
               PDFnewGen.SetTextAlign(0)

        For index = 0 To DataGridView1.RowCount - 1
            If (index Mod 45) = 0 Then
                If index <> 0 Then
                    PDFnewGen.NewPage()
                End If
              
                iPage = iPage + 1


      
            End If
          

            sTemp = DataGridView1.Rows(index).Cells(0).Value           
            PDFnewGen.DrawTextBox(50, ((index Mod 45) + 6) * 5, 80, 5, PDFnewGen.GetSubsetString(sTemp), 0)


            sTemp = DataGridView1.Rows(index).Cells(1).Value
            PDFnewGen.DrawTextBox(140, ((index Mod 45) + 6) * 5, 80, 5, PDFnewGen.GetSubsetString(sTemp), 0)
           
        Next index

            This code can't display arabic font in correctly.It display ????? only.
Help me.

Thanks
KO KO
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 07 Aug 08 at 7:25AM
Hi!
 
I fear like asiatic charactercodes arabic ones aren#t supported in/with QuickPDF.
 
br,
Ingo
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store