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

Trying to build on Ubuntu 19 #62

Open
profK opened this issue Mar 23, 2020 · 16 comments
Open

Trying to build on Ubuntu 19 #62

profK opened this issue Mar 23, 2020 · 16 comments

Comments

@profK
Copy link

profK commented Mar 23, 2020

Yoir build instructions are pretty minimal. Using Htmlrenderer.build and your check out git instructions, all three parts (renderer/pixel farm/ typography) all have reference errors.

Im using Rider on Ubuntu 19 if that's any help.

Complete build instructions would be really nice. I really want to port HtmlRender to Unity3D canvas but just building period is the first step...

@prepare
Copy link
Member

prepare commented Mar 25, 2020

@profK ,

Could you post some error messages?

@prepare
Copy link
Member

prepare commented Mar 25, 2020

HtmlRenderer's current version is not cross-platform yet.

I don't have experiences on building this on linux.

@profK
Copy link
Author

profK commented Mar 25, 2020 via email

@profK
Copy link
Author

profK commented Mar 25, 2020 via email

@Happypig375
Copy link

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

@prepare
Copy link
Member

prepare commented Mar 26, 2020

@profK

I have a plan to separate the Html layout part and Html rendering part.

Html elements go to layout module and then go to another rendering module.

but to layout correctly, the layout engine need to know the size of text.

and the size of text depends on rendering module (to measure string)


I was planning on having to do the low level drawing stuff myself

I want to know your plan about low level drawing drawing part.
esp. text rendering part.

(I'm interesting in Unity rendering engine
but I don't have any experience about it)

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

@prepare
Copy link
Member

prepare commented Mar 26, 2020

you will use texture-based text-rendering right ?

@prepare
Copy link
Member

prepare commented Mar 26, 2020

If you use texture-based text-rendering,
what is your technique to generate glyph-atlas ?

@prepare
Copy link
Member

prepare commented Mar 26, 2020

I ask it because I already has some texture-based text rendering ( see PaintLab/PixelFarm#55 and https://github.com/LayoutFarm/Typography) that is designed to be text-rendering back-end of this project.

if your technique is similar, so I can figure out how to interface text-measuring
in a proper way

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

@prepare
Copy link
Member

prepare commented Mar 26, 2020

Thank you :)

@profK
Copy link
Author

profK commented Mar 26, 2020 via email

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

3 participants