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!
AddTrueTypeSubsettedFont |
Post Reply |
Author | |
PeterAnderko
Beginner Joined: 03 Dec 20 Location: Slovakia Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 08 Jan 21 at 12:15PM |
Hi, how do i set subsetted font for Arial Bold? here is example code: TextFont:='AÁBCÈDÏEÉFGHIÍJKL¼ÅMNÒOÓÔPQRSŠTUÚVWXYÝZŽaábcèddeéfghiíjklå¾mnòoóôpqrsštuúvwxyýyž1234567890-.,;()"*/\#$&@ '; fid:=PDFDok.AddTrueTypeSubsettedFont('Arial[bold]',TextFont,0); PDFDok.SelectFont(fid); ffid:=PDFDok.AddFormFont(fid); for p:=PDFDok.FormFieldCount downto 1 do if PDFDok.GetFormFieldType(p)=1 then PDFDok.SetFormFieldFont(p,ffid); For all formfields is font only Arial no Arial Bold. is the use of 'Arial [Bold]' incorrect for this function? Please help, how to do it. Peter |
|
tfrost
Senior Member Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
Post Options
Thanks(0)
|
I have not checked this in detail: but I think the square brackets are incorrect. I have a PDF created with QPDF and when I open it in Acrobat and press control-D to see what it is on the Fonts tab, it shows a mix of formats of font names. But in the program I think I just named them for example 'Helvetica Bold' and 'Helvetica Condensed'.
|
|
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