mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fixes symbols positioning in JBIG2
This commit is contained in:
parent
007a643279
commit
cbe829228e
3 changed files with 10 additions and 1 deletions
|
@ -823,7 +823,7 @@ var Jbig2Image = (function Jbig2ImageClosure() {
|
|||
textRegion.transposed = !!(textRegionSegmentFlags & 64);
|
||||
textRegion.combinationOperator = (textRegionSegmentFlags >> 7) & 3;
|
||||
textRegion.defaultPixelValue = (textRegionSegmentFlags >> 9) & 1;
|
||||
textRegion.dsOffset = (textRegionSegmentFlags >> 10) & 31;
|
||||
textRegion.dsOffset = (textRegionSegmentFlags << 17) >> 27;
|
||||
textRegion.refinementTemplate = (textRegionSegmentFlags >> 15) & 1;
|
||||
if (textRegion.huffman) {
|
||||
var textRegionHuffmanFlags = readUint16(data, position);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue