move font path into pdf generator