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!
Can't display Arabic font in pdf |
Post Reply |
Author | |
kyawkoko
Beginner Joined: 29 Jul 08 Location: Singapore Status: Offline Points: 3 |
Post Options
Thanks(0)
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 |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
I fear like asiatic charactercodes arabic ones aren#t supported in/with QuickPDF.
br,
Ingo
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store