ajrcarey / pdfium-render

A high-level idiomatic Rust wrapper around Pdfium, the C++ PDF library used by the Google Chromium project.
https://crates.io/crates/pdfium-render
Other
364 stars 59 forks source link

Missing FPDF_DeviceToPage and FPDF_PageToDevice impl for StaticPdfiumBindings #112

Closed linxGnu closed 1 year ago

linxGnu commented 1 year ago

Hi, could you please check v0.8.12 in which functions in trait PdfiumLibraryBindings are missing

31  |   impl PdfiumLibraryBindings for StaticPdfiumBindings {
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `FPDF_DeviceToPage`, `FPDF_PageToDevice` in implementation
ajrcarey commented 1 year ago

Hi @linxGnu , thank you for reporting the issue. I have pushed a commit that adds the missing bindings for static linking. You can take pdfium-render as a git dependency in your Cargo.toml to access the bindings prior to the release of 0.8.13.

Follow-on from #108 .

linxGnu commented 1 year ago

Thank you so much. It's great help.

Please feel free to close this issue :)

ajrcarey commented 1 year ago

No problem. I'll leave the issue open until 0.8.13 is released.