Open letian-tang opened 1 month ago
Considering that we simply called the API provided by WinRT and the error seems to occur within WinRT itself, we may be powerless in this situation.
Any workarounds that can address this issue would be welcomed; please feel free to provide them.
Furthermore, if there is any public method to contact the relevant Windows team, please let me know.
BTW, you may use Pdfium to print the PDF files.
https://docs.rs/winprint/latest/winprint/printer/struct.PdfiumPrinter.html
BTW, you may use Pdfium to print the PDF files.
https://docs.rs/winprint/latest/winprint/printer/struct.PdfiumPrinter.html
👌
The error occurred in
pdf_renderer .RenderPageToDeviceContext(&pdf_page, d2d_context, Some(&pdf_render_options)) .map_err(WinPdfPrinterError::RenderError)?; Error: (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
test failed song_ti.pdf test passed fang_song.pdf