I just uploaded some changes to CEF4Delphi. This is what's new :
- Added high DPI support in OSR demo
- Added cef.inc files in all demos
- Fixed some function declarations in the render handler.
WARNING
The SimpleOSRBrowser has a simple and basic OnPaint function that copies the buffer passed from CEF into the PaintBox canvas.
CEF and this demo use a device_scale_factor to calculate logical and real screen sizes. If there's a rounding error CEF and this demo will have slightly different sizes and the OnPaint function will exit, leaving the screen black or not refreshed.
If you need to support high DPI, you'll have to use a better function to copy the buffer.