HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › can not read ‘arial’ from java:fonts/arial.ttf: problem read › Re: Re: can not read ‘arial’ from java:fonts/arial.ttf: problem read
April 14, 2015 at 13:42
#29701
The error is caused by IOException thrown in
java.awt.Font.createFont( Font.TRUETYPE_FONT, fontBytes )
call and usually caused by an attempt to load a custom font, which is not fully compatible with Java’s font subsystem. Usually the standard arial.ttf (for example from our sample fonts.jar) causes no problem.
Can you reproduce the problem when run PD4ML in command line mode?