Whitespace.

This commit is contained in:
Werner Lemberg 2023-01-28 17:04:11 +01:00
parent bea675cde6
commit bacc48e616
6 changed files with 58 additions and 53 deletions

View File

@ -105,6 +105,7 @@ THE SOFTWARE.
FT_UInt32 charcode )
{
PCF_Enc enc = ( (PCF_CMap)pcfcmap )->enc;
FT_UInt32 i = ( charcode >> 8 ) - enc->firstRow;
FT_UInt32 j = ( charcode & 0xFF ) - enc->firstCol;
FT_UInt32 h = enc->lastRow - enc->firstRow + 1;
@ -125,10 +126,12 @@ THE SOFTWARE.
{
PCF_Enc enc = ( (PCF_CMap)pcfcmap )->enc;
FT_UInt32 charcode = *acharcode + 1;
FT_UInt32 i = ( charcode >> 8 ) - enc->firstRow;
FT_UInt32 j = ( charcode & 0xFF ) - enc->firstCol;
FT_UInt32 h = enc->lastRow - enc->firstRow + 1;
FT_UInt32 w = enc->lastCol - enc->firstCol + 1;
FT_UInt result = 0;

View File

@ -57,7 +57,8 @@ in this Software without prior written authorization from The Open Group.
}
#if defined( __clang__ ) || ( defined( __GNUC__ ) && \
#if defined( __clang__ ) || \
( defined( __GNUC__ ) && \
( __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 8 ) ) )
#define BSWAP16( x ) __builtin_bswap16( x )

View File

@ -177,6 +177,7 @@
FT_ULong colr_offset_in_stream;
#endif
/* `COLR' always needs `CPAL' */
if ( !face->cpal )
return FT_THROW( Invalid_File_Format );