Hello,
The setDefaultFont method sets the default font in the theme scope of a DOCX document. This is an internal setting that sets the default font to be used in a DOCX unless other font is applied to the content; this method is useful when creating a DOCX from scratch. Default styles, custom styles and internal styles overwrite this internal setting.
This method doesn't change the font used by contents if some other style is applied, only that specific internal theme setting. If you need to change styles in a DOCX template you need to use DOCXCustomizer, available in Premium licenses.
The setDocumentDefaultStyles method changes default styles of a DOCX document.
Which method to be used depends on the style type to be changed.
Regards.