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!
![]() |
AddSubsettedFont and SetTableCellContent |
Post Reply
|
| Author | |
Slawek
Beginner
Joined: 05 Aug 09 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: AddSubsettedFont and SetTableCellContentPosted: 05 Aug 09 at 1:31PM |
|
I have problem with polish characters. When I do:
S := 'szła poszła'; SelectFont(AddSubsettedFont('Tahoma', 16, S)); SetMeasurementUnits(2); DrawText (0.2, 1, GetSubsetString (S)); it's ok, but when I insert text to cell I don't see good characters aId := CreateTable(5, 5 ); SetMeasurementUnits(2); SetTableRowHeight(aId, 1, 5, 0.5); SetTableCellBorderWidth(aId, 1, 1, 5, 5, 0, 0.01); SetTableColumnWidth(aId, 1, 5, 1); SelectFont(AddSubsettedFont('Tahoma', 16, S)); SetTableCellContent(aId, 1, 1, GetSubsetString (S)); DrawTableRows(aId, 0.2, PageHeight - 0.2, PageHeight - 0.4, 1, 0); AddSubsettedFont works with SetTableCellContent? |
|
![]() |
|
Slawek
Beginner
Joined: 05 Aug 09 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 Aug 09 at 7:08AM |
|
afontid := AddTrueTypeFont('Verdana {1250}', 1);
SelectFont(afontid); //for texts SetHTMLNormalFont('Default', afontid); //for table |
|
![]() |
|
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