mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	Simplified text [ci skip]
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									b307fb4808
								
							
						
					
					
						commit
						eb0a61a47e
					
				|  | @ -546,7 +546,7 @@ def truetype(font=None, size=10, index=0, encoding="", layout_engine=None): | ||||||
|     This function loads a font object from the given file or file-like |     This function loads a font object from the given file or file-like | ||||||
|     object, and creates a font object for a font of the given size. |     object, and creates a font object for a font of the given size. | ||||||
| 
 | 
 | ||||||
|     Note that Pillow uses FreeType to open font files. If you are opening many |    Pillow uses FreeType to open font files. If you are opening many | ||||||
|     fonts simultaneously on Windows, be aware that Windows limits the number of |     fonts simultaneously on Windows, be aware that Windows limits the number of | ||||||
|     files that can be open in C at once to 512. If you approach that limit, an |     files that can be open in C at once to 512. If you approach that limit, an | ||||||
|     ``OSError`` may be thrown, reporting that FreeType "cannot open resource". |     ``OSError`` may be thrown, reporting that FreeType "cannot open resource". | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user