Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							cd28dd34fe 
							
						 
					 
					
						
						
							
							Implement support for Underline annotations  
						
						
						
						
					 
					
						2015-12-28 00:33:41 +01:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							7d43971f54 
							
						 
					 
					
						
						
							
							Implement support for Popup annotations  
						
						... 
						
						
						
						Most code for Popup annotations is already present for Text annotations.
This patch extracts the popup creation logic from the Text annotation
code so it can be reused for Popup annotations.
Not only does this add support for Popup annotations, the Text
annotation code is also considerably easier. If a `Popup` entry is
available for a Text annotation, it will not be more than an image. The
popup will be handled by the Popup annotation. However, it is also
possible for Text annotations to not have a separate Popup annotation,
in which case the Text annotation handles the popup creation itself. 
						
						
					 
					
						2015-12-25 13:17:21 +01:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							f93a220736 
							
						 
					 
					
						
						
							
							Merge pull request  #6684  from dsprenkels/issue-6296-radial-shading-size  
						
						... 
						
						
						
						shading-pattern: While drawing patterns, use transform to baseTransform first 
						
						
					 
					
						2015-12-14 20:39:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							ee0d522187 
							
						 
					 
					
						
						
							
							Use adjustWidths for TrueType fonts if we handle them as OpenType (issue 5027, issue 5084, issue 6556, bug 1204903)  
						
						... 
						
						
						
						In `Font_checkAndRepair` we can decide that a font isn't TrueType, and instead parse it as CFF. In that case it's quite possible that the `fontMatrix` will be changed, and without calling `adjustWidths` we're failing to update the glyph widths correctly.
Fixes 5027.
Fixes 5084.
Fixes 6556.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1204903 . 
						
						
					 
					
						2015-12-08 00:49:22 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							084bb8682f 
							
						 
					 
					
						
						
							
							Merge pull request  #6723  from yurydelendik/smask-transfer  
						
						... 
						
						
						
						Adds transfer function support for SMask. 
						
						
					 
					
						2015-12-05 22:41:56 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							4810b7b8fc 
							
						 
					 
					
						
						
							
							Fix the charCodeOf method in IdentityToUnicodeMap in order to prevent text selection from breaking  
						
						... 
						
						
						
						After PR 6590, `font.spaceWidth` is now called in more cases than before (in `PartialEvaluator_getTextContent`), which exposed an underlying issue with `IdentityToUnicodeMap_charCodeOf` throwing an error.
This breaks text-selection in some PDF files found in the wild, hence this patch replaces the `error` with an actual function instead (modelled after `IdentityCMap_charCodeOf`). 
						
						
					 
					
						2015-12-05 13:15:55 +01:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							15c9969abe 
							
						 
					 
					
						
						
							
							Adds transfer function support for SMask.  
						
						
						
						
					 
					
						2015-12-04 12:52:45 -06:00 
						 
				 
			
				
					
						
							
							
								Brendan Dahl 
							
						 
					 
					
						
						
						
						
							
						
						
							87762afec4 
							
						 
					 
					
						
						
							
							Remove glyph id's outside the range of valid glyphs.  
						
						... 
						
						
						
						OTS does not like invalid glyph ids in a camp table. 
						
						
					 
					
						2015-12-03 11:53:06 -08:00 
						 
				 
			
				
					
						
							
							
								Daan Sprenkels 
							
						 
					 
					
						
						
						
						
							
						
						
							a9081653fc 
							
						 
					 
					
						
						
							
							shading-pattern: While drawing patterns, transform to the baseTransform first  
						
						
						
						
					 
					
						2015-12-02 21:49:38 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							6dfe53b976 
							
						 
					 
					
						
						
							
							[api-minor] Add a parameter to PDFPageProxy_getTextContent that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612)  
						
						... 
						
						
						
						This patch goes a bit further than issue 6612 requires, and replaces all kinds of whitespace with standard spaces.
