waddlesplash
9ba08f2c3d
Ignore empty strings for text selection.
...
They were causing double text selection.
2013-02-26 13:00:33 -05:00
Jonas
0bde16a0a0
Resize the zoom box width to fit the content - fix embedding - address comments
2013-02-26 18:46:50 +01:00
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
2013-02-25 21:00:17 -06:00
Yury Delendik
3b506bd294
Merge pull request #2805 from brendandahl/no-hide-download
...
Don't hide the download/print buttons when view is small.
2013-02-25 17:11:48 -08:00
Brendan Dahl
60edfce733
Don't hide the download/print buttons when view is small.
2013-02-25 16:53:54 -08:00
Mack Duan
f94221a37f
Merge pull request #2789 from yurydelendik/getString
...
Fixes getString
2013-02-25 14:33:07 -08:00
Brendan Dahl
a13f7964b1
Merge pull request #2686 from vyv03354/bug770409
...
Implement vertical writing
2013-02-25 12:47:47 -08:00
Brendan Dahl
b89d98eede
Merge pull request #2782 from yurydelendik/jbig2-text-align
...
Fixes symbols positioning in JBIG2
2013-02-25 09:54:05 -08:00
Brendan Dahl
55918ce0c8
Merge pull request #2794 from yurydelendik/jbig2-template-1
...
JBIG2: Fixes template 1 for decoding
2013-02-25 09:10:24 -08:00
Yury Delendik
a4e64b5204
Merge pull request #2773 from Snuffleupagus/focus
...
Makes navigation keys work on document load
2013-02-25 09:09:49 -08:00
Yury Delendik
4d50965434
Fixes template 1 for decoding
2013-02-24 17:34:00 -06:00
Jonas
e4e4b1ab4e
Make navigation keys work on document load - avoid breaking embedded viewer, take 3
2013-02-24 17:49:42 +01:00
Yury Delendik
854a4dd163
Merge pull request #2785 from vyv03354/issue2674
...
Add a dummy byte at end of the CFF table to satisfy sanitizer
2013-02-23 14:33:43 -08:00
Yury Delendik
95e5429707
Fixes getString
2013-02-23 11:35:18 -06:00
Yury Delendik
1d4372775d
JBIG2: finds end of segment when length is not specified
2013-02-23 10:35:41 -06:00
vyv03354
059fd616cd
Add a dummy byte at end of the CFF table to satisfy sanitizer
...
Fixes #2674 .
2013-02-23 20:58:54 +09:00
Julian Viereck
b9e3e845e5
Merge pull request #2676 from Snuffleupagus/pagemode
...
Add 'pagemode' URL parameter
2013-02-23 01:59:17 -08:00
Yury Delendik
cbe829228e
Fixes symbols positioning in JBIG2
2013-02-22 22:08:46 -06:00
Yury Delendik
007a643279
Merge pull request #2779 from waddlesplash/findbar
...
Fixes to findbar CSS.
2013-02-22 10:07:11 -08:00
waddlesplash
9ec51d89bd
Fixes to findbar CSS.
2013-02-22 12:52:05 -05:00
Yury Delendik
a7f385971d
Merge pull request #2705 from timvandermeij/even-zooming
...
More even way of zooming
2013-02-21 07:41:56 -08:00
Yury Delendik
783616b91f
Merge pull request #2731 from AluisioASG/d18f8d11bc7b5157e727b82eccdec6676f4bca07
...
Add icons to the Chrome extension
2013-02-20 05:29:17 -08:00
Yury Delendik
657d9f3f85
Merge pull request #2732 from vyv03354/issue2728
...
Remove the test of experimental properties in workers
2013-02-20 05:24:32 -08:00
Yury Delendik
bc784953c8
Merge pull request #2741 from piotrex/master
...
viewer.properties - Polish lang : English file -> Polish and translated new values
2013-02-20 05:16:24 -08:00
Yury Delendik
782f325536
Merge pull request #2743 from vyv03354/fx19release
...
Update README.md
2013-02-20 05:14:00 -08:00
vyv03354
fc30817ba0
Update README.md
...
Pdf.js has been integrated into Firefox :)
2013-02-20 19:51:24 +09:00
piotrex
d1994d14ca
Update l10n/pl/viewer.properties
2013-02-19 20:56:11 +01:00
Yury Delendik
4a3e2476cd
Merge pull request #2735 from piotrex/patch-1
...
Translated chrome.properties to Polish
2013-02-17 10:40:54 -08:00
Yury Delendik
7d12341b22
Merge pull request #2734 from jviereck/print-print-margin
...
Hide header/footer by default when printing from Firefox. See Bug 743252
2013-02-17 10:39:57 -08:00
piotrex
a2e96e927b
Create chrome.properties
...
translated file from English
2013-02-17 02:37:40 -08:00
Julian Viereck
0721de45b0
Hide header/footer by default when printing from Firefox. See Bug 743252
2013-02-17 11:01:19 +01:00
vyv03354
b591d39130
Remove the test of experimental properties in workers
2013-02-17 14:53:27 +09:00
Aluísio Augusto Silva Gonçalves
d18f8d11bc
Add icons to the Chrome extensions
2013-02-16 23:15:01 -03:00
Yury Delendik
f8e70dcf13
Merge pull request #2727 from vyv03354/feature_TextDecoder
...
Add feature tests for TextDecoder
2013-02-16 08:12:19 -08:00
vyv03354
be6cf15060
Add feature tests for TextDecoder
2013-02-16 11:29:07 +09:00
vyv03354
c5b8ee6a91
Implements vertical writing
2013-02-15 03:53:34 +09:00
Yury Delendik
4247339d28
Merge pull request #2711 from marco-c/patch-2
...
Use asyncStorage.setItem for B2G
2013-02-12 20:17:00 -08:00
Yury Delendik
381437de81
Merge pull request #2717 from kaisercrazy/master
...
Turkish Language
2013-02-12 10:31:07 -08:00
Serkan Algur
269e0c1974
metadata_locale_tr
2013-02-12 19:42:07 +02:00
Serkan Algur
85c9949e2c
Tr lang
2013-02-12 19:22:18 +02:00
Serkan Algur
0c33d211dc
Turkish Language
...
Added Turkish
2013-02-12 18:32:26 +02:00
Yury Delendik
d2aad6f54a
Merge pull request #2715 from bit/fix_imageLayer_scale
...
fix image width/height for zoomed viewport
2013-02-12 06:54:12 -08:00
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.
2013-02-12 16:03:30 +05:30
Mack Duan
c40c594999
Merge pull request #2690 from Snuffleupagus/bug-837462
...
Prevent text selection divs from overflowing page boundries
2013-02-11 10:20:06 -08:00
Marco
3058c40432
Update web/viewer.js
...
Use asyncStorage.setItem for B2G
2013-02-11 18:36:44 +01:00
Yury Delendik
4317bc2586
Merge pull request #2693 from bit/master
...
expose information about images on canvas
2013-02-10 13:05:28 -08:00
Yury Delendik
15233773fd
Merge pull request #2708 from marco-c/patch-1
...
Update web/viewer.js
2013-02-10 11:09:43 -08:00
Yury Delendik
e9debac7f9
Adds zoom buttons ids (follow up on #2707 )
2013-02-10 12:55:47 -06:00
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
2013-02-11 00:20:27 +05:30
Yury Delendik
249dad8e46
Merge pull request #2703 from timvandermeij/close-findbar-without-focus
...
Close findbar also when focus is away from it
2013-02-10 10:46:54 -08:00