From d3571a4ff8f56e91e9e7d1c62c356faa8fbd2e21 Mon Sep 17 00:00:00 2001 From: djgosnell Date: Tue, 30 Apr 2024 17:52:28 -0400 Subject: [PATCH] PDFium version v126.0.6447.0 --- download_package.sh | 2 +- src/Directory.Build.props | 2 +- src/PDFiumCore/PDFiumCore.cs | 32 ++++++++++++++++---------------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/download_package.sh b/download_package.sh index 2440dd3..ddab8df 100755 --- a/download_package.sh +++ b/download_package.sh @@ -1,2 +1,2 @@ dotnet build src/PDFiumCoreBindingsGenerator/PDFiumCoreBindingsGenerator.csproj -c Release -dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 148145837 false +dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 153551063 false diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 259406b..db969a3 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -1,6 +1,6 @@ - 125.0.6378.0 + 126.0.6447.0 diff --git a/src/PDFiumCore/PDFiumCore.cs b/src/PDFiumCore/PDFiumCore.cs index 7cb42ed..56af243 100644 --- a/src/PDFiumCore/PDFiumCore.cs +++ b/src/PDFiumCore/PDFiumCore.cs @@ -1,7 +1,7 @@ -// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6378 -// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/148145837 -// PDFium version v125.0.6378.0 chromium/6378 [master] -// Built on: Wed, 27 Mar 2024 15:55:45 GMT +// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6447 +// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/153551063 +// PDFium version v126.0.6447.0 chromium/6447 [master] +// Built on: Tue, 30 Apr 2024 21:51:43 GMT // ---------------------------------------------------------------------------- // // This is autogenerated code by CppSharp. @@ -14212,12 +14212,12 @@ public static int FPDFTextGetCharIndexAtPos(global::PDFiumCore.FpdfTextpageT tex /// Parameters: /// text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage function. /// start_index - Index for the start characters. - /// count - Number of characters to be extracted. - /// result - A buffer (allocated by application) receiving the extracted unicodes. The size of the buffer must be able to hold the number of characters plus a terminator. + /// count - Number of UCS-2 values to be extracted. + /// result - A buffer (allocated by application) receiving the extracted UCS-2 values. The buffer must be able to hold `count` UCS-2 values plus a terminator. /// Return Value: /// Number of characters written into the result buffer, including the /// trailing terminator. - /// Comments: This function ignores characters without unicode information. It returns all characters on the page, even those that are not visible when the page has a cropbox. To filter out the characters outside of the cropbox, use FPDF_GetPageBoundingBox() and FPDFText_GetCharBox(). + /// Comments: This function ignores characters without UCS-2 representations. It considers all characters on the page, even those that are not visible when the page has a cropbox. To filter out the characters outside of the cropbox, use FPDF_GetPageBoundingBox() and FPDFText_GetCharBox(). /// public static int FPDFTextGetText(global::PDFiumCore.FpdfTextpageT text_page, int start_index, int count, ref ushort result) { @@ -14300,19 +14300,19 @@ public static int FPDFTextGetRect(global::PDFiumCore.FpdfTextpageT text_page, in /// top - Top boundary. /// right - Right boundary. /// bottom - Bottom boundary. - /// buffer - A unicode buffer. - /// buflen - Number of characters (not bytes) for the buffer, excluding an additional terminator. + /// buffer - Caller-allocated buffer to receive UTF-16 values. + /// buflen - Number of UTF-16 values (not bytes) that `buffer` is capable of holding. /// Return Value: - /// If buffer is NULL or buflen is zero, return number of characters - /// (not bytes) of text present within the rectangle, excluding a - /// terminating NUL. Generally you should pass a buffer at least one + /// If buffer is NULL or buflen is zero, return number of UTF-16 + /// values (not bytes) of text present within the rectangle, excluding + /// a terminating NUL. Generally you should pass a buffer at least one /// larger than this if you want a terminating NUL, which will be - /// provided if space is available. Otherwise, return number of - /// characters copied into the buffer, including the terminating NUL - /// when space for it is available. + /// provided if space is available. Otherwise, return number of UTF-16 + /// values copied into the buffer, including the terminating NUL when + /// space for it is available. /// Comment: /// If the buffer is too small, as much text as will fit is copied into - /// it. + /// it. May return a split surrogate in that case. /// public static int FPDFTextGetBoundedText(global::PDFiumCore.FpdfTextpageT text_page, double left, double top, double right, double bottom, ref ushort buffer, int buflen) {