PDFiumCore
PDFiumCore copied to clipboard
A Crash Error When Init
The structure in PDFiumCore FPDF_LIBRARY_CONFIG_ has a internal struature __Internal, the field m_pUserFontPaths is not set to Zero, and also not a Property to exposure to the user.
The non-zero field is passed to PDFium and cause a crush. The Crash Position is:
auto** user_paths = CFX_GEModule::Get()->GetUserFontPaths(); if (user_paths) { auto font_info = std::make_unique<CFX_Win32FallbackFontInfo>(); for (; *user_paths; user_paths++) ///////////// Crash /////////////// font_info->AddPath(*user_paths); return font_info; }
If Possible, I hope can fix this error, sincerely thanks. 😀