Document Server changelog
Sometimes you might want to add additional fonts to Document Server to enhance the work with the editors. That can be done quite easily.
Bare Bones Instructions
By default Document Server uses embedded free fonts (true type only in
.ttf format) from the operating system where Document Server is installed. If you whould like to use additional fonts you can do the following:
- Install the font by copying it to
/usr/share/fonts/ (to the computer with Document Server installed).
- Open the
- Run the documentserver-generate-allfonts.sh file.
- Clear the browser cache and reopen the page.
Document Server always has a certain set of fonts with it. When installed it will check the presence of the following font files in the system:
When a document is opened for the first time, Document Server will check which fonts are present in the document and uploads it from the computer with Document Server installation. In case the document contains fonts absent from the Document Server computer, it will upload the closest font substitute (the document layout and display might suffer from such substitution).
In case you want to limit the number of fonts uploaded from the system, you can do the following:
- delete fonts from the system and run the /usr/bin/documentserver-generate-allfonts.sh file, after that clear the browser cache and reopen the page (might ruin the original document layout and display);
- limit the number of fonts in documents used (using only most spread fonts: Times New Roman, Verdana, Tahoma, etc.);
- use compression (dynamic and static).