hi, I am running doc server with docker:
docker run -i -t -d -p 80:80 onlyoffice/documentserver
then a added two fonts to /usr/share/fonts/truetype/custom by
docker cp /home/xwiki/onlyoffice/fonts/ 1b16:/usr/share/fonts/truetype/custom/
root@1b16a5c7890f:/usr/share/fonts/truetype/custom# ls -l
total 8236
-rw-rw-r-- 1 root root 4045592 Dec 16 02:20 方正小标宋简体.ttf
-rw-rw-r-- 1 root root 4384208 Dec 16 02:20 长仿宋体.ttf
/usr/bin/documentserver-generate-allfonts.sh
and I can confirm fonts is listed in /var/www/onlyoffice/documentserver/sdkjs/common/AllFonts.js
window["__fonts_infos"] = [
["Abyssinica SIL",54,0,-1,-1,-1,-1,-1,-1],
["Andale Mono",24,0,-1,-1,-1,-1,-1,-1],
["Ani",89,0,-1,-1,-1,-1,-1,-1],
["AR PL UKai CN",56,0,-1,-1,-1,-1,-1,-1],
["AR PL UKai HK",56,1,-1,-1,-1,-1,-1,-1],
["AR PL UKai TW",56,2,-1,-1,-1,-1,-1,-1],
["AR PL UKai TW MBE",56,3,-1,-1,-1,-1,-1,-1],
["Arial",25,0,29,0,27,0,28,0],
["Arial Black",26,0,-1,-1,-1,-1,-1,-1],
["Asana",57,0,-1,-1,-1,-1,-1,-1],
["Asana Math",57,1,-1,-1,-1,-1,-1,-1],
["Carlito",61,0,60,0,58,0,59,0],
["ChangFangSong",1,0,-1,-1,-1,-1,-1,-1],
["Comic Sans MS",30,0,-1,-1,31,0,-1,-1],
["Courier New",32,0,35,0,33,0,34,0],
["DejaVu Math TeX Gyre",62,0,-1,-1,-1,-1,-1,-1],
["DejaVu Sans",67,0,66,0,2,0,64,0],
["DejaVu Sans Condensed",71,0,70,0,68,0,69,0],
["DejaVu Sans Light",65,0,-1,-1,-1,-1,-1,-1],
["DejaVu Sans Mono",75,0,74,0,4,0,73,0],
["DejaVu Serif",79,0,78,0,6,0,77,0],
["DejaVu Serif Condensed",83,0,82,0,80,0,81,0],
["Droid Sans Fallback",84,0,-1,-1,-1,-1,-1,-1],
["FreeMono",95,0,98,0,96,0,97,0],
["FreeSans",99,0,102,0,100,0,101,0],
["FreeSerif",103,0,106,0,104,0,105,0],
["FZXiaoBiaoSong-B05S",0,0,-1,-1,-1,-1,-1,-1],
FZXiaoBiaoSong
and ChangFangSong
is those two added fonts, then I refresh page, but can’t find them in the font drop-down list.
any thing I am missing ?