|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
/* */ |
|
|
|
|
/* FreeType PostScript hints recorder (body). */ |
|
|
|
|
/* */ |
|
|
|
|
/* Copyright 2001, 2002, 2003 by */ |
|
|
|
|
/* Copyright 2001, 2002, 2003, 2004 by */ |
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
|
|
|
/* */ |
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */ |
|
|
|
@ -318,8 +318,7 @@ |
|
|
|
|
PS_Mask mask; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* allocate new mask, and grow it to "bit_count" bits */ |
|
|
|
|
error = ps_mask_table_alloc( table, memory, &mask ); |
|
|
|
|
error = ps_mask_table_last( table, memory, &mask ); |
|
|
|
|
if ( error ) |
|
|
|
|
goto Exit; |
|
|
|
|
|
|
|
|
@ -1018,12 +1017,12 @@ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* set-up new horizontal and vertical hint mask now */ |
|
|
|
|
error = ps_dimension_set_mask_bits( &dim[0], bytes, 0, count1, |
|
|
|
|
error = ps_dimension_set_mask_bits( &dim[0], bytes, count2, count1, |
|
|
|
|
end_point, memory ); |
|
|
|
|
if ( error ) |
|
|
|
|
goto Fail; |
|
|
|
|
|
|
|
|
|
error = ps_dimension_set_mask_bits( &dim[1], bytes, count1, count2, |
|
|
|
|
error = ps_dimension_set_mask_bits( &dim[1], bytes, 0, count2, |
|
|
|
|
end_point, memory ); |
|
|
|
|
if ( error ) |
|
|
|
|
goto Fail; |
|
|
|
|