mirror of
https://github.com/YACReader/yacreader
synced 2026-02-24 07:52:59 -05:00
Update pdfium binaries for Windows builds
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
It fixes rendering problems with newer PDFs.
This commit is contained in:
17
dependencies/pdfium/win/public/fpdf_attachment.h
vendored
17
dependencies/pdfium/win/public/fpdf_attachment.h
vendored
@ -172,6 +172,23 @@ FPDFAttachment_GetFile(FPDF_ATTACHMENT attachment,
|
||||
unsigned long buflen,
|
||||
unsigned long* out_buflen);
|
||||
|
||||
// Experimental API.
|
||||
// Get the MIME type (Subtype) of the embedded file |attachment|. |buffer| is
|
||||
// only modified if |buflen| is longer than the length of the MIME type string.
|
||||
// If the Subtype is not found or if there is no file stream, an empty string
|
||||
// would be copied to |buffer| and the return value would be 2. On other errors,
|
||||
// nothing would be added to |buffer| and the return value would be 0.
|
||||
//
|
||||
// attachment - handle to an attachment.
|
||||
// buffer - buffer for holding the MIME type string encoded in UTF-16LE.
|
||||
// buflen - length of the buffer in bytes.
|
||||
//
|
||||
// Returns the length of the MIME type string in bytes.
|
||||
FPDF_EXPORT unsigned long FPDF_CALLCONV
|
||||
FPDFAttachment_GetSubtype(FPDF_ATTACHMENT attachment,
|
||||
FPDF_WCHAR* buffer,
|
||||
unsigned long buflen);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user