shithub: freetype+ttf2subf

Download patch

ref: e6eaadf68307165b49e5a56202bf0cde1ef4aa60
parent: 629bf286e76cd11f5dc25f3e888c2267592541c8
author: Tom Kacvinsky <[email protected]>
date: Sat Oct 20 16:49:58 EDT 2001

Added another entry for t1load.c related to synthetic fonts: make sure
that custom encodings are not loaded twice (thus avoiding a memory
leak).

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 2001-10-20  Tom Kacvinsky  <[email protected]>
+	
+	* src/type1/t1load.c (parse_encoding): Add a test to make sure
+	that custom encodings (i.e., neither StandardEncoding nor
+	ExpertEncoding) are not loaded twice when the Type 1 font is
+	synthetic.
 
 	* src/type1/t1load.c (parse_font_name, parse_subrs): Added a test
 	for when loading synthetic fonts to make sure that the font name