Fixes cmap sanitizer fro #215
Implements vertical writing
Fixes symbols positioning in JBIG2
JBIG2: finds end of segment when length is not specified
Fixes getString
Make navigation keys work on document load - avoid breaking embedded viewer, take 3
Fixes template 1 for decoding
Merge pull request #2773 from Snuffleupagus/focus

Makes navigation keys work on document load
Merge pull request #2794 from yurydelendik/jbig2-template-1

JBIG2: Fixes template 1 for decoding
Merge pull request #2782 from yurydelendik/jbig2-text-align

Fixes symbols positioning in JBIG2
Merge pull request #2686 from vyv03354/bug770409

Implement vertical writing
Merge pull request #2789 from yurydelendik/getString

Fixes getString
Don't hide the download/print buttons when view is small.
Merge pull request #2805 from brendandahl/no-hide-download

Don't hide the download/print buttons when view is small.
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
Ignore empty strings for text selection.
They were causing double text selection.
Merge pull request #2781 from waddlesplash/textselection

Ignore empty strings for text selection
Add "cursor: text;" to textLayer div CSS.
Fixes problem caused by e4e4b1ab4ea4a6e44b84efa5a67237e2ad044b.
Merge pull request #2821 from waddlesplash/textselection

Add "cursor: text;" to textLayer div CSS.