Thu Apr 09, 2020 3:14 am
Hi,
Thanks for your inquiry.
When executing document.getPageCount(), we need to read the font information used by the text from the system if the required fonts are not embedded into document, and then we calculate the height of the content through the font information and then compare it with the page height to do the paging, so as to get the page count. So fonts are essential.
As for your case, please make sure the required fonts are installed into your system, or you embed the required fonts into your document.
Sincerely,
Amy
E-iceblue support team