TL;DR: How do i add a custom font (NarkissNew-Light_MFW) to fontconfig through SSH?
I am trying to use the wkhtmltopdf utility to convert some HTML with Hebrew in it to PDF. I had some trouble displaying the Hebrew (it appeared as blocks) but after installing msttcore-fonts-2.0-3.n the Hebrew displayed correctly (on very specific fonts). I installed the package in /usr/share/fonts and the utility knows how to use at least two of the different fonts there for Hebrew (Arial and the default one). The problem is i don't know how to install this standalone font. I tried just placing the files in /usr/share/fonts and in the msttcore folder inside the fonts folder but it does not work. I tried placing it in another folder and use fc-cache to redirect to that folder but i received an error of
"fc-cache: symbol lookup error: fc-cache: undefined symbol: FcConfigGetSysRoot".
I'm not even sure what files i need since the font has 4 different files (ttf,svg,woff,eot). Is there maybe a similar package to the msttcore one i can install? or is this just some config parameters and correct command i'm missing?
CENTOS 6.9 kvm