When testing this locally, it actually seemed to slightly improve two existing test-cases (`tracemonkey-text` and `taro-text`).
Fixes 6612. 
						
						
					 
					
						2015-11-25 17:28:40 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							055573fc83 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 1055 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 1055 and PR 1095. 
						
						
					 
					
						2015-11-18 13:48:44 +01:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							2f1a626d6a 
							
						 
					 
					
						
						
							
							Merge pull request  #6640  from dsprenkels/issue-6006-radial-gradient-size  
						
						... 
						
						
						
						Apply transformation matrix to RadialGradient radiuses 
						
						
					 
					
						2015-11-17 11:40:13 -06:00 
						 
				 
			
				
					
						
							
							
								Daan Sprenkels 
							
						 
					 
					
						
						
						
						
							
						
						
							6ce83d3290 
							
						 
					 
					
						
						
							
							apply transformation matrix to RadialGradient radiuses,  
						
						... 
						
						
						
						not only to circle origin points
fix for #6006  
						
						
					 
					
						2015-11-17 00:20:42 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							bd8d3a78a3 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 845 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 845 and PR 1977. 
						
						
					 
					
						2015-11-16 23:38:23 +01:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							37f511cb65 
							
						 
					 
					
						
						
							
							Merge pull request  #6645  from Snuffleupagus/issue-3405-reduced-test  
						
						... 
						
						
						
						Replace the unavailable linked test-case for issue 3405 with a reduced test-case 
						
						
					 
					
						2015-11-16 11:37:41 -06:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							c506ca6ba1 
							
						 
					 
					
						
						
							
							Merge pull request  #6642  from Snuffleupagus/pr-2606-reduced-tests  
						
						... 
						
						
						
						Replace the unavailable linked test-cases for PR 2606 with reduced test-cases 
						
						
					 
					
						2015-11-16 11:29:52 -06:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							b2e3c59372 
							
						 
					 
					
						
						
							
							Merge pull request  #6639  from Snuffleupagus/pr-197-reduced-test  
						
						... 
						
						
						
						Replace the unavailable linked test-case for PR 197 with a reduced test-case 
						
						
					 
					
						2015-11-16 11:27:10 -06:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							1478241c8e 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 3405 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 3405 and PR 3861. 
						
						
					 
					
						2015-11-16 17:06:53 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							841831f35e 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-cases for PR 2606 with reduced test-cases  
						
						... 
						
						
						
						Re: PR 2606. 
						
						
					 
					
						2015-11-16 13:15:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							4b360512af 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for PR 197 with a reduced test-case  
						
						... 
						
						
						
						Re: PR 197.
*Note:* Since this is a `load` test, `makeref` won't be necessary. 
						
						
					 
					
						2015-11-15 20:07:54 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							dca681e82b 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 1655 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 1655 and PR 1978. 
						
						
					 
					
						2015-11-15 15:32:11 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							458aff66f4 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 3207 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 3207 and PR 3268. 
						
						
					 
					
						2015-11-15 13:33:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							5bd76c46ac 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 3263 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 3263 and PR 3265. 
						
						
					 
					
						2015-11-13 16:47:02 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							50a70429ec 
							
						 
					 
					
						
						
							
							Ignore the /Mask entry in images unless its /ImageMask entry is explicitly set to true (issue 6621)  
						
						... 
						
						
						
						Fixes 6621. 
						
						
					 
					
						2015-11-12 22:49:26 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							3008580972 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 2128 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 2128 and PR 2628. 
						
						
					 
					
						2015-11-11 12:49:42 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							ff64ef0243 
							
						 
					 
					
						
						
							
							Prevent readCmapTable from failing if the cmap is missing in TrueType fonts  
						
						... 
						
						
						
						Fixes http://arrow.dit.ie/cgi/viewcontent.cgi?article=1000&context=aaschadpoth#page=3 . 
						
						
					 
					
						2015-11-08 16:48:37 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							66c17a69ae 
							
						 
					 
					
						
						
							
							Add a reduced text test-case for issue 4665  
						
						... 
						
						
						
						Re: issue 4665 and PR 6601.
