ref: 8a8d5c88b531757919799f3425ed44eb33685c0e
parent: 131f8ea8d530af5f4c54d667f4a75db17cf634c9
author: David Turner <[email protected]>
date: Wed Feb 28 04:36:13 EST 2001
the Type 1 glyph loader now sets the glyph control data to the T1 charstrings program.
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,10 @@
* builds/hurd/detect.mk: added support to detect the GNU Hurd operating
system as Unix-like. Fix submitted by Anthony Fok <[email protected]>
+ * src/type1/t1gload.c (T1_Load_Glyph): set glyph control data to the
+ the Type 1 glyph charstring. (used by conversion programs).
+ submitted by Ha Shao <[email protected]>
+
2001-02-22 David Turner <[email protected]>
* src/base/ftgrays.c (grays_sweep): the function didn't exit
--- a/src/type1/t1gload.c
+++ b/src/type1/t1gload.c
@@ -296,6 +296,11 @@
metrics->horiBearingX = cbox.xMin;
metrics->horiBearingY = cbox.yMax;
}
+
+ /* set control data to the glyph charstrings. Note that this is */
+ /* _not_ 0 terminated.. */
+ glyph->root.control_data = type1->charstrings [glyph_index];
+ glyph->root.control_len = type1->charstrings_len[glyph_index];
}
Exit: