[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 2d4ecd2c: Whitespace.
From: |
Werner Lemberg |
Subject: |
[freetype2-demos] master 2d4ecd2c: Whitespace. |
Date: |
Thu, 19 Dec 2024 09:28:44 -0500 (EST) |
branch: master
commit 2d4ecd2c4eaf61ac49212ccfd98ea7c25e012ac3
Author: Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov (Алексей Подтележников) <apodtele@gmail.com>
Whitespace.
---
src/ftbench.c | 12 ++++++------
src/ftcommon.c | 2 +-
src/ftgrid.c | 8 ++++----
src/ftpngout.c | 2 +-
src/ftstring.c | 2 +-
src/ftvalid.c | 2 +-
src/ftview.c | 2 +-
7 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/ftbench.c b/src/ftbench.c
index ec5c46cb..7956592c 100644
--- a/src/ftbench.c
+++ b/src/ftbench.c
@@ -1482,14 +1482,14 @@
flags = FT_LOAD_DEFAULT;
benchmark( face, &test, max_iter, max_time );
- test.title = "Load_Advances (Fast)";
- test.bench = test_load_advances;
- flags = FT_LOAD_TARGET_LIGHT;
+ test.title = "Load_Advances (Fast)";
+ test.bench = test_load_advances;
+ flags = FT_LOAD_TARGET_LIGHT;
benchmark( face, &test, max_iter, max_time );
- test.title = "Load_Advances (Unscaled)";
- test.bench = test_load_advances;
- flags = FT_LOAD_NO_SCALE;
+ test.title = "Load_Advances (Unscaled)";
+ test.bench = test_load_advances;
+ flags = FT_LOAD_NO_SCALE;
benchmark( face, &test, max_iter, max_time );
break;
diff --git a/src/ftcommon.c b/src/ftcommon.c
index c100e21b..64743a25 100644
--- a/src/ftcommon.c
+++ b/src/ftcommon.c
@@ -810,7 +810,7 @@
}
}
- pixel_size = face->available_sizes[j].y_ppem / 64 ;
+ pixel_size = face->available_sizes[j].y_ppem / 64;
}
handle->scaler.width = (FT_UInt)pixel_size;
diff --git a/src/ftgrid.c b/src/ftgrid.c
index 434e75c1..9a1d77d3 100644
--- a/src/ftgrid.c
+++ b/src/ftgrid.c
@@ -610,7 +610,7 @@
/* extreme zoom needs early crop to avoid memory overallocation */
delta = oy - top * scale;
if ( delta < 0 )
- {
+ {
delta /= scale;
rows += delta;
top += delta;
@@ -620,9 +620,9 @@
delta = oy + ( rows - top ) * scale - display->bitmap->rows;
if ( delta > 0 )
- {
+ {
delta /= scale;
- rows -= delta;
+ rows -= delta;
if ( bitg.pitch < 0 )
bitg.buffer += delta * bitg.pitch * piy;
}
@@ -1876,7 +1876,7 @@
(*argv)++;
}
else
- status.ptsize = 32 * 64 ;
+ status.ptsize = 32 * 64;
if ( have_encoding && !have_index )
status.Num = 0x20;
diff --git a/src/ftpngout.c b/src/ftpngout.c
index bd242948..28d6c98c 100644
--- a/src/ftpngout.c
+++ b/src/ftpngout.c
@@ -322,7 +322,7 @@
palette.Count = 256;
format = PixelFormat8bppIndexed;
- for ( color = 0xFF000000; color >= 0xFF000000 ; color += 0x00010101 )
+ for ( color = 0xFF000000; color >= 0xFF000000; color += 0x00010101 )
*entry++ = color;
}
break;
diff --git a/src/ftstring.c b/src/ftstring.c
index a0bec948..d10f1931 100644
--- a/src/ftstring.c
+++ b/src/ftstring.c
@@ -806,7 +806,7 @@
(*argv)++;
}
else
- status.ptsize = 32 * 64 ;
+ status.ptsize = 32 * 64;
}
diff --git a/src/ftvalid.c b/src/ftvalid.c
index 8851fc39..8c15b56d 100644
--- a/src/ftvalid.c
+++ b/src/ftvalid.c
@@ -216,7 +216,7 @@
if (library_initializer)
{
library = library_initializer;
- return ;
+ return;
}
fprintf( stderr,
diff --git a/src/ftview.c b/src/ftview.c
index c3482e21..c58d61b9 100644
--- a/src/ftview.c
+++ b/src/ftview.c
@@ -1829,7 +1829,7 @@
(*argv)++;
}
else
- status.ptsize = 32 * 64 ;
+ status.ptsize = 32 * 64;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 2d4ecd2c: Whitespace.,
Werner Lemberg <=