Hi Khaled, Jiang, > I cannot find the location where the crash occurs. If I remove pdf_close_fonts (); in pdf_close_document (void) in pdfdoc.c, the crash disappears, of course the resulting pdf is bad. Thus I believe pdf_close_fonts() in pdffont.c must be the reason of the crash on Windows. Best, Akira