Commit 48641d60ae853a34a5c683d69cf35f879d2567d1

David Turner 2000-05-02T11:00:06

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
index 6c3b93f..e824f62 100644
--- 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 )
     {