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

Support Splitted Rendering in Horizontal Layout #42

Closed
Tails opened this issue Feb 7, 2014 · 2 comments
Closed

Support Splitted Rendering in Horizontal Layout #42

Tails opened this issue Feb 7, 2014 · 2 comments
Assignees
Labels
area-rendering Everything related to the rendering type-improvement 🚀
Milestone

Comments

@Tails
Copy link

Tails commented Feb 7, 2014

horizontallayout

This is from the unedited demo.

I think it has something to do with memory allocation or a boundary error. It doesnt work when the Bar Count in the left pane is on -1. It works until around 150. higher than 150 (even though there are more bars) the canvas renders white. If you lower the number of stave types being rendered, the bar count can be raised again, suggesting something with memory.

@Danielku15
Copy link
Member

That is definitely caused by the browser limitations. According to the W3C specs the width is an unsigned long but the browser vendors limit the canvas size to about 6144-8192 pixels (1024_6/1024_8). 150 bars might overflow those limits. SVG doesn't have those size limits, try using the SVG engine if you need those sizes.

I already thought about splitting a single canvas to multiple smaller canvas instances for rendering too big notations. But I haven't done deeper planning at those features.

@Danielku15 Danielku15 self-assigned this Feb 7, 2014
@Danielku15 Danielku15 changed the title Horizontal layout is not working Support Splitted Rendering in Horizontal Layout Mar 22, 2015
@Danielku15
Copy link
Member

Dev-Notes:
The latest source supports line-wise rendering in the Page Layout. For the Horizontal Layout it will be a bit more tricky because we do not know the height until we rendered everything.

Simply layouting everything first and then do a splitted rendering would be possible. but it would be more awesome to have a layout+rendering like in the Page Layout.

@Danielku15 Danielku15 added this to the 1.0.0 milestone Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-rendering Everything related to the rendering type-improvement 🚀
Projects
None yet
Development

No branches or pull requests

2 participants