[autofit] Remove unused structure member.

* src/autofit/afhints.h (AF_SegmentRec): Remove `contour'.
* src/autofit/aflatin.c (af_latin_hints_compute_segments),
src/autofit/aflatin2.c (af_latin2_hints_compute_segments): Updated.
This commit is contained in:
Werner Lemberg 2011-06-08 09:32:56 +02:00
Родитель fe0f16d295
Коммит 58d1a5ee74
4 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -1,3 +1,11 @@
2011-06-08 Werner Lemberg <wl@gnu.org>
[autofit] Remove unused structure member.
* src/autofit/afhints.h (AF_SegmentRec): Remove `contour'.
* src/autofit/aflatin.c (af_latin_hints_compute_segments),
src/autofit/aflatin2.c (af_latin2_hints_compute_segments): Updated.
2011-05-30 Werner Lemberg <wl@gnu.org>
Fix g++ 4.6 compilation.

Просмотреть файл

@ -282,9 +282,8 @@ FT_BEGIN_HEADER
FT_Pos score; /* used during stem matching */
FT_Pos len; /* used during stem matching */
AF_Point first; /* first point in edge segment */
AF_Point last; /* last point in edge segment */
AF_Point* contour; /* ptr to first point of segment's contour */
AF_Point first; /* first point in edge segment */
AF_Point last; /* last point in edge segment */
} AF_SegmentRec;

Просмотреть файл

@ -872,7 +872,6 @@
min_pos = max_pos = point->u;
segment->first = point;
segment->last = point;
segment->contour = contour;
on_edge = 1;
}

Просмотреть файл

@ -796,7 +796,6 @@
segment->dir = first->out_dir;
segment->first = first;
segment->last = point;
segment->contour = contour;
segment->pos = (FT_Short)(( min_u + max_u ) >> 1);
segment->min_coord = (FT_Short) min_v;
segment->max_coord = (FT_Short) max_v;