Properly build toFontChar
This commit is contained in:
		
							parent
							
								
									b4e3554af2
								
							
						
					
					
						commit
						26b58c0e4f
					
				| @ -2147,8 +2147,9 @@ var Font = (function FontClosure() { | |||||||
|       for (var i = 0, ii = toUnicode.length; i < ii; i++) { |       for (var i = 0, ii = toUnicode.length; i < ii; i++) { | ||||||
|         var unicode = toUnicode[i]; |         var unicode = toUnicode[i]; | ||||||
|         var fontCharCode = typeof unicode === 'object' ? unusedUnicode++ : |         var fontCharCode = typeof unicode === 'object' ? unusedUnicode++ : | ||||||
|            unicode; |           unicode; | ||||||
|         result.push(fontCharCode); |         if (typeof unicode !== 'undefined') | ||||||
|  |           result[i] = fontCharCode; | ||||||
|       } |       } | ||||||
|       return result; |       return result; | ||||||
|     }, |     }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user