Nicholas Nethercote
00c1cff405
Transfer image masks when when possible, instead of copying.
11 years ago
Samuel Chantaraud
076b3433b4
Improved annotations' display/behavior.
...
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).
Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.
An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
11 years ago
Mitar
2c82e720b8
Updated to current latest stable version of jshint.
11 years ago
Brendan Dahl
a77efa0587
Remove unused calculation from bad merge.
11 years ago
Nicholas Nethercote
fdb7c218da
Use a cache to minimize the number of Name objects.
11 years ago
Nicholas Nethercote
42cbb5b440
Introduce ImageKind constants.
11 years ago
Nicholas Nethercote
f62c1c469f
Special-case 24-bit RGB image-handling.
11 years ago
Nicholas Nethercote
d4e8b41639
Remove some unnecessary local variables.
11 years ago
Nicholas Nethercote
a966909754
Reduce memory consumption of simple black and white images.
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Rob Wu
2779bab03e
Use [].forEach instead of for-..-in in evaluator
...
To prevent errors whenever the array's prototype is extended.
(cmap is an array)
11 years ago
Yury Delendik
4054b0c385
SMask emulation
11 years ago
Jonas Jenwald
575bdd8863
Fix loading of fonts with invalid encoding name entry (bug 859204 and 878112)
11 years ago
Yury Delendik
96fff4cc74
Refactors getTextContent return value
11 years ago
Yury Delendik
09f8f951c8
Extracts evaluator preprocessor and refactor text extraction
11 years ago
Nicholas Nethercote
3f533a1cb0
Use a more compact typed array to pass the image mask from the worker to the main thread.
11 years ago
Yury Delendik
96eaa15578
Fixes fips regression from #4068
11 years ago
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Brendan Dahl
2228343f77
Only trigger warning bar on certain unsupported features.
11 years ago
Yury Delendik
5973d40afe
Adjusts heuristic for disabling Symbol encoding
11 years ago
Jonas Jenwald
b1c5ef9ccc
Fix loading of fonts that are not referenced by an object identifier
12 years ago
Brendan Dahl
a4f329aa38
Combine if/else block with switch for getOperatorList.
12 years ago
Yury Delendik
e712c4136a
Cleaning up fonts when viewer is idle for some time
12 years ago
Jonas Jenwald
564ae6e4f7
Prevent updating the current transformation matrix when the stateStack is empty
12 years ago
Yury Delendik
4ce6cb8b0f
Uses postMessage transfers
12 years ago
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Yury Delendik
104d89856d
Renames Symbol encoding name.
12 years ago
Brendan Dahl
f32e65b19f
Read multi-byte character codes based on codespace ranges.
12 years ago
Srishti
3808d02a53
implementing transform matrix to getTextContent
12 years ago
Brendan Dahl
60586e3101
Ensure there's data to build path.
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
efa8f561a5
Move chars to glyphs conversion to the worker.
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Brendan Dahl
bcc085ec52
Limit image size to 1024*1024 for b2g.
12 years ago
Brendan Dahl
a8ad07ccbf
Cache fonts by reference.
12 years ago
Jonas
d206a1ccdc
Fix regression from issue 3312
12 years ago
Yury Delendik
c3030dee8f
Bug 861638: ignoring double-EI
12 years ago
Brendan Dahl
ae1f973204
Use A+ spec compatible promises.
12 years ago
Brendan Dahl
01ce3d056c
Load all resources before getOperatorList/getTextContent.
12 years ago
Yury Delendik
339dc65082
Removes getImageData from canvas.js
12 years ago
Brendan Dahl
328cfd0246
Bind chunk promises to avoid scope problems.
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Brendan Dahl
c5c2f7a773
Fix type3 font loading regression.
12 years ago
Mack Duan
d69f14328c
Use same obj/font id counter for all partial evaluators on page
12 years ago
Mack Duan
2ce00279be
Address more of brendan's comments
12 years ago
Mack Duan
27fe18e8c6
Address brendan's comments
12 years ago
Mack Duan
dbccbaaa27
Make getOperatorList() calls independent and merge queues at end
12 years ago
Brendan Dahl
15a9ab34d3
Lower two common warnings to info.
12 years ago