[GH-ISSUE #86] after documentserver-generate-allfonts.sh , additional fonts still not shown in list #48

Closed
opened 2026-02-26 09:35:33 +03:00 by kerem · 4 comments
Owner

Originally created by @changchichung on GitHub (Mar 2, 2018).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/86

I map local fonts folder into docker /usr/share/fonts
and running following commands
mkfontscale
mkfontdir
fc-cache -fv

into docker

ls /usr/share/fonts/truetype/
abyssinica
arphic
Asana-Math
crosextra
custom
dejavu
droid
fonts.dir
fonts-japanese-gothic.ttf
fonts.scale
freefont
gentium
gentium-basic
kacst
kacst-one
lao
lato
liberation
msttcorefonts
nanum
openoffice
padauk
sinhala
takao-gothic
tibetan-machine
tlwg
ttf-indic-fonts-core
ttf-khmeros-core
ttf-punjabi-fonts
ubuntu-font-family

generate fonts

Generating AllFonts.js, please wait...Done
onlyoffice-documentserver:docservice: stopped
onlyoffice-documentserver:docservice: started
onlyoffice-documentserver:converter: stopped
onlyoffice-documentserver:converter: started
root@89e75e2dbe5e:/# 

but the fonts still not shown in list
imgur-2018_03_02-12 30 37
imgur-2018_03_02-12 30 27
imgur-2018_03_02-12 30 11

any suggestions ? or what log should be provided ?

Originally created by @changchichung on GitHub (Mar 2, 2018). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/86 I map local fonts folder into docker /usr/share/fonts and running following commands mkfontscale mkfontdir fc-cache -fv into docker ``` ls /usr/share/fonts/truetype/ abyssinica arphic Asana-Math crosextra custom dejavu droid fonts.dir fonts-japanese-gothic.ttf fonts.scale freefont gentium gentium-basic kacst kacst-one lao lato liberation msttcorefonts nanum openoffice padauk sinhala takao-gothic tibetan-machine tlwg ttf-indic-fonts-core ttf-khmeros-core ttf-punjabi-fonts ubuntu-font-family ``` generate fonts ```root@89e75e2dbe5e:/# documentserver-generate-allfonts.sh Generating AllFonts.js, please wait...Done onlyoffice-documentserver:docservice: stopped onlyoffice-documentserver:docservice: started onlyoffice-documentserver:converter: stopped onlyoffice-documentserver:converter: started root@89e75e2dbe5e:/# ``` but the fonts still not shown in list ![imgur-2018_03_02-12 30 37](https://user-images.githubusercontent.com/20943335/36883578-4bc7d4e0-1e16-11e8-8b66-c981f31918e7.png) ![imgur-2018_03_02-12 30 27](https://user-images.githubusercontent.com/20943335/36883579-4bf4fd1c-1e16-11e8-811e-22686e4916f4.png) ![imgur-2018_03_02-12 30 11](https://user-images.githubusercontent.com/20943335/36883580-4c1fbd04-1e16-11e8-9f41-c1120f499faa.png) any suggestions ? or what log should be provided ?
kerem closed this issue 2026-02-26 09:35:33 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Mar 2, 2018):

Did you cleared browser cache?

<!-- gh-comment-id:369852422 --> @ShockwaveNN commented on GitHub (Mar 2, 2018): Did you cleared browser cache?
Author
Owner

@changchichung commented on GitHub (Mar 2, 2018):

yes , I already clear the firefox cache. I will try to uninstall and reinstall a new version later.

<!-- gh-comment-id:369866391 --> @changchichung commented on GitHub (Mar 2, 2018): yes , I already clear the firefox cache. I will try to uninstall and reinstall a new version later.
Author
Owner

@ShockwaveNN commented on GitHub (Mar 2, 2018):

Also please check /var/log/onlyoffice/documentserver logs for error, there maybe permission problems with reading fonts

<!-- gh-comment-id:369867525 --> @ShockwaveNN commented on GitHub (Mar 2, 2018): Also please check `/var/log/onlyoffice/documentserver` logs for error, there maybe permission problems with reading fonts
Author
Owner

@ShockwaveNN commented on GitHub (Apr 6, 2018):

No activity for a month, closing it

<!-- gh-comment-id:379212033 --> @ShockwaveNN commented on GitHub (Apr 6, 2018): No activity for a month, closing it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#48
No description provided.