HtmlRenderer
HtmlRenderer copied to clipboard
A few questions
I've managed to build and run the project, and have a few questions:
- How can I turn off the wireframe lines?
- When I run this on Windows, what rendering technology is it using, GDI, DirectX, or OpenGL?
- I notice that you have your own Html and Css parsers. How do they compare to AngleSharp?
Thanks!
- turn on/off wireframe see https://github.com/LayoutFarm/HtmlRenderer/wiki/3.-Build-The-Project
- On Windows, currently we use GDI/GDI+ (System.Drawing). But soon ?, we will have a new version that based on Google's Angle Project (OpenGL ES2 Api via DirectX) This will make it cross-platform.
- My Html and Css parse are designed to work with this project.
We have another Html parser that works with this project -> HtmlKit(https://github.com/jstedfast/HtmlKit).
I 've not compare them with AngleShape.
Just FYI - OpenGL ES2 has no API to draw text.
Hi @corliss , That is a hard point!
I am developing drawing back-end for it! (use multi-channels signed distance field (msdf) font, see prepare/PixelFarm-dev)
original msdf, see https://github.com/Chlumsky/msdfgen
@corliss , for text rendering in pure C# still not complete, on progression.
but now we have OpenType Font Glyph rendering in pure C#. see more => https://github.com/LayoutFarm/Typography
I hope text rendering may complete soon.
GLES2 based-HtmlRenderer, early preview,
pic 1: render with OpenGLES2, Text is rendering with PixelFarm's MiniAgg+ the Typography.
pic 2: render with GDI+ (System.Drawing)