Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few questions #5

Open
corliss opened this issue Sep 13, 2016 · 6 comments
Open

A few questions #5

corliss opened this issue Sep 13, 2016 · 6 comments

Comments

@corliss
Copy link

corliss commented Sep 13, 2016

I've managed to build and run the project, and have a few questions:

  1. How can I turn off the wireframe lines?
  2. When I run this on Windows, what rendering technology is it using, GDI, DirectX, or OpenGL?
  3. I notice that you have your own Html and Css parsers. How do they compare to AngleSharp?

Thanks!

@prepare
Copy link
Member

prepare commented Sep 13, 2016

  1. turn on/off wireframe
    see https://github.com/LayoutFarm/HtmlRenderer/wiki/3.-Build-The-Project
  2. 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.
  3. 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.

@prepare prepare closed this as completed Sep 13, 2016
@corliss
Copy link
Author

corliss commented Sep 14, 2016

Just FYI - OpenGL ES2 has no API to draw text.

@prepare
Copy link
Member

prepare commented Sep 14, 2016

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)

@prepare
Copy link
Member

prepare commented Sep 14, 2016

original msdf, see https://github.com/Chlumsky/msdfgen

@prepare prepare reopened this Sep 17, 2016
@prepare
Copy link
Member

prepare commented Oct 11, 2016

@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.

@prepare
Copy link
Member

prepare commented Mar 16, 2017

GLES2 based-HtmlRenderer, early preview,


gles2_html2

pic 1: render with OpenGLES2, Text is rendering with PixelFarm's MiniAgg+ the Typography.

html_gdi
pic 2: render with GDI+ (System.Drawing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants