diff options
author | Werner Lemberg <wl@gnu.org> | 2022-04-01 08:50:33 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2022-04-01 08:50:33 +0200 |
commit | 695d606ae5c86fef8e1207a859fb3fd0cee5a27f (patch) | |
tree | fbd0e6bd17f8f3a003787b33e6cc7fbf6cb7e3af /src/sfnt | |
parent | d247c56278215d2ff9cb65563fe250b9a852c18a (diff) | |
download | freetype2-695d606ae5c86fef8e1207a859fb3fd0cee5a27f.tar.gz |
Whitespace.
Diffstat (limited to 'src/sfnt')
-rw-r--r-- | src/sfnt/pngshim.c | 4 | ||||
-rw-r--r-- | src/sfnt/sfwoff2.c | 4 | ||||
-rw-r--r-- | src/sfnt/ttcmap.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/sfnt/pngshim.c b/src/sfnt/pngshim.c index a76707660..0ce4bdb6b 100644 --- a/src/sfnt/pngshim.c +++ b/src/sfnt/pngshim.c @@ -367,7 +367,7 @@ } /* transform transparency to alpha */ - if ( png_get_valid(png, info, PNG_INFO_tRNS ) ) + if ( png_get_valid( png, info, PNG_INFO_tRNS ) ) png_set_tRNS_to_alpha( png ); if ( bitdepth == 16 ) @@ -387,7 +387,7 @@ png_set_filler( png, 0xFF, PNG_FILLER_AFTER ); /* recheck header after setting EXPAND options */ - png_read_update_info(png, info ); + png_read_update_info( png, info ); png_get_IHDR( png, info, &imgWidth, &imgHeight, &bitdepth, &color_type, &interlace, diff --git a/src/sfnt/sfwoff2.c b/src/sfnt/sfwoff2.c index 493964765..0a0938d43 100644 --- a/src/sfnt/sfwoff2.c +++ b/src/sfnt/sfwoff2.c @@ -2104,7 +2104,7 @@ error = FT_THROW( Invalid_Table ); goto Exit; } - file_offset = ROUND4(woff2.metaOffset + woff2.metaLength); + file_offset = ROUND4( woff2.metaOffset + woff2.metaLength ); } if ( woff2.privOffset ) @@ -2114,7 +2114,7 @@ error = FT_THROW( Invalid_Table ); goto Exit; } - file_offset = ROUND4(woff2.privOffset + woff2.privLength); + file_offset = ROUND4( woff2.privOffset + woff2.privLength ); } if ( file_offset != ( ROUND4( woff2.length ) ) ) diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c index 6d099a487..bfeabacb7 100644 --- a/src/sfnt/ttcmap.c +++ b/src/sfnt/ttcmap.c @@ -465,7 +465,7 @@ if ( subheader ) { FT_Byte* p = subheader; - FT_UInt idx = (FT_UInt)(char_code & 0xFF); + FT_UInt idx = (FT_UInt)( char_code & 0xFF ); FT_UInt start, count; FT_Int delta; FT_UInt offset; |