pdf.js: Whitespace instead of diacritics

NEW
Unassigned

Status

()

P3
normal
6 years ago
10 months ago

People

(Reporter: sodae, Unassigned)

Tracking

Trunk
x86_64
Windows 8
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

86.37 KB, application/pdf
Details
(Reporter)

Description

6 years ago
Created attachment 717103 [details]
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

Updated

6 years ago
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-font-conversion]
Version: 19 Branch → Trunk

Comment 2

3 years ago
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)

Comment 4

10 months ago
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.
You need to log in before you can comment on or make changes to this bug.