Persian typing and character in onlyoffice

hello everyone

I connect nextcloud to only office document server .
add Persian font to /usr/share/fonts/
run: /usr/bin/documentserver-generate-allfonts.sh

When I type in Persian, it shows the characters separated as image.