Since we currently don't have a good `text` test-case that fails without the above PR, this patch adds a reduced one. 
						
						
					 
					
						2015-11-07 13:09:08 +01:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							4ee0bade82 
							
						 
					 
					
						
						
							
							Test for text layer issue 1045.  
						
						
						
						
					 
					
						2015-11-06 10:55:43 -06:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							7e8dacf57b 
							
						 
					 
					
						
						
							
							Merge pull request  #6588  from yurydelendik/spacing  
						
						... 
						
						
						
						Better spacing in text layer. 
						
						
					 
					
						2015-11-03 09:24:43 -06:00 
						 
				 
			
				
					
						
							
							
								Yury Delendik 
							
						 
					 
					
						
						
						
						
							
						
						
							27efe5608f 
							
						 
					 
					
						
						
							
							Test case from  #6019 .  
						
						
						
						
					 
					
						2015-11-03 09:03:08 -06:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							034087bb40 
							
						 
					 
					
						
						
							
							Replace the linked test-case for issue 3879 with a reduced test-case  
						
						... 
						
						
						
						Re: issue 3879 and PR 3880. 
						
						
					 
					
						2015-11-01 13:02:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							cf09f38340 
							
						 
					 
					
						
						
							
							Replace the linked test-case for issue 1293 with a reduced test-case  
						
						... 
						
						
						
						When I submitted PR 3576, I included a linked test-case. The reason was that I didn't know enough about the PDF format, in order to successfully create a reduced test-case.
Considering that the link points to a Dropbox, there's no guarantee that the PDF file will remain available, hence it seems worthwhile to replace the test-case.
*Note:* Since this is a `load` test, `makeref` won't be necessary. 
						
						
					 
					
						2015-10-29 13:39:29 +01:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							ec04c4acb7 
							
						 
					 
					
						
						
							
							Add a reduced test-case for issue 6151  
						
						... 
						
						
						
						Re: issue 6151 and PR 6193.
*Note:* Since this is a `load` test, `makeref` won't be necessary. 
						
						
					 
					
						2015-10-23 18:50:14 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							d3782ff8d4 
							
						 
					 
					
						
						
							
							Add a reduced test-case for issue 4575  
						
						... 
						
						
						
						Re: issue 4575 and PR 4581. 
						
						
					 
					
						2015-10-23 15:15:06 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							2e751199fb 
							
						 
					 
					
						
						
							
							Prevent getOperatorList from failing to correctly parse OPS.paintXObject for TilingPatterns that are missing some /Resources entries (issue 6541)  
						
						... 
						
						
						
						Fixes 6541. 
						
						
					 
					
						2015-10-21 21:30:56 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							34cbee9bd3 
							
						 
					 
					
						
						
							
							Add unit-tests for PR 6531  
						
						
						
						
					 
					
						2015-10-16 18:54:18 +02:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							c4403e6fd2 
							
						 
					 
					
						
						
							
							Merge pull request  #6434  from Snuffleupagus/issue-4436-reduced-test  
						
						... 
						
						
						
						Replace the unavailable linked test-case for issue 4436 with a reduced test-case 
						
						
					 
					
						2015-10-13 00:32:05 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							03f2c704a3 
							
						 
					 
					
						
						
							
							Add a reduced load test-case for bug 1020858  
						
						... 
						
						
						
						Re: PR 4907 and https://bugzilla.mozilla.org/show_bug.cgi?id=1020858 .
