Docker building online office -- onlyoffice (III)

goodlook0123 2022-02-13 08:16:03 阅读数:673

docker building online office onlyoffice

To configure onlyoffice

 

Configure Fonts , Default onlyoffice Support for Chinese is not very good

Enter the container and the font copy To directory , And execute the command to compile it

# Copy files to docker Of /usr/share/fonts/truetype/custom Catalog , I am from /home Catalog copy In the past
docker cp /home/fonts/ Containers id:/usr/share/fonts/truetype/custom
# Into the container
docker exec -it Containers id /bin/bash
# Get into /usr/bin Catalog
cd /usr/bin
# compile
./documentserver-generate-allfonts.sh

Execute the following screenshot :

 

Restart the container

docker restart Containers ID

Open the document again to see the imitation song Song style Elegant black

 

 

 

Reference documents :

https://www.jianshu.com/p/8bba5d06eb78

https://blog.51cto.com/dengshuangfu/2154826

 

 

copyright:author[goodlook0123],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130816007805.html