JBIG2: finds end of segment when length is not specified
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
Resize the zoom box width to fit the content - fix embedding - address comments
Implement "83pv" CMap and fix CIDFontType0 handling
Spacing fixes.
Merge pull request #2786 from yurydelendik/jbig2-len

JBIG2: finds end of a segment when length is not specified
Clone the array manually when slice is missing
Merge pull request #2832 from ofirdev/master

Fix TypedArrays on IE9
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.
Merge pull request #2822 from waddlesplash/css

Spacing fixes in CSS.
Add support for big5 encoding.
test for issue2829.
Merge pull request #2838 from allstarschh/issue_2829_test

Add Support for big5 encoding.
Make links work in fullscreen - fix issue mentioned by @yurydelenik
Merge pull request #2712 from Snuffleupagus/fullscreen-links

Make PDF links work in fullscreen mode
Fix spacing calculation of TJ operator
Merge pull request #2836 from sgtatham/master

Fix handling of inline annotation dictionaries
Merge pull request #2826 from vyv03354/83pv

Implement "83pv" CMap and fix CIDFontType0 handling
Merge pull request #2816 from Snuffleupagus/zoom-select-adjust-followup

Resize the zoom box width to fit the content - fix embedding
Merge pull request #2809 from divergentdave/TJ_text_selection

Fix text selection for oddly-spaced TJ commands (Issue #2808)