Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.7
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing, Font Engine
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #12991 - https://icesoft.my.salesforce.com/5007000000kxRkB
Description
The Arabic fonts used in the provided PDF file are rendered incorrectly. This PDF file renders fine in Adobe. No errors were seen in the console when rendering.
Activity
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.1 [ 10675 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Patrick Corless
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
The file in question uses an undocumented Encoding type for the Arabic glyphs. The encoding format is as follows:
9 0 obj
<<
/Type /Encoding
/Differences
[ 0 /uni060C
1 /uni061B
2 /uni061F
3 /uni0621
...
233 /uniFEF5
234 /uniFEF6
235 /uniFEF7
236 /uniFEF8
237 /uniFEF9
238 /uniFEFA
239 /uniFEFB
240 /uniFEFC
241 /uniFEFD
242 /uniFEFE
243 /uniFEFF ]
There is no mentioned of character names /uniHexCode in the PDF specification. If I were to guess this is a just format used by SAP. I've looked up the mappings 164->/uniFEB0 and the mapping appears to be valid, and corresponds to the character 'ARABIC LETTER ZAIN FINAL FORM' I need to figure out a way to detect and assign the correct glyph for this undocumented format.