ref: 2e35c9b406be480a223b31ae44426258550e4c95
parent: 0d832659c75e2401ec7069f92ef7c06c8ea62f91
author: Werner Lemberg <[email protected]>
date: Tue Mar 6 08:56:42 EST 2001
formatting
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,14 +1,13 @@
-2001-03-05 Tom Kacvinsky <[email protected]>
+2001-03-05 Tom Kacvinsky <[email protected]>
* src/cff/cffgload.c (CFF_Load_Glyph): Set glyph control data to the
- the Type 2 glyph charstring (used by conversion programs). Submitted
- by Ha Shao <[email protected]>.
+ the Type 2 glyph charstring (used by conversion programs).
+ Submitted by Ha Shao <[email protected]>.
2001-03-04 Antoine Leca <[email protected]>
* include/freetype/ttnameid.h: Correct a stupid typo which prevented
correct compilation (TT_MS_LANGID_TIGRIGNA_ETHIOPIA appeared twice).
- I am sorry for the inconvenience :-(.
2001-03-04 Werner Lemberg <[email protected]>
@@ -47,7 +46,7 @@
the Type 1 glyph charstring (used by conversion programs).
Submitted by Ha Shao <[email protected]>.
-2001-02-22 David Turner <[email protected]>
+2001-02-22 David Turner <[email protected]>
* src/base/ftgrays.c (grays_sweep): The function didn't exit
immediately if `num_cells' was 0 as it should. Thanks to Boris for
--- a/src/cff/cffgload.c
+++ b/src/cff/cffgload.c
@@ -2139,6 +2139,7 @@
{
CFF_Index csindex = cff->charstrings_index;
+
CFF_Prepare_Decoder( &decoder, glyph_index );
error = CFF_Parse_CharStrings( &decoder, charstring, charstring_len );
@@ -2147,9 +2148,10 @@
/* We set control_data and control_len if charstrings is loaded. */
/* See how charstring loads at CFF_Access_Element() in cffload.c. */
- glyph->root.control_data = csindex.bytes + csindex.offsets[glyph_index] - 1;
- glyph->root.control_len = charstring_len;
-
+ glyph->root.control_data =
+ csindex.bytes + csindex.offsets[glyph_index] - 1;
+ glyph->root.control_len =
+ charstring_len;
}
/* save new glyph tables */