This seems making a regression in Java. we will revisit this issue later. Fixes fontconfig/fontconfig#277