mozilla / pdf.js

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

Sum and integral symbol cut off in half on Windows #2704

Closed czaber closed 10 years ago

czaber commented 11 years ago

I've tried http://tobi.oetiker.ch/lshort/lshort.pdf (mirror: http://dl.dropbox.com/u/584575/lshort.pdf) with http://mozilla.github.com/pdf.js/web/viewer.html and this is what I've got on Windows 7 (Chrome/Firefox) http://dl.dropbox.com/u/584575/lshort.png

Snuffleupagus commented 11 years ago

I can replicate the issue with hardware acceleration off.

My configuration: Windows 7 Professional (64-bit), Firefox Nightly 21 (build-id: 20130209031117), pdf.js 0.7.212.

timvandermeij commented 11 years ago

I cannot replicate this with hardware acceleration on, so it might indeed only occur if hardware acceleration is off.

Browser: Firefox 18.0.2 OS: Windows 7 (64 bit) Viewer: PDF.js 0.7.212

czaber commented 11 years ago

It works on Firefox 15.0.1 (Windows 7). It does not work on Chrome 21.0.1312.57 m (Windows 7). Changing HWA between on and off does not make any difference (I've restarted Chrome, nothing changed).

brendandahl commented 11 years ago

Still not working on win7, FF22, pdf.js 0.7.390, hwa off.

WoosterUK commented 11 years ago

Bug probably should be tagged 4-font-encoding-math as well?

I have this same problem.

Google Chrome 27.0.1453.110 m Windows 7 64-bit pdf.js 0.8.169

Will try to remember to confirm whether it happens on Ubuntu when I next get to my Linux box.

czaber commented 11 years ago

I've tried it once more and it still cuts off sum and integral symbols on:

Firefox 21.0, Windows 7 64-bit, pdf.js 0.8.243, Hardware Acceleration Off Firefox 21.0, Windows 7 64-bit, pdf.js 0.8.243, Hardware Acceleration On Google Chrome 27.0.1453.110m, Windows 7 64-bit, pdf.js 0.8.243, Hardware Acceleration Off Google Chrome 27.0.1453.110m, Windows 7 64-bit, pdf.js 0.8.243, Hardware Acceleration On

It works in any Linux I've tried: Chromium 25.0.1364.160 Ubuntu 12.10, Kubuntu 12.10, pdf.js 0.8.243, Hardware Acceleration Off Firefox 20.0, Kubuntu 12.10, pdf.js 0.8.243, Hardware Acceleration On

WoosterUK commented 11 years ago

While I remember, it does the same to big brackets, too. It looks like it is all part of the same problem.

mikemorr commented 11 years ago

I'm having a similar issue: musical dynamics (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 10 years ago

The problem described in my comment above appears to be a separate issue, so I've filed it as a new issue: #3876.