Closed Bug 844092 Opened 11 years ago Closed 4 years ago

pdf.js: Whitespace instead of diacritics

Categories

(Firefox :: PDF Viewer, defect, P3)

x86_64
Windows 8
defect

Tracking

()

RESOLVED FIXED
81 Branch

People

(Reporter: sodae, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion])

Attachments

(1 file)

Attached file doc-2.pdf
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130212082553

Steps to reproduce:

open PDF (attached) on two different PC (win XP, win 8)


Actual results:

czech diacritics does not show


Expected results:

show czech diacritics
confirming with Firefox trunk on win7
Status: UNCONFIRMED → NEW
Component: Untriaged → PDF Viewer
Ever confirmed: true
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion]
Version: 19 Branch → Trunk
Jonas, do you have an idea for a (quick) fix?
Flags: needinfo?(jonas.jenwald)
(In reply to Loic from comment #2)
> Jonas, do you have an idea for a (quick) fix?

Unfortunately I don't, sorry!
Flags: needinfo?(jonas.jenwald)
It appears the ‘loca’ table is malformed in the font resource "F3". The offset at 283 is correct, but the following offset is 0 (it should be a value greater than the previous offset). To fix it, it seems like we’d need to ignore the loca table and attempt to parse the glyph and come up with the length.
Status: NEW → RESOLVED
Closed: 4 years ago
Depends on: 1658934
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: