You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
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.
The text was updated successfully, but these errors were encountered: