Merge remote-tracking branch 'upstream/master'
This commit is contained in:
		
						commit
						2996397812
					
				| @ -139,6 +139,9 @@ var ColorSpace = (function ColorSpaceClosure() { | ||||
|           var baseIndexedCS = ColorSpace.parseToIR(cs[1], xref, res); | ||||
|           var hiVal = cs[2] + 1; | ||||
|           var lookup = xref.fetchIfRef(cs[3]); | ||||
|           if (isStream(lookup)) { | ||||
|             lookup = lookup.getBytes(); | ||||
|           } | ||||
|           return ['IndexedCS', baseIndexedCS, hiVal, lookup]; | ||||
|         case 'Separation': | ||||
|         case 'DeviceN': | ||||
| @ -260,14 +263,18 @@ var IndexedCS = (function IndexedCSClosure() { | ||||
| 
 | ||||
|     var baseNumComps = base.numComps; | ||||
|     var length = baseNumComps * highVal; | ||||
|     var lookupArray = new Uint8Array(length); | ||||
|     var lookupArray; | ||||
| 
 | ||||
|     if (isStream(lookup)) { | ||||
|       lookupArray = new Uint8Array(length); | ||||
|       var bytes = lookup.getBytes(length); | ||||
|       lookupArray.set(bytes); | ||||
|     } else if (isString(lookup)) { | ||||
|       lookupArray = new Uint8Array(length); | ||||
|       for (var i = 0; i < length; ++i) | ||||
|         lookupArray[i] = lookup.charCodeAt(i); | ||||
|     } else if (lookup instanceof Uint8Array) { | ||||
|       lookupArray = lookup; | ||||
|     } else { | ||||
|       error('Unrecognized lookup table: ' + lookup); | ||||
|     } | ||||
|  | ||||
| @ -3747,6 +3747,10 @@ var Type1Parser = function type1Parser() { | ||||
|             case '/OtherBlues': | ||||
|             case '/FamilyBlues': | ||||
|             case '/FamilyOtherBlues': | ||||
|               var blueArray = readNumberArray(eexecStr, i + 1); | ||||
|               if (blueArray.length > 0 && (blueArray.length % 2) == 0) | ||||
|                 program.properties.privateData[token.substring(1)] = blueArray; | ||||
|               break; | ||||
|             case '/StemSnapH': | ||||
|             case '/StemSnapV': | ||||
|               program.properties.privateData[token.substring(1)] = | ||||
|  | ||||
							
								
								
									
										1
									
								
								test/pdfs/issue1685.pdf.link
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test/pdfs/issue1685.pdf.link
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| http://www.agapec.com.br/manual/manual_2007.pdf | ||||
							
								
								
									
										
											BIN
										
									
								
								test/pdfs/issue1985.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								test/pdfs/issue1985.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -451,6 +451,14 @@ | ||||
|       "link": true, | ||||
|       "type": "eq" | ||||
|     }, | ||||
|     {  "id": "issue1685", | ||||
|       "file": "pdfs/issue1685.pdf", | ||||
|       "md5": "b22c3741e6bd0e613d3eb3325ad31f7d", | ||||
|       "rounds": 1, | ||||
|       "pageLimit": 2, | ||||
|       "link": true, | ||||
|       "type": "eq" | ||||
|     }, | ||||
|     {  "id": "issue1169", | ||||
|       "file": "pdfs/issue1169.pdf", | ||||
|       "md5": "3df3ed21fd43ac7fdb21e2015c8a7809", | ||||
| @ -650,5 +658,11 @@ | ||||
|       "pageLimit": 1, | ||||
|       "link": true, | ||||
|       "type": "load" | ||||
|     }, | ||||
|     {  "id": "issue1985", | ||||
|       "file": "pdfs/issue1985.pdf", | ||||
|       "md5": "2ac7c68e26a8ef797aead15e4875cc6d", | ||||
|       "rounds": 1, | ||||
|       "type": "load" | ||||
|     } | ||||
| ] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user