We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.PDF FormFieldFacade - how to set Font / CustomFOrn

Hi together,

I want to set text fields to the same font type like the other text. Using FormFieldFacade allows to set FontSize and Font. But the font attribute is only an enum with 14 types of fonts. An CustomFont does not seem to change anything.
How can I set the font type to Calibri?

Please show me the way to go.

Thanks.
CHristian

@Chris2Stein

Could you please share your sample PDF document with us for our reference along with the code snippet that you have tried so far? We will test the scenario in our environment and address it accordingly.

Hi Asad,

I made an update to the newest release and I recognized that it is working fine.
It is perfect in Acrobat, only firefox pdf rendering engine is bad. But that is not your problem.

Thy
Christian

@Chris2Stein

It is good to know that you are able to achieve your requirements. Please keep using our API and feel free to create a new topic in case you face any issues.