We don't have support to add the font family and font
size in UI. However, you can change the font family to Arial and font size to
15 programmatically. We have shared the sample for this.
Angular sample: https://stackblitz.com/edit/angular-zvuamx-w2k37d?file=src%2Fapp.component.html,src%2Fapp.component.ts,src%2Findex.html,src%2Fmain.ts
Web service sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ArialFontFamily-479937001.zip
Steps to change the font family and the font size:
- Run the web service sample
- And then run the Angular sample
- Add a free text.
- Click the "Change Font Family and Font size"
button. Now the font family is changed to Arial and the font
size is set to 15.
Note : The changed font
family will be visible on other PDF readers but not in the Syncfusion PDF
Viewer, on reloading. We will validate and provide the details regarding the
feasibility in two business days.