There is a very nice component for Delphi that uses Pdfium. Made by Lasse Markus Rautiainen and Andreas Hausladen.I tried porting to Lazarus but something is off.Attached is full source code from 2 repos:https://github.com/ahausladen/PdfiumLibhttps://github.com/TextEditorPro/TTextEditor/License: MITYou'll need to put a DLL in x64 directory from:https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7242/pdfium-win-x64.tgzYou don't need to install anything.Lazarus port compiles and runs but renders in a weird way. I don't see any changes in code in how things are rendered between Delphi and Lazarus
Also came across Pdfium LCL at https://github.com/DomenicoMammola/PdfiumPascal