Hello,
UPDATE: You can set set the font size in each method (such as the fontSize option in addText), set the default size in the template or use the setDocumentDefaultStyles method.
When importing HTML a default font size is applied. Custom font sizes can be applied using CSS styles.
Regards.