Open letztes opened 8 years ago
There are abcjs.renderabc parameters "print: true" and staffwidth used like this:
const tunes = ABCJS.renderAbc("canvas", document.getElementById("abc").value, { add_classes: true, staffwidth: 600, print: true });
This would require a new call of renderabc().
A better solution might be media query for print displaying:none everything but svg @media print { different css for print SVG } An approach like this would also solve issues with devices with smaller resolutions.
While the notes look fine on a wide enough screen, on smaller screens as well as on a A4 page print view the do not. The notes are cut off a 4/5 width.
Compare attached screenshots.