[GH-ISSUE #1] Encoding Problems #1

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

Originally created by @proin on GitHub (Apr 18, 2015).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/1

when I was editing some document, not-english characters (korean) are not visible and do not typing characters.
I think that invisible characters problem is caused by fonts..
but did you restricted typing in document editor?

Originally created by @proin on GitHub (Apr 18, 2015). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/1 when I was editing some document, not-english characters (korean) are not visible and do not typing characters. I think that invisible characters problem is caused by fonts.. but did you restricted typing in document editor?
kerem closed this issue 2026-02-26 09:34:54 +03:00
Author
Owner

@proin commented on GitHub (Apr 19, 2015):

I think it is very useful if you should make some api about adding fonts to document editor for support multi languages.
I try to install font (nanum-gothic) and change javascript file at /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common,
I can visible korean characters.

Is any other solution to add font at document editor?

<!-- gh-comment-id:94243758 --> @proin commented on GitHub (Apr 19, 2015): I think it is very useful if you should make some api about adding fonts to document editor for support multi languages. I try to install font (nanum-gothic) and change javascript file at /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common, I can visible korean characters. Is any other solution to add font at document editor?
Author
Owner

@AnaMih commented on GitHub (Apr 20, 2015):

There are probably no necessary fonts on the server.
Please follow the instructions in order to resolve the issue:
add the fonts to your os and reinstall onlyoffice-documentserver package.The necessary files will be changed according to a new font list.

<!-- gh-comment-id:94472470 --> @AnaMih commented on GitHub (Apr 20, 2015): There are probably no necessary fonts on the server. Please follow the instructions in order to resolve the issue: add the fonts to your os and reinstall onlyoffice-documentserver package.The necessary files will be changed according to a new font list.
Author
Owner

@proin commented on GitHub (Apr 21, 2015):

if i change parent font, is there changed the docker container's font too?
or document server has other isntall packages not docker?

<!-- gh-comment-id:94641765 --> @proin commented on GitHub (Apr 21, 2015): if i change parent font, is there changed the docker container's font too? or document server has other isntall packages not docker?
Author
Owner

@AnaMih commented on GitHub (Apr 24, 2015):

To mount folder with fonts follow the instructions: :

  1. sudo docker run -i -t -d -p 80:80 -v /home/font:/usr/share/fonts/test_font onlyoffice/documentserver
    where
    /home/font - the folder with fonts on host os
    /usr/share/fonts/test_font - the folder, where the fonts should be put
  2. docker attach your_container_id
  3. /var/www/onlyoffice/documentserver/Tools/AllFontsGen" "/usr/share/fonts
    /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common/AllFonts.js
    /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common/Images
    /var/www/onlyoffice/documentserver/FileConverterService/Bin/font_selection.bin
    (rebuilding fonts)
  4. supervisorctl restart FileconverteService
    (service restart)
    Pay attention, that *.ttf and *.ttc fonts should be used.
<!-- gh-comment-id:95885575 --> @AnaMih commented on GitHub (Apr 24, 2015): To mount folder with fonts follow the instructions: : 1. sudo docker run -i -t -d -p 80:80 -v /home/font:/usr/share/fonts/test_font onlyoffice/documentserver where /home/font - the folder with fonts on host os /usr/share/fonts/test_font - the folder, where the fonts should be put 2. docker attach your_container_id 3. /var/www/onlyoffice/documentserver/Tools/AllFontsGen" "/usr/share/fonts /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common/AllFonts.js /var/www/onlyoffice/documentserver/DocService/OfficeWeb/sdk/Common/Images /var/www/onlyoffice/documentserver/FileConverterService/Bin/font_selection.bin (rebuilding fonts) 4. supervisorctl restart FileconverteService (service restart) Pay attention, that *.ttf and *.ttc fonts should be used.
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#1
No description provided.