*Note:* Since this is a `load` test, `makeref` won't be necessary. 
						
						
					 
					
						2015-10-04 23:49:49 +02:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							5e4910f7b6 
							
						 
					 
					
						
						
							
							Merge pull request  #6491  from Snuffleupagus/check-trailer-if-xref-missing  
						
						... 
						
						
						
						Make `XRef_indexObjects` even more robust against bad PDF files, by checking for the existence of 'trailer' if 'xref' is not found 
						
						
					 
					
						2015-10-04 16:00:00 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							e8ad6c9d13 
							
						 
					 
					
						
						
							
							Add a unit-test for bug 1020226  
						
						... 
						
						
						
						For reference, see PR 4902 and https://bugzilla.mozilla.org/show_bug.cgi?id=1020226 . 
						
						
					 
					
						2015-10-04 15:45:24 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							192907e0d2 
							
						 
					 
					
						
						
							
							Make XRef_indexObjects even more robust against bad PDF files, by checking for the existence of 'trailer' if 'xref' is not found  
						
						... 
						
						
						
						Fixes http://www.cyjack.com/cognition/Terence%20McKenna%20-%20Lectures%20on%20Alchemy.pdf . 
						
						
					 
					
						2015-10-01 15:01:25 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							1b8cb52555 
							
						 
					 
					
						
						
							
							Prevent PartialEvaluator_buildFormXObject from failing if the Matrix or BBox contains indirect objects  
						
						... 
						
						
						
						This patch fixes yet another instance of bad PDF data, specifically a case where the `BBox` array contains indirect objects (i.e. `Ref`s).
Fixes the missing image in http://www.int.washington.edu/talks/WorkShops/int_08_37W/People/Franz_M/Franz.pdf#page=24 . *Note:* There are missing images on a number of the pages in that file. 
						
						
					 
					
						2015-09-29 10:11:49 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							b218b222b5 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for PR 2875 with a reduced test-case  
						
						... 
						
						
						
						This reduced PDF file only contains the relevant text/font; for reference please see PR 2875. 
						
						
					 
					
						2015-09-16 13:59:58 +02:00 
						 
				 
			
				
					
						
							
							
								Fabian Lange 
							
						 
					 
					
						
						
						
						
							
						
						
							2564827503 
							
						 
					 
					
						
						
							
							Fix text spacing with vertical fonts ( #6387 )  
						
						... 
						
						
						
						According to the PDF spec 5.3.2, a positive value means in horizontal,
that the next glyph is further to the left (so narrower), and in
vertical that it is further down (so wider).
This change fixes the way PDF.js has interpreted the value. 
						
						
					 
					
						2015-09-15 09:28:45 +02:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							e68a5c0222 
							
						 
					 
					
						
						
							
							Merge pull request  #6435  from Snuffleupagus/issue-3205-reduced-test  
						
						... 
						
						
						
						Replace the unavailable linked test-case for issue 3205 with a reduced test-case 
						
						
					 
					
						2015-09-14 23:59:14 +02:00 
						 
				 
			
				
					
						
							
							
								Tim van der Meij 
							
						 
					 
					
						
						
						
						
							
						
						
							b360fd104b 
							
						 
					 
					
						
						
							
							Merge pull request  #6420  from Snuffleupagus/pr-4922-test  
						
						... 
						
						
						
						Add a reduced test-case for PR 4922 
						
						
					 
					
						2015-09-10 21:54:45 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							c043a6e3a3 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 3205 with a reduced test-case  
						
						
						
						
					 
					
						2015-09-10 16:59:30 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							7f7025247a 
							
						 
					 
					
						
						
							
							Replace the unavailable linked test-case for issue 4436 with a reduced test-case  
						
						... 
						
						
						
						Issue 4436 actually contains enough information to create a reduced test-case, which this patch uses to replace a currently unavailable linked test. 
						
						
					 
					
						2015-09-10 13:01:20 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							29a1cdb6a6 
							
						 
					 
					
						
						
							
							Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410)  
						
						... 
						
						
						
						For (1, 0) cmaps, we have two different codepaths depending on whether the font has/hasn't got an encoding. But with (3, 1) cmaps we don't have a good fallback when the encoding is missing, hence this patch changes `readCmapTable` to only choose a (3, 1) cmap table if the font is non-symbolic *and* an encoding exists. Without this, we'll not be able to successfully create a working glyph map for some TrueType fonts with (3, 1) cmap tables.
Fixes 6410. 
						
						
					 
					
						2015-09-07 16:56:05 +02:00 
						 
				 
			
				
					
						
							
							
								Jonas Jenwald 
							
						 
					 
					
						
						
						
						
							
						
						
							de6a74f58d 
							
						 
					 
					
						
						
							
							Add a reduced test-case for PR 4922  
						
						
						
						
					 
					
						2015-09-05 12:51:05 +02:00