Im having trouble installing fonts and having them work correctly. Here is what Im doing:
But the fonts are not displaying correctly on the websites on this server. Any idea what I may be doing wrong?
I am using a phantomjs script that uses the font and if I run the phantomjs on shell it works fine and displays the fonts correctly, but via a browser it fails. So is there a permissions problem?
I also tested this on a CentOS 7.x server and it worked fine, so Im thinking cloudlinux deals with user permissions differently?
Code:
# wget [URL]https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip[/URL] # sudo mkdir -p /usr/share/fonts/opentype/noto # sudo cp *otf *otc *ttc /usr/share/fonts/opentype/noto # sudo fc-cache -f -v # optional # chmod a+r /usr/share/fonts/opentype/*
I am using a phantomjs script that uses the font and if I run the phantomjs on shell it works fine and displays the fonts correctly, but via a browser it fails. So is there a permissions problem?
I also tested this on a CentOS 7.x server and it worked fine, so Im thinking cloudlinux deals with user permissions differently?
Comment