ringw / vexflow

A JavaScript library for rendering music notation and guitar tablature.
http://www.vexflow.com
71 stars 23 forks source link

Very low notes being cut off #18

Open dorienh opened 7 years ago

dorienh commented 7 years ago

I noticed that very low notes are being cut off. Is there a simple way to remedy this? Some canvas height that I adjust somewhere or so?

I am using the vexflow-musicxml project, which is based on this vexflow fork.

Example of the problem: second bar, 4th track.

Thanks for any pointers!

ringw commented 7 years ago

The link to the example doesn't work for me, but the bounding box for height is calculated in Vex.Flow.DocumentFormatter.prototype.getMinMeasureWidth--it's probably buggy. (Or the bounding box has the correct space above and below, but we center the staff vertically, so if there are only ledger lines below and not above, they could be cut off).