shithub: freetype+ttf2subf

Download patch

ref: 48641d60ae853a34a5c683d69cf35f879d2567d1
parent: 9a9315faae0e3efe24a6029ad2ca4f32e726f60f
author: David Turner <[email protected]>
date: Tue May 2 07:00:06 EDT 2000

added a simple line to set "glyph.control_len" when loading
a simple glyph. This is used to compute statistics on font files..

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -233,6 +233,7 @@
     /* reading the bytecode instructions                                 */
     
     n_ins = GET_UShort();
+    load->face->root.glyph->control_len = n_ins;
 
     if ( n_points > load->left_points )
     {