Closed
Bug 901288
Opened 11 years ago
Closed 11 years ago
pdf.js Character does not display
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
VERIFIED
FIXED
Firefox 28
People
(Reporter: alice0775, Unassigned)
References
(Regression, )
Details
(Keywords: regression, Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion][d-direct-write-6.1][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3917)
Attachments
(2 files)
Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/d0edf8086809
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 ID:20130803030205
Steps To reproduce:
1. Open http://ybb.softbank.jp/support/connect/adsl/pdf/4g_set01.pdf
Actual results:
All font display as rectangle
Expected results:
Font should display properly
Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/0c1663454e49
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130517 Firefox/24.0 ID:20130517123846
Bad:
http://hg.mozilla.org/mozilla-central/rev/ecdfb8bb501e
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130517 Firefox/24.0 ID:20130517143042
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0c1663454e49&tochange=ecdfb8bb501e
Regressed by:
aaf5d70ba693 Ryan VanderMeulen — Bug 871530 - Update pdf.js to version 0.8.169. r=dtownsend
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #785467 -
Attachment description: 無題.png → screenshot
Attachment #785467 -
Attachment filename: 無題.png → screenshot.png
Comment 2•11 years ago
|
||
Can you tell us what version of DirectWrite you have (in about:support)?
Flags: needinfo?(alice0775)
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows]
Reporter | ||
Comment 3•11 years ago
|
||
DirectWrite Enabled true (6.1.7601.18126)
Flags: needinfo?(alice0775)
Updated•11 years ago
|
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows] → [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-d-direct-write-6.1]
Updated•11 years ago
|
status-firefox24:
--- → affected
status-firefox25:
--- → affected
Comment 4•11 years ago
|
||
Needinfo on :bdahl with the next steps here.:bdahl do you need any additional QA help to help with reproduction here or is the issue understood ?
Flags: needinfo?(bdahl)
Comment 5•11 years ago
|
||
It would be helpful if someone with with DirectWrite 6.1 could run git bisect on pdf.js and find the true regression commit. All of my test machines have autoupgraded to DirectWrite 6.2 with IE10.
Bisecting pdf.js is pretty easy as it only requires refreshing a page, if you someone needs help stop by #pdfjs.
Flags: needinfo?(bdahl)
Comment 6•11 years ago
|
||
Adding qawanted and needinfo'ing :tracy so QA team can help with comment #5
Flags: needinfo?(twalker)
Keywords: qawanted
Comment 7•11 years ago
|
||
pinged bdahl in irc. This requires physical hardware. All I have access to is VM for Win7. Alice, this is a big ask, but might you be able help with the git bisect per comment #5?
Flags: needinfo?(twalker)
Comment 8•11 years ago
|
||
Mihaela, might you or someone from SV be able to look into finding an accurate regression range? Rquires a Win 7 or Vista machine with DirectWrite 6.1 on it.
Flags: needinfo?(mihaela.velimiroviciu)
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Tracy Walker [:tracy] from comment #7)
> pinged bdahl in irc. This requires physical hardware. All I have access to
> is VM for Win7. Alice, this is a big ask, but might you be able help with
> the git bisect per comment #5?
Ok, I will try. but I am not familiar with git.
Comment 10•11 years ago
|
||
I made an attempt at this but my Windows 7 system already has DirectWrite 6.2 and does not reproduce this. I tried to restore to a few different restore points but each time it failed with some extremely vague Windows OS error. I've managed to find a Windows Vista ISO but this failed to transfer to a USB drive using Microsoft's own tool so I'm not left trying to burn this to a DVD. Unfortunately I have run out of time to work on this today. I can resume tomorrow if we've made no progress on this.
FWIW, is it worth trying to fix this for an old version of DirectWrite vs advising users to update their systems?
Comment 11•11 years ago
|
||
I've been fighting with Vista for a day now and still haven't managed to get it installed. Alice, any help you can give here in bisecting the range would be greatly appreciated.
Comment 12•11 years ago
|
||
Today I managed to get a clean copy of Windows Vista installed and am currently installing some required software updates, Service Pack 2 in particular. Hopefully I can be in a position to test this sometime tomorrow.
Comment 13•11 years ago
|
||
I could reproduce the issue on Windows Vista x86 (DirectWrite 7) using latest Nightly, Aurora and Fx 24 beta 6, but not reproduced on Win 7 x64 with DirectWrite 6.2.
(20130829030201) Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0
(20130826004002) Mozilla/5.0 (Windows NT 6.0; rv:25.0) Gecko/20100101 Firefox/25.0
(20130826142034) Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Firefox/24.0
DirectWrite Enabled true (7.0.6002.23097)
I cloned pdfjs, but encountered errors on viewing localhost:8000/web/viewer.html page. I'll continue investigating this tomorrow, if still necessary with this version of DirectWrite .
Comment 14•11 years ago
|
||
After installing Vista and all mandatory updates I now have DirectWrite 7.0.6002.18409 activated in Firefox. Firefox 23.0.1 does not reproduce this bug but Firefox 24.0 Beta does. It would seem, at least on Windows Vista that the version of DirectWrite does not matter.
Comment 15•11 years ago
|
||
Results from git bisect:
------------------------
e128f8bb472bb81b21c13240bea28cf9eb1a354e is the first bad commit
commit e128f8bb472bb81b21c13240bea28cf9eb1a354e
Author: Brendan Dahl <brendan.dahl@gmail.com>
Date: Wed May 1 16:42:25 2013 -0700
Fix glyph selection for CID fonts that don't actually have CID font files.
:040000 040000 d795b5e9789a4cc342c800271535b838233f6fda f8033ce241127f5fc860d2759ea56a06af8d38f7 M src
:040000 040000 d765d79ab017164be98ecb7ed98f83e40a988c33 5767ec1bd02b58f5deed208159f40b5a739a1818 M test
Flags: needinfo?(mihaela.velimiroviciu)
Keywords: qawanted
Comment 17•11 years ago
|
||
needinfo'ing :bdahl here , to help understand if we can perform a backout(if low risk) for our second last beta ? Any idea how common this issue may be in the wild , and a possible general use case to understand the wider user impact this bug may have ? Would anyone using this D2D version on windows be affected here ?
Flags: needinfo?(bdahl)
Comment 18•11 years ago
|
||
(In reply to bhavana bajaj [:bajaj] from comment #17)
> Would anyone using this D2D version on windows be affected here?
Anecdotally, *any* version of DirectWrite on Windows Vista seems to be affected whereas only DirectWrite <6.2 on Windows 7+ seems to be affected. While advising Windows 7+ users to update their DirectWrite version (7.0 is available on Windows Update) this will not resolve the issue for Windows Vista users (see comment 14).
Comment 19•11 years ago
|
||
(In reply to bhavana bajaj [:bajaj] from comment #17)
> needinfo'ing :bdahl here , to help understand if we can perform a backout(if
> low risk) for our second last beta ?
A backout would cause regressions on at least two PDFs that I know of for all platforms. I should have access to a vista machine tomorrow so I can try to get a fix for DirectWrite 6.1, but I wouldn't want to put this in beta at this point.
Flags: needinfo?(bdahl)
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
status-firefox26:
--- → affected
status-firefox27:
--- → affected
Updated•11 years ago
|
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-windows][pdfjs-d-direct-write-6.1] → [pdfjs-c-rendering][pdfjs-d-font-conversion][d-direct-write-6.1][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3917
Reporter | ||
Comment 20•11 years ago
|
||
Fixed by Bug 947260
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Comment 21•11 years ago
|
||
Marking this WONTFIX for Firefox 27 and earlier since it's unlikely bug 947260 will get uplifted.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 28
Comment 22•11 years ago
|
||
Verified fixed based on comment 20.
Updated•3 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•