Hi Samir,Swapnil Pandhare
Based on the R&D done and try outs, The fonts will vary as per PDF when we set one of the embedded fonts to the PDF fields while writing PDF.
Below are my observation :
- On one PDF, the font will come correctly as expected, but on other , symbols may appear. Please refer my first comment for screenshots.
- I am not able to set the size as per the doc, as it gives me a default font size which is much smaller than the actual font in the document. If I set some calculated font, this may vary as per PDF.
For SMB Offer Letter PDF, we were able to set font and fontsize while designing the PDF.
ABCpdf service writes into the PDF as per the default font set to the field. So with change in Offer letter PDF of SMB we were able to achieve same font and fontsize throughout. For this no change is done on ABCpdf service.
I checked the same for CBAT offer letter and the fonts that is getting written on the PDF is as per the one that is set for the PDF Fields when the PDF was designed.
Also, I observed that on editable PDF view, default font, i.e Times has been set to all the fields. So while viewing the PDF through editable PDF component, all PDF field values will be seen in Times font irrespective of the font in PDF.
Let me know further action points and your views on this.
Task Details (03/01/2019)
R&D on getting fonts of the PDF and setting them. First embedded font of the PDF is set for all the fields.
For CBATS offer letter - The embeded font shows symbols.Tried with reference font which results in symbol as well.
Need more time to analyze these results and set proper fonts so that it is working properly for all PDF's.
CC: Swapnil Pandhare,Samir