Comments (4)
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?
from docker-documentserver.
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.
from docker-documentserver.
if i change parent font, is there changed the docker container's font too?
or document server has other isntall packages not docker?
from docker-documentserver.
To mount folder with fonts follow the instructions: :
- 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 - docker attach your_container_id
- /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) - supervisorctl restart FileconverteService
(service restart)
Pay attention, that *.ttf and *.ttc fonts should be used.
from docker-documentserver.
Related Issues (20)
- Hide spaces between pages
- Feature request: Allow setting of UID and GID HOT 2
- SEQUENCE function is not working HOT 4
- watermark could not be removed HOT 2
- [Feature Request]: Do some real PDF edition
- Add CSP, HSTS and X-Content-Type-Options HOT 2
- Cannot GET /Products/Files/ HOT 2
- Comments: Not possible to mention users from different Nextcloud groups HOT 4
- failed to initialize Lua VM
- Y HOT 1
- OnlyOffice Documents cannot be opened if it exceeds 30MB, and can be opened normally if it is less than 30MB HOT 4
- HTTPS Site not starting in Docker Container onlyoffice-documentserver HOT 3
- 【feature request】dockerfile supports image building based on rpm HOT 1
- Failed to modify the document name. HOT 5
- The installation with docker-compose was unsuccessful. The last line always shows: Installing plugins, please wait..., and CPU usage is always 100% HOT 2
- Logs aren't output to stdout after log rotation HOT 3
- Conversion API add watermark HOT 2
- Support nonroot working HOT 1
- Download success,but Can't edit online HOT 1
- Can't add fonts correctly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-documentserver.