How to make open Jdk 8 Zulu to use dejavu fonts?

743 Views Asked by At

I have dejavu fonts installed on x/y/z path and I am using open Jdk 8 (Zulu). While using application that runs on Apache I am getting fonts not found error. For your information, webpage application contain image as well.

1

There are 1 best solutions below

0
On BEST ANSWER

add the path to your fonts to /etc/fonts/fonts.conf:

<fontconfig>
   <dir>x/y/z</dir>

Also, you may need to delete $HOME/.java/fonts/*