Brendan Dahl
e076eeb5bd
Merge pull request #3877 from yurydelendik/issue1171
...
Skipping empty font tables
2013-11-08 09:12:04 -08:00
Sriram
8dad6d6e8a
Fix word spacing in Type 0 fonts
...
Fix word spacing in Type 0 font
correct word spacing
correct word spacing in type 0 font
fix word spacing
2013-11-08 20:48:30 +05:30
Brendan Dahl
18d8557abd
Merge pull request #3875 from yurydelendik/issue3025
...
Removes duplicate entries after reading cmap table
2013-11-07 12:29:25 -08:00
Brendan Dahl
90fb92d1fc
Merge pull request #3869 from yurydelendik/symbolenc
...
Renames Symbol encoding name.
2013-11-06 11:15:08 -08:00
Brendan Dahl
c8e021dfa6
Merge pull request #3867 from yurydelendik/pfb
...
Workaround for some bad Type1 data
2013-11-06 11:14:42 -08:00
Lu Wang
6553bd6c0c
add 'contains' for the classList implementation
2013-11-06 14:52:04 +08:00
Yury Delendik
080a5c16ea
Merge pull request #3880 from Snuffleupagus/translate-bbox
...
Fix undefined group bounding box
2013-11-04 17:46:55 -08:00
Jonas Jenwald
4ae3802484
Fix undefined group bounding box
2013-11-04 18:16:33 +01:00
Yury Delendik
175341cb0d
Resizes loca table when needed
2013-11-03 07:29:29 -06:00
Yury Delendik
cf55d69c38
Fixes invalid maxZones value
2013-11-02 18:16:24 -05:00
Yury Delendik
93076ced03
Ignoring glyphs without points
2013-11-02 17:07:13 -05:00
Tim van der Meij
1ce8afc23c
Merge pull request #3881 from Snuffleupagus/followup-3854
...
Fix type mismatch causing wrong scale value in the viewBookmark button
2013-11-02 14:12:07 -07:00
Jonas Jenwald
1c259ce806
Fix type mismatch causing wrong scale value in the viewBookmark button
2013-11-02 21:54:54 +01:00
Tim van der Meij
867c667690
Merge pull request #3854 from Snuffleupagus/round-viewBookmark-scale-value
...
Round the scale value displayed by the viewBookmark button to two decimal places
2013-11-02 13:35:02 -07:00
Yury Delendik
bbda42110b
Skipping empty font tables
2013-11-01 19:05:17 -05:00
Brendan Dahl
768a86d59d
Merge pull request #3873 from yurydelendik/issu2833
...
Fixes reading Type1 FontBBox data for usWin values
2013-11-01 14:59:30 -07:00
Yury Delendik
bb2570c9c1
Removes duplicate entries after reading cmap table
2013-11-01 16:30:28 -05:00
Yury Delendik
cd44093891
Workaround for some bad Type1 data
2013-11-01 13:58:33 -05:00
Yury Delendik
95d9107d8b
Fixes reading Type1 FontBBox data for usWin values
2013-11-01 11:33:30 -05:00
Brendan Dahl
b34c6a4e02
Merge pull request #3861 from yurydelendik/pc-undef
...
Avoiding 'pc is undefined' failures
2013-10-31 16:23:35 -07:00
Yury Delendik
104d89856d
Renames Symbol encoding name.
2013-10-31 10:33:23 -05:00
Jonas Jenwald
e41d98f9f0
Make 'zoom' independent from 'page' in the hash parameters
2013-10-30 20:39:44 +01:00
Brendan Dahl
f7b2b2e1f2
Merge pull request #3760 from jribbens/patch-1
...
Fix bug in api.js whereby fake workers didn't load the worker code
2013-10-30 10:47:38 -07:00
Brendan Dahl
f72fad9a1a
Merge pull request #3744 from Snuffleupagus/enable-www-links
...
Enable links beginning with 'www.' even if no protocol is specified
2013-10-30 10:32:22 -07:00
Brendan Dahl
cbf9d73ade
Merge pull request #3860 from Snuffleupagus/fix-zoom-parameter-regression
...
Fix zoom parameter regression
2013-10-30 10:28:56 -07:00
Yury Delendik
83e17c2953
Avoiding 'pc is undefined' failures
2013-10-30 11:14:13 -05:00
Jonas Jenwald
1cae737d03
Fix zoom parameter regression
2013-10-30 14:28:59 +01:00
Jonas Jenwald
aeab4a139f
Merge pull request #3859 from skruse/master
...
BugFix: Missing var (context) in function call getOutputScale of text-selection example
2013-10-30 05:12:34 -07:00
Sebastian Kruse
041671f81b
BugFix: Missing var (context) in function call getOutputScale of text-selection example
2013-10-30 11:43:22 +01:00
Jonas Jenwald
4ee2c96503
Round the scale value displayed by the viewBookmark button to two decimal places
2013-10-28 12:34:35 +01:00
Yury Delendik
19485c34c8
Merge pull request #3798 from brendandahl/intersect-bbox
...
Intersect group bounding box with the current canvas dimensions.
2013-10-25 13:42:56 -07:00
Brendan Dahl
77fb1d0fac
Merge pull request #3831 from Snuffleupagus/fix-Firefox-scrolling
...
Fix scroll keys in Firefox
2013-10-25 13:21:54 -07:00
Jonas Jenwald
8ae05dcdcb
Merge pull request #3836 from Fitoschido/patch-1
...
Update viewer.properties for es l10n
2013-10-23 02:45:18 -07:00
Adolfo Jayme Barrientos
1b0842ad7c
Update viewer.properties
2013-10-23 00:05:34 -05:00
Jonas Jenwald
6102b6197f
Fix scroll keys in Firefox
2013-10-21 23:39:17 +02:00
Tim van der Meij
5beefde2c7
Merge pull request #3829 from Snuffleupagus/issue-3827
...
Apply the current zoom level value to each page in Presentation Mode
2013-10-20 03:32:54 -07:00
Jonas Jenwald
f35e777d81
Apply the current zoom level value to each page in Presentation Mode
2013-10-19 18:33:36 +02:00
Tim van der Meij
fa03a777b6
Merge pull request #3824 from Snuffleupagus/tweak-SecondaryToolbar
...
A few small tweaks of the SecondaryToolbar code
2013-10-18 14:34:28 -07:00
Jonas Jenwald
bee1b734c2
A few small tweaks of the SecondaryToolbar code
2013-10-18 23:03:28 +02:00
Tim van der Meij
26fb376b65
Merge pull request #3820 from Snuffleupagus/prevent-enter-PresentationMode-during-load
...
Disable Presentation Mode until the document has started rendering
2013-10-18 11:05:45 -07:00
Yury Delendik
b16b3be5c3
Merge pull request #3791 from brendandahl/css-rotate
...
Fix css rotation for canvas and text layer.
2013-10-17 17:59:39 -07:00
Jonas Jenwald
d750e4c5e8
Merge pull request #3821 from timvandermeij/secondary-toolbar-elements
...
Decrease dependence of SecondaryToolbar on UI buttons
2013-10-17 14:56:48 -07:00
Tim van der Meij
46d74bdc51
Decrease dependence of SecondaryToolbar on UI buttons
2013-10-17 23:49:30 +02:00
Tim van der Meij
1c9fc5d7bb
Merge pull request #3822 from Snuffleupagus/fix-chromium-PR-bot-breakage
...
Fix bot breakage caused by Chromium extension PR
2013-10-17 14:24:11 -07:00
Brendan Dahl
ca1806025c
Merge pull request #3794 from brendandahl/b2g-fix
...
Fix the B2G viewer and enable bot preview.
2013-10-17 14:14:17 -07:00
Jonas Jenwald
8405d16379
Fix bot breakage caused by Chromium extension PR
2013-10-17 22:55:25 +02:00
Tim van der Meij
5726ffdcbc
Merge pull request #3751 from Rob--W/crx-alternative-loader
...
[Chrome extension] Change PDF rendering method.
2013-10-17 10:01:37 -07:00
Jonas Jenwald
e367f49686
Disable Presentation Mode until the document has started rendering
2013-10-17 16:52:36 +02:00
Rob Wu
83b780af81
[CRX] Show nicely formatted URL in omnibox
...
Before commit:
chrome-extension://EXTENSIONID/content/web/viewer.html?file=http%3A%2F%2Fexample.com%2Ffile.pdf
After commit:
chrome-extension://EXTENSIONID/http://example/file.pdf
Technical details:
- The extension's background page uses the webRequest API to intercept
requests for <extension host>/<real path to pdf>, and redirect it to
the viewer's URL.
- viewer.js uses history.replaceState to rewrite the URL, so that it's
easier for users to recognize and copy-paste URLs.
- The fake paths /http:, /https:, /file:, etc. have been added to the
web_accessible_resources section of the manifest file, in order to
avoid seeing chrome-extension://invalid/ instead of the actual URL
when using history back/forward to navigate from/to the PDF viewer.
- Since the relative path resolving doesn't work because relative URLs
are inaccurate, a <base> tag has been added. This method has already
been proven to work in the Firefox add-on.
Notes:
- This commit has been cherry-picked from crx-using-streams-api.
- Need to merge https://github.com/mozilla/pdf.js/pull/3582 to deal with
a bug in Chrome <=30
- In Chrome, getting the contents of a FTP file is not possible, so
there's no support for FTP files, even though the extension router
recognizes the ftp: scheme.
2013-10-16 23:14:46 +02:00
Rob Wu
e9cb91de39
[CRX] split:incognito is used, so update file:-handler
...
The current stable Chromium version is 29. Since the critical
bug that prevented use of incognito:split has been fixed, and
incognito:split is actually used, it's safe to drop the code
that disables the extension in incognito mode.
( fixed bug = http:/crbug.com/224094 )
2013-10-16 23:14:43 +02:00