diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-08 22:39:00 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-08 22:39:00 +0100 |
commit | 68d533e7fdbbd33d720412aaab1848200b6c8863 (patch) | |
tree | e6310d970993ccb4886d6e6a4e2924cce0f14d89 /libfonts_calculate_subpixel_order.c | |
parent | Fix warnings (diff) | |
download | libfonts-68d533e7fdbbd33d720412aaab1848200b6c8863.tar.gz libfonts-68d533e7fdbbd33d720412aaab1848200b6c8863.tar.bz2 libfonts-68d533e7fdbbd33d720412aaab1848200b6c8863.tar.xz |
m + add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libfonts_calculate_subpixel_order.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libfonts_calculate_subpixel_order.c b/libfonts_calculate_subpixel_order.c index 5727fc9..d674be0 100644 --- a/libfonts_calculate_subpixel_order.c +++ b/libfonts_calculate_subpixel_order.c @@ -173,22 +173,22 @@ test(int xtrans, int ytrans, int zscale, int xscale, int yscale) do {\ FLIP_(A, B);\ FLIP_(B, A);\ - } while(0) + } while (0) #define FLOP(A, B)\ do {\ FLOP_(A, B);\ FLOP_(B, A);\ - } while(0) + } while (0) #define TRANSPOSE(A, B)\ do {\ TRANSPOSE_(A, B);\ TRANSPOSE_(B, A);\ - } while(0) + } while (0) #define ANTITRANSPOSE(A, B)\ do {\ ANTITRANSPOSE_(A, B);\ ANTITRANSPOSE_(B, A);\ - } while(0) + } while (0) #define NONLINEAR(IN) NONLINEAR_(IN, NONLINEAR) #define UNKNOWN(IN) UNKNOWN_(IN, UNKNOWN) @@ -201,17 +201,17 @@ test(int xtrans, int ytrans, int zscale, int xscale, int yscale) do {\ M(A, B);\ M(BALANCED_##A, BALANCED_##B);\ - } while(0) + } while (0) #define NONLINEARX(A)\ do {\ NONLINEAR(A);\ NONLINEAR(BALANCED_##A);\ - } while(0) + } while (0) #define UNKNOWNX(A)\ do {\ UNKNOWN(A);\ UNKNOWN(BALANCED_##A);\ - } while(0) + } while (0) struct libfonts_transformation asis_matrix = {.m = { {+xscale, 0, xtrans}, |