[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 11405a1: Some whitespace.
From: |
Alexei Podtelezhnikov |
Subject: |
[freetype2-demos] master 11405a1: Some whitespace. |
Date: |
Wed, 02 Dec 2015 04:36:35 +0000 |
branch: master
commit 11405a11b8e31c33f00f81e798f74962c5c4cbb4
Author: Alexei Podtelezhnikov <address@hidden>
Commit: Alexei Podtelezhnikov <address@hidden>
Some whitespace.
---
graph/gblbgra.h | 6 ++--
graph/gblhrgb.h | 1 -
src/ftvalid.c | 78 +++++++++++++++++++++++++++---------------------------
3 files changed, 42 insertions(+), 43 deletions(-)
diff --git a/graph/gblbgra.h b/graph/gblbgra.h
index ed9883f..1cdb1ea 100644
--- a/graph/gblbgra.h
+++ b/graph/gblbgra.h
@@ -39,9 +39,9 @@
unsigned int bg = dst[2];
- dst[0] = (unsigned char)(br * ba / 255 + r);
- dst[1] = (unsigned char)(bg * ba / 255 + g);
- dst[2] = (unsigned char)(bb * ba / 255 + b);
+ dst[0] = (unsigned char)(br * ba / 255 + r);
+ dst[1] = (unsigned char)(bg * ba / 255 + g);
+ dst[2] = (unsigned char)(bb * ba / 255 + b);
}
src += 4;
diff --git a/graph/gblhrgb.h b/graph/gblhrgb.h
index 4467b2a..4deb724 100644
--- a/graph/gblhrgb.h
+++ b/graph/gblhrgb.h
@@ -77,4 +77,3 @@
while (--h > 0);
GBLENDER_CHANNEL_CLOSE(blender);
-
diff --git a/src/ftvalid.c b/src/ftvalid.c
index 4957495..5b6f7df 100644
--- a/src/ftvalid.c
+++ b/src/ftvalid.c
@@ -98,8 +98,8 @@
int (* is_implemented)( FT_Library library );
FT_Error (* run) ( FT_Face face,
- const char* tables,
- int validation_level );
+ const char* tables,
+ int validation_level );
int (* list_tables) ( FT_Face face );
TableSpec table_spec;
@@ -112,14 +112,14 @@
static int is_ckern_validator_implemented ( FT_Library library );
static FT_Error run_ot_validator ( FT_Face face,
- const char* tables,
- int validation_level );
+ const char* tables,
+ int validation_level );
static FT_Error run_gx_validator ( FT_Face face,
- const char* tables,
- int validation_level );
+ const char* tables,
+ int validation_level );
static FT_Error run_ckern_validator ( FT_Face face,
- const char* dialect_request,
- int validation_level );
+ const char* dialect_request,
+ int validation_level );
static int list_ot_tables ( FT_Face face );
static int list_gx_tables ( FT_Face face );
@@ -132,9 +132,9 @@
OT_VALIDATE,
"ot",
( "FT_OpenType_Validate"
- " is disabled! Recompile FreeType 2 with "
- "otvalid"
- " module enabled.\n" ),
+ " is disabled! Recompile FreeType 2 with "
+ "otvalid"
+ " module enabled.\n" ),
is_ot_validator_implemented,
run_ot_validator,
list_ot_tables,
@@ -145,9 +145,9 @@
GX_VALIDATE,
"gx",
( "FT_TrueTypeGX_Validate"
- " is disabled! Recompile FreeType 2 with "
- "gxvalid"
- " module enabled.\n" ),
+ " is disabled! Recompile FreeType 2 with "
+ "gxvalid"
+ " module enabled.\n" ),
is_gx_validator_implemented,
run_gx_validator,
list_gx_tables,
@@ -158,9 +158,9 @@
CKERN_VALIDATE,
"ckern",
( "FT_ClassicKern_Validate"
- " is disabled! Recompile FreeType 2 with "
- "gxvalid" /* NOTE: classic kern validator is in gxvalid.
*/
- " module enabled.\n" ),
+ " is disabled! Recompile FreeType 2 with "
+ "gxvalid" /* NOTE: classic kern validator is in
gxvalid. */
+ " module enabled.\n" ),
is_ckern_validator_implemented,
run_ckern_validator,
list_ckern_tables,
@@ -263,7 +263,7 @@
v = &validators[i];
if ( v->n_table_spec == 0 )
- continue;
+ continue;
fprintf( stderr,
" Supported tables in %s validator:\n"
@@ -271,8 +271,8 @@
v->symbol );
for ( j = 0; j < v->n_table_spec; j++ )
{
- fprintf( stderr, " " );
- print_tag( stderr, v->table_spec[j].tag );
+ fprintf( stderr, " " );
+ print_tag( stderr, v->table_spec[j].tag );
}
fprintf( stderr,
"\n"
@@ -515,15 +515,15 @@
{
if ( spec[i].validation_flag & validation_flags )
{
- n_targets++;
-
- if ( data[i] != NULL )
- {
- printf( "[%s:%s] ", execname, validators[validator].symbol );
- print_tag( stdout, spec[i].tag );
- printf( "%s", "...pass\n" );
- n_passes++;
- }
+ n_targets++;
+
+ if ( data[i] != NULL )
+ {
+ printf( "[%s:%s] ", execname, validators[validator].symbol );
+ print_tag( stdout, spec[i].tag );
+ printf( "%s", "...pass\n" );
+ n_passes++;
+ }
}
}
@@ -786,7 +786,7 @@
{
int i;
- validator = LAST_VALIDATE;
+ validator = LAST_VALIDATE;
for ( i = 0; i < LAST_VALIDATE; i++ )
{
if ( strcmp( optarg, validators[i].symbol ) == 0 )
@@ -795,11 +795,11 @@
break;
}
}
- if ( validator == LAST_VALIDATE )
- {
- fprintf( stderr, "*** Unknown validator name: %s\n", optarg );
- print_usage( NULL );
- }
+ if ( validator == LAST_VALIDATE )
+ {
+ fprintf( stderr, "*** Unknown validator name: %s\n", optarg );
+ print_usage( NULL );
+ }
}
break;
@@ -873,8 +873,8 @@
status = 0;
if ( !validators[validator].is_implemented( library ) )
- panic( FT_Err_Unimplemented_Feature,
- validators[validator].unimplemented_message );
+ panic( FT_Err_Unimplemented_Feature,
+ validators[validator].unimplemented_message );
/* TODO: Multiple faces in a font file? */
@@ -883,9 +883,9 @@
panic( error, "Could not open face." );
if ( dump_table_list )
- validators[validator].list_tables( face );
+ validators[validator].list_tables( face );
else
- status = validators[validator].run( face, tables, validation_level );
+ status = validators[validator].run( face, tables, validation_level );
FT_Done_Face( face );
FT_Done_FreeType( library );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 11405a1: Some whitespace.,
Alexei Podtelezhnikov <=