Open despens opened 6 years ago
I found out that using the Document Server in with an icognito window (no chache) will make the online editor behave correctly and show the right fonts. Clearing my browser cache didn't help though. Is there a specific URL on the Document Server that I should manually reload?
Maybe the cache time for the fonts could be reduced in future versions?
@despens Could you try to clean cache again? It's a known problem if you add new fonts and didn't cleanup browser cache - everything will mix up. It's a very old problem and we still have no solution for this. But cleaning browser cache SHOULD work. Try to clean not only cache but other files also.
I did clean the cache thoroughly and the fonts do appear now (except Times New Roman!)
Maybe you could add a random string to the the fonts' URL when requested by the front end? That string could change each time the fonts are rebuilt with documentserver-generate-allfonts.sh
.
That is how most CDNs do it.
@despens yeah, of course we fought about random string, but we encountered some other troubles, I don't recall exactly that it was, but something with high network load
I've created issue 49811 in our private issue tracker to discuss this with our team
hi @ShockwaveNN ,about add new font cache problem, has any update?
@Edison6351 sorry, currently we have no solution, so cleaning browser cache is the best workaround of this problem
@ShockwaveNN OK following this problem, thank you
It.s fixed aand will be released in the next release.
Do you want to request a feature or report a bug?
Bug report
What is the current behavior?
After following the instructions on how to install fonts into document server, all fonts except Arial seem mixed up in the Online Editor.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Following instructions:
/usr/share/fonts
directory on Document Server (one folder per font file set, as found in the provided Deja Vu font)/usr/bin/documentserver-generate-allfonts.sh
What is the expected behavior? New fonts should show up in font selector in Online Document Editor
Did this work in previous versions of DocumentServer?
Didn't test on previous versions
DocumentServer version: 5.1.4-22
Operating System: Ubuntu 18.04, both client and server
Browser version: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Left: Desktop Editor; Right: Online Editor