mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
fix pdfium error
This commit is contained in:
1 parent
1ce67bcb39
commit
b940c597dc
1 file changed
-4
@@ -332,12 +332,8 @@ class Pdfium
|
|||||||
|
|
||||||
Pdfium.FPDF_RenderPageBitmap(bitmap_ptr, page_ptr, 0, 0, render_width, render_height, 0, flags)
|
Pdfium.FPDF_RenderPageBitmap(bitmap_ptr, page_ptr, 0, 0, render_width, render_height, 0, flags)
|
||||||
|
|
||||||
Pdfium.check_last_error('Failed to render page to bitmap')
|
|
||||||
|
|
||||||
unless form_handle.null?
|
unless form_handle.null?
|
||||||
Pdfium.FPDF_FFLDraw(form_handle, bitmap_ptr, page_ptr, 0, 0, render_width, render_height, 0, flags)
|
Pdfium.FPDF_FFLDraw(form_handle, bitmap_ptr, page_ptr, 0, 0, render_width, render_height, 0, flags)
|
||||||
|
|
||||||
Pdfium.check_last_error('Call to FPDF_FFLDraw completed (check for rendering issues if any)')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
buffer_ptr = Pdfium.FPDFBitmap_GetBuffer(bitmap_ptr)
|
buffer_ptr = Pdfium.FPDFBitmap_GetBuffer(bitmap_ptr)
|
||||||
|
|||||||
Reference in new issue
Block a user