Rollback defaults for font's Length1 and Length2
This commit is contained in:
		
							parent
							
								
									48a2346275
								
							
						
					
					
						commit
						806fd49bbe
					
				
							
								
								
									
										4
									
								
								fonts.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								fonts.js
									
									
									
									
									
								
							@ -1188,8 +1188,8 @@ var type1Parser = new Type1Parser();
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
var CFF = function(name, file, properties) {
 | 
					var CFF = function(name, file, properties) {
 | 
				
			||||||
  // Get the data block containing glyphs and subrs informations
 | 
					  // Get the data block containing glyphs and subrs informations
 | 
				
			||||||
  var length1 = file.dict.get("Length1") || 0;
 | 
					  var length1 = file.dict.get("Length1");
 | 
				
			||||||
  var length2 = file.dict.get("Length2") || 0;
 | 
					  var length2 = file.dict.get("Length2");
 | 
				
			||||||
  file.skip(length1);
 | 
					  file.skip(length1);
 | 
				
			||||||
  var eexecBlock = file.getBytes(length2);
 | 
					  var eexecBlock = file.getBytes(length2);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user