Fix Bug #38 : pdf file export error #38