Yury Delendik
8ee193892b
Seac support for Windows
12 years ago
vyv03354
999cac517a
Skip FontName vs. BaseFont check for Type 3 fonts
...
Type 3 font dict does not have a BaseFont entry (see PDF Reference 9.6.5 Table 112). This check is actually causing false positives:
http://math.berkeley.edu/~daisuke/Bonn2013.pdf
http://math.berkeley.edu/~daisuke/BVSOL.pdf
http://www.ieice-hbkb.org/files/06/06gun_02hen_04.pdf
http://www.asahi-net.or.jp/~td6i-st/fuku-cathedral/new/gat.pdf
12 years ago
vyv03354
9310e852db
Pass commonObjs to TilingPattern constructor
...
Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
12 years ago
vyv03354
6c3d66fb46
Convert CID fonts using "ToUnicode" CMap if available
12 years ago
Yury Delendik
2bdfc0727f
Fixes NameTree reading
12 years ago
vyv03354
96f6fcf8ba
Convert cid to Unicode when rebuilding Type 2 CID fonts encoded with non-Identity CMap
12 years ago
vyv03354
c9ee7b9bfa
Implement "90pv" CMap
12 years ago
Martin Koegler
63c9685ea7
Fix decrypting of arrays
12 years ago
Brendan Dahl
5c43565404
Hack to support automatic printing from pdf javascript.
12 years ago
Kalervo Kujala
6f65fef64b
Sharpen the patterns.
...
Draw the patterns with the intended resolution instead of scaling
afterwards. Scaling leads to unclear patterns.
Also:
Make TilingPattern function for paintType switch case.
Make TilingPattern function for bbox clipping.
Make TilingPattern functions for scaling code.
Increase MAX_PATTERN_SIZE to 4096.
Add Singular Value Decomposition function.
12 years ago
vyv03354
1579c4778b
Fix spacing calculation of TJ operator
12 years ago
allstars.chh
27d114bd11
Add support for big5 encoding.
12 years ago
Simon Tatham
ff4f7f1028
Use fetchIfRef to get annotation dictionaries.
...
Fixes failure to display annotations in PDFs where the annotation
dicts are inlined in the page objects rather than in subobjects.
12 years ago
vyv03354
4413262976
Implement "83pv" CMap and fix CIDFontType0 handling
12 years ago
David Cook
355efc46d2
Fix text selection for oddly-spaced TJ commands
...
This change will discard trailing space adjustments in TJ/showSpacedText()
for the purposes of calculating the text width for text selection. In
pathological cases, a PDF may write one character and then move the text
matrix back to the beginning of the character within one TJ invocation.
This would add up to a canvasWidth of 0, so the text selection <div> would
be scaled to zero pixels wide, even though the character was drawn
normally.
With this change, canvasWidth will not include any adjustments made after
the last character was written. Normal use of TJ will result in the same
text selection behavior, whereas pathological use of TJ will result in the
text selection layer matching the actual width of the characters
displayed.
For an example of such pathological behavior, see http://www.tycovalves-usa.com/ld/CROMC-0297-US.pdf#page=48
12 years ago
Yury Delendik
4d50965434
Fixes template 1 for decoding
12 years ago
Yury Delendik
95e5429707
Fixes getString
12 years ago
Yury Delendik
1d4372775d
JBIG2: finds end of segment when length is not specified
12 years ago
vyv03354
059fd616cd
Add a dummy byte at end of the CFF table to satisfy sanitizer
...
Fixes #2674 .
12 years ago
Yury Delendik
cbe829228e
Fixes symbols positioning in JBIG2
12 years ago
vyv03354
b591d39130
Remove the test of experimental properties in workers
12 years ago
vyv03354
c5b8ee6a91
Implements vertical writing
12 years ago
j
c33b92036f
fix image width/height for zoomed viewport
...
image width/height is off while pdf is zoomed,
use raw transform values to compute width/height
to fix this.
12 years ago
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
12 years ago
Yury Delendik
6ce1cfe734
Reverts 729b82, d5f65f and 724add
12 years ago
vyv03354
729b82359a
Implements the print permission
12 years ago
Yury Delendik
d5f65f5431
Fixes text search for "secured" documents
12 years ago
vyv03354
7fc0c9f2ca
Take BaseFont entry from CIDFont dict instead of Type 0 Font dict
12 years ago
vyv03354
521723a9b5
Support non-BMP characters contained in embedded fonts
12 years ago
vyv03354
7dcbf7d2c3
Reduce warning spam caused by BX/EX
12 years ago
Yury Delendik
133d5cf8d2
Workaround for Chrome's issue 174023
12 years ago
Yury Delendik
d13aa38c9c
Enforces quotmark=single for jshint
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
vyv03354
724add2ffd
Make an effort to adhere the spec 7.6.3.2
12 years ago
Jon Buckley
b3634a3826
Issue #2008 - Fix lint errors for src/worker.js
12 years ago
Jon Buckley
e48bb8d966
Issue #2008 - Fix lint errors for src/utils/fonts_utils.js
12 years ago
Jon Buckley
3b3922764e
Issue #2008 - Fix lint errors for src/util.js
12 years ago
Jon Buckley
4a292a310f
Issue #2008 - Fix lint errors for src/stream.js
12 years ago
Jon Buckley
a1a098fbee
Issue #2008 - Fix lint errors for src/pattern.js
12 years ago
Jon Buckley
315ac3ce8c
Issue #2008 - Fix lint errors for src/parser.js
12 years ago
Jon Buckley
caaf7e8032
Issue #2008 - Fix lint errors for src/obj.js
12 years ago
Jon Buckley
9b13cbee69
Issue #2008 - Fix lint errors for src/metadata.js
12 years ago
Jon Buckley
21f0ff1dcf
Issue #2008 - Fix lint errors for src/jpx.js
12 years ago
Jon Buckley
bc94a4d353
Issue #2008 - Fix lint errors for src/jbig2.js
12 years ago
Jon Buckley
f883a1f40f
Issue #2008 - Fix lint errors for src/image.js
12 years ago
Jon Buckley
9ddb4eca95
Issue #2008 - Fix lint errors for src/function.js
12 years ago
Jon Buckley
3793ca5283
Issue #2008 - Fix lint errors for src/fonts.js
12 years ago
Jon Buckley
c281805fde
Issue #2008 - Fix lint errors for src/evaluator.js
12 years ago
Jon Buckley
d7b005a79f
Issue #2008 - Fix lint errors for src/crypto.js
12 years ago
Jon Buckley
d59e2105b1
Issue #2008 - Fix lint errors for src/core.js
12 years ago