Whitespace.
This commit is contained in:
parent
3101f89825
commit
3295039107
|
@ -1528,7 +1528,7 @@
|
|||
}
|
||||
|
||||
if ( dist < 54 )
|
||||
dist += ( 54 - dist ) / 2 ;
|
||||
dist += ( 54 - dist ) / 2;
|
||||
else if ( dist < 3 * 64 )
|
||||
{
|
||||
FT_Pos delta;
|
||||
|
|
|
@ -351,7 +351,7 @@
|
|||
}
|
||||
|
||||
/* for each row */
|
||||
for ( y = 0; y < bitmap->rows ; y++ )
|
||||
for ( y = 0; y < bitmap->rows; y++ )
|
||||
{
|
||||
/*
|
||||
* Horizontally:
|
||||
|
|
|
@ -228,7 +228,7 @@
|
|||
|
||||
|
||||
if ( !fontName || !face_index )
|
||||
return FT_THROW( Invalid_Argument) ;
|
||||
return FT_THROW( Invalid_Argument);
|
||||
|
||||
err = FT_GetFileRef_From_Mac_ATS_Name( fontName, &ref, face_index );
|
||||
if ( err )
|
||||
|
|
|
@ -403,7 +403,7 @@
|
|||
errors[i] = FT_Err_Ok;
|
||||
|
||||
if ( errors[i] )
|
||||
continue ;
|
||||
continue;
|
||||
|
||||
errors[i] = (FT_RACCESS_GUESS_TABLE_GET[i].func)( library,
|
||||
stream, base_name,
|
||||
|
|
|
@ -778,7 +778,7 @@
|
|||
|
||||
case ft_frame_short_be:
|
||||
case ft_frame_ushort_be: /* read a 2-byte big-endian short */
|
||||
value = FT_NEXT_USHORT( cursor) ;
|
||||
value = FT_NEXT_USHORT( cursor );
|
||||
sign_shift = 16;
|
||||
break;
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ FT_BEGIN_HEADER
|
|||
} \
|
||||
_node = _node->next; \
|
||||
\
|
||||
} while ( _node != _first) ; \
|
||||
} while ( _node != _first); \
|
||||
} \
|
||||
\
|
||||
error = FTC_MruList_New( (list), (key), (FTC_MruNode*)(void*)&(node) ); \
|
||||
|
|
|
@ -680,7 +680,7 @@
|
|||
#endif /* FT_CONFIG_OPTION_INCREMENTAL */
|
||||
|
||||
{
|
||||
CFF_Font cff = (CFF_Font)(face->extra.data);
|
||||
CFF_Font cff = (CFF_Font)(face->extra.data);
|
||||
|
||||
|
||||
return cff_index_access_element( &cff->charstrings_index, glyph_index,
|
||||
|
|
|
@ -809,7 +809,7 @@
|
|||
/* When multiple GIDs map to the same CID, we choose the lowest */
|
||||
/* GID. This is not described in any spec, but it matches the */
|
||||
/* behaviour of recent Acroread versions. */
|
||||
for ( j = (FT_Long)num_glyphs - 1; j >= 0 ; j-- )
|
||||
for ( j = (FT_Long)num_glyphs - 1; j >= 0; j-- )
|
||||
charset->cids[charset->sids[j]] = (FT_UShort)j;
|
||||
|
||||
charset->max_cid = max_cid;
|
||||
|
|
|
@ -900,7 +900,7 @@
|
|||
for ( i = 0; i < nnames; i++ )
|
||||
{
|
||||
if ( FT_Get_Sfnt_Name( gxvalid->face, i, &name ) != FT_Err_Ok )
|
||||
continue ;
|
||||
continue;
|
||||
|
||||
if ( name.name_id == name_index )
|
||||
goto Out;
|
||||
|
@ -1472,7 +1472,7 @@
|
|||
if ( ( p + ( maxEntry + 1 ) * entrySize ) > limit )
|
||||
FT_INVALID_TOO_SHORT;
|
||||
|
||||
for (entry = 0; entry <= maxEntry ; entry++ )
|
||||
for (entry = 0; entry <= maxEntry; entry++ )
|
||||
{
|
||||
FT_UShort newState_idx;
|
||||
FT_UShort flags;
|
||||
|
|
|
@ -338,7 +338,7 @@ FT_BEGIN_HEADER
|
|||
\
|
||||
\
|
||||
for ( b = p; b < (FT_Bytes)p + len; b++ ) \
|
||||
FT_TRACE1(("\\x%02x", *b)) ; \
|
||||
FT_TRACE1(("\\x%02x", *b)); \
|
||||
} \
|
||||
FT_END_STMNT
|
||||
|
||||
|
@ -350,9 +350,9 @@ FT_BEGIN_HEADER
|
|||
\
|
||||
for ( b = p; b < (FT_Bytes)p + len; b++ ) \
|
||||
if ( 0x40 < *b && *b < 0x7E ) \
|
||||
FT_TRACE1(("%c", *b)) ; \
|
||||
FT_TRACE1(("%c", *b)); \
|
||||
else \
|
||||
FT_TRACE1(("\\x%02x", *b)) ; \
|
||||
FT_TRACE1(("\\x%02x", *b)); \
|
||||
} \
|
||||
FT_END_STMNT
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@
|
|||
FT_Bytes limit,
|
||||
GXV_Validator gxvalid )
|
||||
{
|
||||
FT_Bytes p = table ;
|
||||
FT_Bytes p = table;
|
||||
FT_Bytes wdc_end = table + GXV_JUST_DATA( wdc_offset_max );
|
||||
FT_UInt i;
|
||||
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
|
||||
|
||||
GXV_NAME_ENTER( "validating contents of substitutionTable" );
|
||||
for ( i = 0; i < num_gids ; i ++ )
|
||||
for ( i = 0; i < num_gids; i++ )
|
||||
{
|
||||
FT_UShort dst_gid;
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
GXV_LIMIT_CHECK( nTracks * ( 4 + 2 + 2 ) );
|
||||
|
||||
for ( i = 0; i < nTracks; i ++ )
|
||||
for ( i = 0; i < nTracks; i++ )
|
||||
{
|
||||
p = table + i * ( 4 + 2 + 2 );
|
||||
track = FT_NEXT_LONG( p );
|
||||
|
@ -125,7 +125,7 @@
|
|||
|
||||
gxv_sfntName_validate( nameIndex, 256, 32767, gxvalid );
|
||||
|
||||
for ( j = i; j < nTracks; j ++ )
|
||||
for ( j = i; j < nTracks; j++ )
|
||||
{
|
||||
p = table + j * ( 4 + 2 + 2 );
|
||||
t = FT_NEXT_LONG( p );
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
FT_Int isItalic )
|
||||
{
|
||||
FT_Bytes p = table;
|
||||
FT_UInt i, cnt, table_size ;
|
||||
FT_UInt i, cnt, table_size;
|
||||
|
||||
OTV_OPTIONAL_TABLE( Coverage );
|
||||
OTV_OPTIONAL_TABLE( DeviceTableOffset );
|
||||
|
|
|
@ -442,7 +442,7 @@ THE SOFTWARE.
|
|||
int i;
|
||||
|
||||
|
||||
for ( i = 0 ; i < face->nprops && !found; i++ )
|
||||
for ( i = 0; i < face->nprops && !found; i++ )
|
||||
{
|
||||
if ( !ft_strcmp( properties[i].name, prop ) )
|
||||
found = 1;
|
||||
|
|
|
@ -1245,7 +1245,7 @@
|
|||
mid = max + 1;
|
||||
|
||||
/* search in segments before the current segment */
|
||||
for ( i = max ; i > 0; i-- )
|
||||
for ( i = max; i > 0; i-- )
|
||||
{
|
||||
FT_UInt prev_end;
|
||||
FT_Byte* old_p;
|
||||
|
|
|
@ -551,7 +551,7 @@
|
|||
for ( i = 0; i < blend->tuplecount; i++ )
|
||||
{
|
||||
FT_TRACE5(( " [ " ));
|
||||
for ( j = 0 ; j < (FT_UInt)gvar_head.axisCount; j++ )
|
||||
for ( j = 0; j < (FT_UInt)gvar_head.axisCount; j++ )
|
||||
{
|
||||
blend->tuplecoords[i * gvar_head.axisCount + j] =
|
||||
FT_GET_SHORT() * 4; /* convert to FT_Fixed */
|
||||
|
|
|
@ -398,11 +398,11 @@
|
|||
for ( j = 0; j < TRICK_SFNT_IDS_NUM_FACES; j++ )
|
||||
{
|
||||
if ( !has_cvt && !sfnt_id[j][TRICK_SFNT_ID_cvt].Length )
|
||||
num_matched_ids[j] ++;
|
||||
num_matched_ids[j]++;
|
||||
if ( !has_fpgm && !sfnt_id[j][TRICK_SFNT_ID_fpgm].Length )
|
||||
num_matched_ids[j] ++;
|
||||
num_matched_ids[j]++;
|
||||
if ( !has_prep && !sfnt_id[j][TRICK_SFNT_ID_prep].Length )
|
||||
num_matched_ids[j] ++;
|
||||
num_matched_ids[j]++;
|
||||
if ( num_matched_ids[j] == TRICK_SFNT_IDS_PER_FACE )
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -197,7 +197,7 @@
|
|||
/* encoding of first glyph (1 byte) */
|
||||
/* encoding of second glyph (1 byte) */
|
||||
/* offset (little-endian short) */
|
||||
for ( ; p < limit ; p += 4 )
|
||||
for ( ; p < limit; p += 4 )
|
||||
{
|
||||
kp->index1 = FT_Get_Char_Index( t1_face, p[0] );
|
||||
kp->index2 = FT_Get_Char_Index( t1_face, p[1] );
|
||||
|
|
|
@ -326,7 +326,7 @@
|
|||
/* Point to axes after MM_Var struct */
|
||||
mmvar->namedstyle = NULL;
|
||||
|
||||
for ( i = 0 ; i < mmaster.num_axis; ++i )
|
||||
for ( i = 0; i < mmaster.num_axis; ++i )
|
||||
{
|
||||
mmvar->axis[i].name = mmaster.axis[i].name;
|
||||
mmvar->axis[i].minimum = INT_TO_FIXED( mmaster.axis[i].minimum);
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
"pshinter" );
|
||||
return ( module && pshinter && pshinter->get_globals_funcs )
|
||||
? pshinter->get_globals_funcs( module )
|
||||
: 0 ;
|
||||
: 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue