I cannot load a font from an S3 Inputstream in JRE 8. I do not have issue if a system is installed with JRE 7, JDK 7, or even JDK 8.
val fontInputStream = s3
On CentOS headless JRE is missing the fontconfig dependency:
fontconfig
yum install fontconfig
Also one might need to install at least one font (dejavu, liberation, etc).
dejavu
liberation