ReactOS 0.4.16-dev-340-g0540c21
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <dirent.h>
#include <signal.h>
#include <time.h>
#include <ft2build.h>
Go to the source code of this file.
Classes | |
struct | fontlist |
Macros | |
#define | _XOPEN_SOURCE 500 /* for `kill', `strdup', `random', and `srandom' */ |
#define | true 1 |
#define | false 0 |
#define | forever for (;;) |
#define | GOOD_FONTS_DIR "/usr/local/share/fonts" |
Functions | |
static int | FT_MoveTo (const FT_Vector *to, void *user) |
static int | FT_LineTo (const FT_Vector *to, void *user) |
static int | FT_ConicTo (const FT_Vector *_cp, const FT_Vector *to, void *user) |
static int | FT_CubicTo (const FT_Vector *cp1, const FT_Vector *cp2, const FT_Vector *to, void *user) |
static void | TestFace (FT_Face face) |
static void | ExecuteTest (char *testfont) |
static int | extmatch (char *filename, char **extensions) |
static void | figurefiletype (struct fontlist *item) |
static void | FindFonts (char **fontdirs, char **extensions) |
static unsigned int | getErrorCnt (struct fontlist *item) |
static int | getRandom (int low, int high) |
static int | copyfont (struct fontlist *item, char *newfont) |
static void | abort_test (int sig) |
static void | do_test (void) |
static void | usage (FILE *out, char *name) |
int | main (int argc, char **argv) |
Variables | |
static int | check_outlines = false |
static int | nohints = false |
static int | rasterize = false |
static char * | results_dir = "results" |
static char * | default_dir_list [] |
static char * | default_ext_list [] |
static unsigned int | error_count = 1 |
static double | error_fraction = 0.0 |
static FT_F26Dot6 | font_size = 12 * 64 |
static struct fontlist * | fontlist |
static unsigned int | fcnt |
static FT_Outline_Funcs | outlinefuncs |
static int | child_pid |
Definition at line 32 of file ftrandom.c.
#define false 0 |
Definition at line 52 of file ftrandom.c.
Definition at line 53 of file ftrandom.c.
Definition at line 61 of file ftrandom.c.
#define true 1 |
Definition at line 51 of file ftrandom.c.
Definition at line 505 of file ftrandom.c.
Referenced by do_test().
Definition at line 437 of file ftrandom.c.
Referenced by do_test().
Definition at line 516 of file ftrandom.c.
Referenced by main(), and TestASet().
Definition at line 200 of file ftrandom.c.
Definition at line 242 of file ftrandom.c.
Referenced by FindFonts().
Definition at line 268 of file ftrandom.c.
Referenced by FindFonts().
Definition at line 348 of file ftrandom.c.
Referenced by main().
Definition at line 127 of file ftrandom.c.
Definition at line 116 of file ftrandom.c.
Definition at line 105 of file ftrandom.c.
Definition at line 416 of file ftrandom.c.
Referenced by copyfont().
Definition at line 426 of file ftrandom.c.
Referenced by copyfont(), and do_test().
Definition at line 599 of file ftrandom.c.
Definition at line 165 of file ftrandom.c.
Referenced by ExecuteTest().
Definition at line 556 of file ftrandom.c.
Definition at line 56 of file ftrandom.c.
Referenced by main(), and TestFace().
|
static |
Definition at line 502 of file ftrandom.c.
Referenced by abort_test(), and do_test().
|
static |
Definition at line 63 of file ftrandom.c.
|
static |
Definition at line 69 of file ftrandom.c.
Definition at line 86 of file ftrandom.c.
Referenced by getErrorCnt(), and main().
|
static |
Definition at line 87 of file ftrandom.c.
Referenced by getErrorCnt(), and main().
Definition at line 101 of file ftrandom.c.
Referenced by do_test(), and FindFonts().
|
static |
Definition at line 89 of file ftrandom.c.
Referenced by GdipGetFontHeightGivenDPI(), load_font(), main(), test_AddFontMemResource(), test_GdipMeasureString(), test_measured_extra_space(), and TestFace().
Definition at line 57 of file ftrandom.c.
Referenced by main(), and TestFace().
|
static |
Definition at line 154 of file ftrandom.c.
Referenced by TestFace().
Definition at line 58 of file ftrandom.c.
Referenced by main(), and TestFace().
|
static |
Definition at line 59 of file ftrandom.c.