mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.23k stars 9.96k forks source link

Various musical symbols get cut off when hardware acceleration is off #3876

Closed mikemorr closed 3 years ago

mikemorr commented 10 years ago

When hardware acceleration is off, sheet music dynamic markings (e.g. p and f for piano and forte) have part of their descenders cut off. Example here: http://mikemorr.com/dynamics.pdf

Screenshot from http://mozilla.github.io/pdf.js/web/viewer.html showing the problem: dynamics-incorrect Screenshot from SumatraPDF showing correct appearance: dynamics-correct See #3349 for my configuration (HWA is off).

mikemorr commented 9 years ago

Another example, showing that the dots and wings on some repeat barlines are also cut off: http://mikemorr.com/Repeats.pdf Screenshots from SumatraPDF and http://mozilla.github.io/pdf.js/web/viewer.html (with cut-off parts outlined in red by me): sumatrarepeats pdfjsrepeats

Snuffleupagus commented 3 years ago

WFM, when testing[1] in Firefox Nightly 91.0a1 (2021-06-27) (64-bit) running on Windows 7.


[1] By toggling the "Use hardware acceleration when available" checkbox to off and restarting the browser first.