Brendan Dahl
bd7eba0d46
Add back mozOpaque.
12 years ago
Brendan Dahl
ec311f303b
Use white backdrop when possible.
12 years ago
Mack Duan
4782a3acb9
Changes to viewer to support progressive loading
12 years ago
Brendan Dahl
028151d13a
Restructure/rewrite of the Type1 font parser.
12 years ago
vyv03354
7ad3e46ca8
Correct a typo in DeviceRgbCS_getRgbBuffer
12 years ago
Brendan Dahl
fea4507c24
Create color maps for single component color spaces.
12 years ago
Mack Duan
79831d7ec5
Support rendering appearance streams for annotations
12 years ago
Yury Delendik
0d54347d57
Adds unicode conversion for js code
12 years ago
Yury Delendik
6809f254eb
Protection from empty/invalid root or kid in NameTree
12 years ago
vyv03354
538894f115
Always separate the last segment of the format 4 'cmap' subtable
12 years ago
vyv03354
9bcd6bb280
Add MS built-in Japanese fonts to nonStdFontMap
12 years ago
vyv03354
9e43ad0673
Implement "B5pc-H" CMap
12 years ago
Brendan Dahl
725cd5407f
Add basic support for transparency groups.
12 years ago
vyv03354
99165fb702
Fix the calculation of default vertical metrics
...
Fixes bug 849627 and 849628.
The current code was obviously wrong per the spec 9.7.4.3.
12 years ago
Brendan Dahl
523aa9c152
Add support for blend modes.
12 years ago
Yury Delendik
ad3390c24c
Removes isOS2Valid; resets fsType
12 years ago
Brendan Dahl
7050a54a4e
Use empty private dictionaries instead of removing them.
12 years ago
Ofir
549a35e67f
Make sure IE9 gets integers because grad.addColorStop fails with floats
12 years ago
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