Field Font Problem

The PDF Creator .NET Library enables you to create secure PDF documents on the fly and to view, print and process existing PDF documents. If you have any questions about PDF Creator .Net, please post them here.
Post Reply
Int3rceptor
Posts: 1
Joined: Thu Jan 31 2008

Field Font Problem

Post by Int3rceptor »

Hi there,

Im new to this so please be gentle! I have scoured the forum and cannot find any issues that may help me resolve this problem so here goes:

Im using PDF Creater.NET v3

I have created a template PDF document using Acrobat 8 Professional via Microsoft Word.

I added various form fields to the document that need to be populated at runtime using PDF Creator and then saved to a new document.
The fields are set to Arial - 9pt in Acrobat 8.

When I populate the fields via code using the Attribute("Value").value method and save the document to a new file, the field fonts default to TimesNewRoman - 12pt event though the template document does not list this as an embedded font.

Even if I open the template and stream it to a new file without modifiying anything, TimesNewRoman becomes embedded and is the source font for my fields.

Is there a property I need to set or is this a known issue?
Any help would be most appreciated be it a solution or workaround!

Kind regards

Anthony
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

The default document font is Times New Roman 12. This is the font used for all objects containing text.

You can change the default font of the document by setting the DefaultFont() attribute of the document object.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply