* src/autohint/ahhint.c (ah_hinter_align_weak_points): Remove
unused variable `edges'. (ah_hinter_load): Remove unused variables `old_width' and `new_width'. * src/cid/cidload.c (cid_decrypt): Use `U' for constant (again). * src/psaux/psobjs.c (T1_Decrypt): Ditto. * src/type1/t1parse.c (T1_Get_Private_Dict): Ditto.
This commit is contained in:
parent
415235df1b
commit
a560a1e018
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2001-07-03 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autohint/ahhint.c (ah_hinter_align_weak_points): Remove
|
||||
unused variable `edges'.
|
||||
(ah_hinter_load): Remove unused variables `old_width' and
|
||||
`new_width'.
|
||||
* src/cid/cidload.c (cid_decrypt): Use `U' for constant (again).
|
||||
* src/psaux/psobjs.c (T1_Decrypt): Ditto.
|
||||
* src/type1/t1parse.c (T1_Get_Private_Dict): Ditto.
|
||||
|
||||
2001-06-26 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/cid/cidload.c, src/cid/cidload.h (cid_decrypt): Use FT_Offset
|
||||
|
|
|
@ -696,7 +696,6 @@
|
|||
{
|
||||
AH_Outline* outline = hinter->glyph;
|
||||
FT_Int dimension;
|
||||
AH_Edge* edges;
|
||||
AH_Point* points;
|
||||
AH_Point* point_limit;
|
||||
AH_Point** contour_limit;
|
||||
|
@ -708,7 +707,6 @@
|
|||
|
||||
/* PASS 1: Move segment points to edge positions */
|
||||
|
||||
edges = outline->horz_edges;
|
||||
touch_flag = ah_flah_touch_y;
|
||||
|
||||
contour_limit = outline->contours + outline->num_contours;
|
||||
|
@ -1106,7 +1104,6 @@
|
|||
/* we now need to hint the metrics according to the change in */
|
||||
/* width/positioning that occured during the hinting process */
|
||||
{
|
||||
FT_Pos old_width, new_width;
|
||||
FT_Pos old_advance;
|
||||
FT_Pos old_lsb, new_lsb;
|
||||
AH_Edge* edge1 = outline->vert_edges; /* leftmost edge */
|
||||
|
@ -1114,9 +1111,6 @@
|
|||
outline->num_vedges - 1; /* rightmost edge */
|
||||
|
||||
|
||||
old_width = edge2->opos - edge1->opos;
|
||||
new_width = edge2->pos - edge1->pos;
|
||||
|
||||
old_advance = hinter->pp2.x;
|
||||
old_lsb = edge1->opos;
|
||||
new_lsb = edge1->pos;
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
|
||||
plain = (FT_Byte)( *buffer ^ ( seed >> 8 ) );
|
||||
seed = (FT_UShort)( ( *buffer + seed ) * 52845 + 22719 );
|
||||
seed = (FT_UShort)( ( *buffer + seed ) * 52845U + 22719 );
|
||||
*buffer++ = plain;
|
||||
length--;
|
||||
}
|
||||
|
|
|
@ -1286,7 +1286,7 @@
|
|||
|
||||
|
||||
plain = (FT_Byte)( *buffer ^ ( seed >> 8 ) );
|
||||
seed = (FT_UShort)( ( *buffer + seed ) * 52845 + 22719 );
|
||||
seed = (FT_UShort)( ( *buffer + seed ) * 52845U + 22719 );
|
||||
*buffer++ = plain;
|
||||
length--;
|
||||
}
|
||||
|
|
|
@ -448,7 +448,7 @@
|
|||
}
|
||||
|
||||
/* we now decrypt the encoded binary private dictionary */
|
||||
psaux->t1_decrypt( parser->private_dict, parser->private_len, 55665 );
|
||||
psaux->t1_decrypt( parser->private_dict, parser->private_len, 55665U );
|
||||
parser->root.base = parser->private_dict;
|
||||
parser->root.cursor = parser->private_dict;
|
||||
parser->root.limit = parser->root.cursor + parser->private_len;
|
||||
|
|
Loading…
Reference in New Issue