mirror of
				https://github.com/johnwhitington/cpdf-source.git
				synced 2025-06-05 22:09:39 +02:00 
			
		
		
		
	CamlPDF changes
This commit is contained in:
		
							
								
								
									
										1
									
								
								Changes
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Changes
									
									
									
									
									
								
							| @@ -15,6 +15,7 @@ Fixes: | ||||
|  | ||||
| o Harden auto-compression against malformed streams | ||||
| o Add backup JPEG dimensions method in Cpdfimage | ||||
| o Correct object stream behaviour when splitting | ||||
|  | ||||
| * = Supported by a grant from NLnet | ||||
|  | ||||
|   | ||||
| @@ -1494,7 +1494,7 @@ let check_unicode tu n = | ||||
| let matterhorn_31_028 _ _ pdf = | ||||
|   iter | ||||
|     (fun i -> | ||||
|       let tu = Pdftext.parse_tounicode pdf (Pdf.lookup_obj pdf i) in | ||||
|       let tu = (Pdfcmap.parse_tounicode pdf (Pdf.lookup_obj pdf i)).map in | ||||
|         if check_unicode tu 0 then merror ()) | ||||
|     (all_tounicodes pdf) | ||||
|  | ||||
| @@ -1503,7 +1503,7 @@ let matterhorn_31_028 _ _ pdf = | ||||
| let matterhorn_31_029 _ _ pdf = | ||||
|   iter | ||||
|     (fun i -> | ||||
|       let tu = Pdftext.parse_tounicode pdf (Pdf.lookup_obj pdf i) in | ||||
|       let tu = (Pdfcmap.parse_tounicode pdf (Pdf.lookup_obj pdf i)).map in | ||||
|         if check_unicode tu 0xFEFF || check_unicode tu 0xFFFE then merror ()) | ||||
|     (all_tounicodes pdf) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user