How to modify the default font of docs

Hello
I’m using document server for centOS
Although I have installed some new fonts, every time I open dosc, the Arial font is still used by default.
I want to use a custom font every time I open dosc, as well as the default H1 ~H…
How to achieve this?
001

The font I want to replace

Hello @ebfming,
Empty file templates for every available language are located in the directory
/nextcloud/apps/onlyoffice/assets/
You can open a required template, set up the required formatting and save it.

hello
Do you mean to do this process once?

1、First configure the font I want

02

2、Save to the directory corresponding to the plug-in

3、but open a new document,that 's not my config font
03

thank you very much your help :hugs:
I’m successfully