Julian Viereck
|
658c6936fc
|
Tune whitespace insertion
|
2012-09-25 16:07:59 +02:00 |
|
Julian Viereck
|
e98eba1b11
|
Merge pull request #2127 from jviereck/text-algo-3
Use the text extracted in the getTextContent function for the divs of the textLayer.
|
2012-09-25 05:52:46 -07:00 |
|
Julian Viereck
|
f1e0edbaa9
|
Address Yurys review comments
|
2012-09-22 11:18:26 +02:00 |
|
Julian Viereck
|
3d0e6da2ff
|
Move some more font conversion into loadFont function to make type3 fonts work for now
|
2012-09-20 17:12:36 +02:00 |
|
Julian Viereck
|
fdb6a013c9
|
Fix unitialized text/dirs array
|
2012-09-20 17:10:52 +02:00 |
|
Julian Viereck
|
a525492f65
|
Make lint happy
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
6bc2a0b84a
|
Remove spaces that don't make sense when using the text in divs
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
e22fc80d3e
|
Add handling for gs in getTextContent
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
bd4434a7ea
|
Apply bidi algorithm to the text in the worker
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
897b99500e
|
Fix typos that prevent space insertion for showSpaced in getTextContent
|
2012-09-20 17:10:51 +02:00 |
|
Julian Viereck
|
7432e596a1
|
Improve the space detection for the getTextContent function
|
2012-09-20 17:08:43 +02:00 |
|
Julian Viereck
|
9b9de87ac4
|
Undo some changes for now until there is support for font.spacedWidth
|
2012-09-20 17:08:43 +02:00 |
|
Julian Viereck
|
668c2867d4
|
Change the format of textContent to be an array
|
2012-09-20 17:01:16 +02:00 |
|
Julian Viereck
|
a38c4bc729
|
Make getTextContent return offset array and improve the algorithm. Make
parts in viewer.js work again.
|
2012-09-20 17:01:15 +02:00 |
|
Yury Delendik
|
3d78ccd570
|
Renaming export to exportData
|
2012-09-20 09:38:59 -05:00 |
|
Brendan Dahl
|
8dc49a3c9b
|
Merge pull request #2124 from yurydelendik/fallback-font
Provides right fallback fonts for text layer
|
2012-09-17 10:06:42 -07:00 |
|
Yury Delendik
|
8d506212a8
|
Adds heuristic for monospace font detection
|
2012-09-16 14:38:30 -05:00 |
|
Yury Delendik
|
45741c33a5
|
Fixes RTL text extraction
|
2012-09-14 10:26:46 -07:00 |
|
Yury Delendik
|
e086cf36f4
|
Refactor text extraction / font loading logic
|
2012-09-13 15:12:42 -07:00 |
|
Yury Delendik
|
9fba150dd2
|
Move font translation to the worker
|
2012-09-12 17:31:04 -07:00 |
|
Brendan Dahl
|
332ae4ce41
|
Change to the Apache v2 license.
|
2012-08-31 15:48:21 -07:00 |
|
Yury Delendik
|
a89cb5dd7a
|
Disables symbolic encoding for non-standard fonts
|
2012-08-24 08:05:06 -05:00 |
|
Yury Delendik
|
8aab1a7a7b
|
Fix loading of the font widths
|
2012-07-31 17:58:28 -05:00 |
|
sbarman
|
dd14b3051e
|
Fix for issue #1796
|
2012-06-08 22:42:56 -07:00 |
|
Artur Adib
|
9597efb3f4
|
merge upstream
|
2012-05-29 11:54:11 -04:00 |
|
Brendan Dahl
|
5416b92392
|
Add todo comment.
|
2012-05-25 13:07:07 -07:00 |
|
Brendan Dahl
|
2da12930a6
|
Merge branch 'master' of github.com:mozilla/pdf.js into fallback-ui
Conflicts:
extensions/firefox/components/PdfStreamConverter.js
|
2012-05-24 14:01:10 -07:00 |
|
Yury Delendik
|
6971aec9f3
|
Adjust heuristic to properly handle unicode characters
|
2012-05-21 22:15:09 -05:00 |
|
Yury Delendik
|
43f1946c7a
|
Add prefixes for literals
|
2012-05-20 14:05:23 -05:00 |
|
Yury Delendik
|
ec6c185cf5
|
Allow parsing of the "glued" commands
|
2012-05-20 13:44:03 -05:00 |
|
Artur Adib
|
0bac4abcb5
|
Merge branch 'master' of github.com:mozilla/pdf.js into textsearch
|
2012-05-16 12:51:19 -04:00 |
|
Brendan Dahl
|
e962d93946
|
Change to info for most gstate settings.
|
2012-05-15 16:05:45 -07:00 |
|
Brendan Dahl
|
080c3e79fc
|
Merge upstream. Use new l10n.
|
2012-05-15 10:33:01 -07:00 |
|
Brendan Dahl
|
034583e1a1
|
Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension.
|
2012-05-14 17:19:09 -07:00 |
|
Dmitry Kataev
|
6acdf1791c
|
Two or more operations can be combined together like qqBT
|
2012-05-09 21:29:50 +04:00 |
|
Artur Adib
|
2d3ed7fc78
|
Merge branch 'refs/heads/master' into textsearch
Conflicts:
web/viewer.css
web/viewer.html
web/viewer.js
|
2012-05-08 17:22:48 -04:00 |
|
Brendan Dahl
|
f8ed7bb31a
|
Fix object id counter.
|
2012-04-26 09:38:58 -07:00 |
|
Brendan Dahl
|
92e355dc35
|
Address review comments.
|
2012-04-25 18:44:28 -07:00 |
|
Brendan Dahl
|
2db0ee6ba3
|
Add next line operators for text collection.
|
2012-04-24 12:29:23 -07:00 |
|
Yury Delendik
|
78213e826e
|
Guessing pdf char size based on the CMap numbers
|
2012-04-23 17:44:51 -05:00 |
|
Brendan Dahl
|
92d0d1d694
|
Merge new API and text search.
|
2012-04-20 16:49:08 -07:00 |
|
Yury Delendik
|
cff6c8db08
|
skip cached objects and has consistent font ids
|
2012-04-16 21:42:05 -05:00 |
|
Yury Delendik
|
6bf640260f
|
Fix jsdoc comment; remove resources dict from type3 properties
|
2012-04-14 17:52:49 -07:00 |
|
Yury Delendik
|
42911f1fc9
|
Async getAnnotations(); hide map and xref for Dict
|
2012-04-14 13:54:31 -07:00 |
|
Julian Viereck
|
3c77291013
|
Merge text search with current master
|
2012-04-08 08:57:55 -07:00 |
|
Yury Delendik
|
b10d7fceb8
|
Merge pull request #1443 from brendandahl/gradientfix
Fix gradients for fill and stroke.
|
2012-04-05 16:14:55 -07:00 |
|
Brendan Dahl
|
449d7105c6
|
Merge pull request #1486 from yurydelendik/issue-1466
Improving invalid operations syntax recovery (#1466)
|
2012-04-05 15:39:47 -07:00 |
|
Brendan Dahl
|
fece736b8a
|
Merge upstream.
|
2012-04-05 12:46:23 -07:00 |
|
Yury Delendik
|
cea388201d
|
Merge remote-tracking branch 'mozilla/master' into mergexref-1
Conflicts:
src/core.js
src/evaluator.js
src/obj.js
|
2012-04-05 10:03:49 -05:00 |
|
Kalervo Kujala
|
99440ab691
|
Refactor class method names.
Also move functionality to more logical place in canvas.js and jpx.js.
|
2012-04-04 23:43:26 +03:00 |
|
Brendan Dahl
|
82a95d8bde
|
Merge branch 'master' of https://github.com/mozilla/pdf.js into xrefdict
|
2012-04-04 11:45:04 -07:00 |
|
Brendan Dahl
|
8a45177be0
|
Make Dict handle all the fetching of Refs.
|
2012-04-04 11:43:04 -07:00 |
|
Yury Delendik
|
0ca4ca6077
|
Improving invalid operations syntax recovery (#1466) (see also #589)
|
2012-04-04 11:50:20 -05:00 |
|
gigaherz
|
c6d7e654ee
|
Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler.
|
2012-03-30 23:17:04 +02:00 |
|
Brendan Dahl
|
7008d07fde
|
Fix gradients for fill and stroke.
|
2012-03-29 08:53:51 -07:00 |
|
Brendan Dahl
|
52a4bcbd4f
|
Merge upstream.
|
2012-03-19 10:45:53 -07:00 |
|
Brendan Dahl
|
c4c923bdcf
|
Fix string font names.
|
2012-03-16 11:58:23 -07:00 |
|
Julian Viereck
|
7ddce7f586
|
Use singular form for charProcOperatorList - hopefully fixes breakage
|
2012-03-16 14:58:53 +01:00 |
|
Julian Viereck
|
fd2ab059d3
|
Rename IRQueue and codeIR -> operatorList
|
2012-03-16 14:58:53 +01:00 |
|
Julian Viereck
|
261ff39f6d
|
Remove suffix _IR
|
2012-03-16 14:56:43 +01:00 |
|
Julian Viereck
|
1c87b63124
|
Cleanup the way getIRQueue is called (no need to pass in a queue object in most cases anymore)
|
2012-03-16 14:56:43 +01:00 |
|
notmasteryet
|
d50773fb96
|
Fixing ToUnicode parsing; workaround for invalid UTF16 encoding
|
2012-02-09 18:40:44 -08:00 |
|
Brendan Dahl
|
b3fb41caa9
|
Merge pull request #1106 from arturadib/issue-1049
fontMatrix parsing fix, setFont() supports negative sizes
|
2012-02-03 11:10:58 -08:00 |
|
Artur Adib
|
30a01c5da6
|
addressing reviewer comments, bug fix
|
2012-01-30 09:24:49 -05:00 |
|
notmasteryet
|
10a0a60f8e
|
Fixing symbols encoding
|
2012-01-27 18:53:05 -06:00 |
|
notmasteryet
|
1ac24dbc01
|
Merge remote-tracking branch 'mozilla/master' into textsearch-1
Conflicts:
src/core.js
src/fonts.js
|
2012-01-22 13:56:56 -06:00 |
|
Artur Adib
|
7f3d5ae6d3
|
Fix worker message, better error handling
|
2012-01-19 14:19:19 -05:00 |
|
Artur Adib
|
f97bc8df6f
|
Lint
|
2012-01-17 14:45:57 -05:00 |
|
Artur Adib
|
06c4c83edf
|
Fixes #1055 by falling back to page resources
|
2012-01-17 14:40:52 -05:00 |
|
notmasteryet
|
550819b829
|
fix serif and symbol attribute detection for standard fonts
|
2012-01-09 21:15:18 -06:00 |
|
Kalervo Kujala
|
d89680bd94
|
Merge remote-tracking branch 'upstream/master' into refactor
|
2012-01-07 21:32:16 +02:00 |
|
Brendan Dahl
|
3c2a0f11b1
|
Decode more jpegs using the browser if possible.
|
2012-01-03 14:26:19 -08:00 |
|
Kalervo Kujala
|
13b88a07e0
|
Move initialization of uniquePrefix higher.
|
2011-12-22 20:05:39 +02:00 |
|
notmasteryet
|
3a396b4834
|
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
|
2011-12-20 19:54:41 -06:00 |
|
Brendan Dahl
|
5cfe97611f
|
Rename some variables.
|
2011-12-19 16:31:47 -08:00 |
|
notmasteryet
|
b8672d7efb
|
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
|
2011-12-19 18:06:31 -06:00 |
|
Brendan Dahl
|
03ec82ba62
|
Fix nits.
|
2011-12-18 17:29:08 -08:00 |
|
Brendan Dahl
|
87d72023dc
|
Scale smask and image to the max dimensions of either one. Fix grayscale to scale the input value based on bpc.
|
2011-12-18 17:18:36 -08:00 |
|
notmasteryet
|
c85ec052b1
|
Unicode normalization; lint warnings
|
2011-12-14 21:42:06 -06:00 |
|
notmasteryet
|
04551dbf57
|
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into textsearch-1
Conflicts:
src/core.js
|
2011-12-14 19:37:21 -06:00 |
|
Brendan Dahl
|
d76f5f6815
|
Playing with initial decode map impl.
|
2011-12-13 08:48:27 -08:00 |
|
Brendan Dahl
|
176452c988
|
Style nits.
|
2011-12-12 09:26:24 -08:00 |
|
Brendan Dahl
|
4c01766278
|
Merge upstream.
|
2011-12-11 21:13:53 -08:00 |
|
Brendan Dahl
|
683f64d54f
|
Use promises to track completion of decoding.
|
2011-12-11 16:56:45 -08:00 |
|
notmasteryet
|
94cc2cdb75
|
Char code to unicode conversion
|
2011-12-11 17:59:19 -06:00 |
|
notmasteryet
|
3b72c6063c
|
Text char codes extraction
|
2011-12-10 17:24:54 -06:00 |
|
Brendan Dahl
|
7d1cddf371
|
Add ability to fast track natively supported jpegs.
|
2011-12-08 21:18:04 -08:00 |
|
Kalervo Kujala
|
1ef4c94de2
|
Name all constructors.
|
2011-12-09 00:18:43 +02:00 |
|
Brendan Dahl
|
146cd8c861
|
Second stage, smasks now working. Still needs optimization.
|
2011-12-08 12:50:34 -08:00 |
|
Brendan Dahl
|
2a632d4ab2
|
First stage of trying to support smasks on native jpegs.
|
2011-12-07 15:36:27 -08:00 |
|
notmasteryet
|
0414c0711f
|
Fixing base encoding presence detection; character width scale
|
2011-11-29 22:06:00 -06:00 |
|
Brendan Dahl
|
e5d91ab219
|
Fix invalid arguments error.
|
2011-11-29 14:50:19 -08:00 |
|
notmasteryet
|
08e3fd88ad
|
Removing adaptUnicode; making cmap equal to ToUnicode tables
|
2011-11-27 20:43:23 -06:00 |
|
notmasteryet
|
709dc1a0c9
|
Initial ToUnicode modifications
|
2011-11-24 09:38:09 -06:00 |
|
Brendan Dahl
|
faa202df1e
|
Merge upstream and change test pdf file.
|
2011-11-22 10:39:26 -08:00 |
|
notmasteryet
|
ef58ccd284
|
Issue #644: bypassing identity cmap translation loading; resetting color space when stroke/fill color set
|
2011-11-15 18:23:45 -06:00 |
|
notmasteryet
|
60744a8a61
|
Merge branch 'master' of git://github.com/mozilla/pdf.js.git into encoding-2
Conflicts:
src/evaluator.js
src/fonts.js
|
2011-11-12 11:09:19 -06:00 |
|
Brendan Dahl
|
9bb2b881b0
|
Adds cmyk jpg support. Treats the cmyk jpg as a regular stream.
|
2011-11-08 08:48:10 -08:00 |
|
Kalervo Kujala
|
b321768f59
|
Remove unused parameters and fix jslint warnings.
|
2011-11-06 22:16:35 +02:00 |
|
Artur Adib
|
249385b4bb
|
Progress
|
2011-11-02 15:08:19 -04:00 |
|