FreeRDP
convert_font_to_c.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <string>

Macros

#define BLOCK_SIZE   8192
 
#define LINEWIDTH   80
 

Functions

static void usage (const char *prg)
 
static int write_header (FILE *out, const char *outname, const char *font, size_t size)
 
static int read (FILE *out, const char *font, const char *outname)
 
static int write_trailer (FILE *out)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BLOCK_SIZE

#define BLOCK_SIZE   8192

◆ LINEWIDTH

#define LINEWIDTH   80

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ read()

static int read ( FILE *  out,
const char *  font,
const char *  outname 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ usage()

static void usage ( const char *  prg)
static
Here is the caller graph for this function:

◆ write_header()

static int write_header ( FILE *  out,
const char *  outname,
const char *  font,
size_t  size 
)
static
Here is the caller graph for this function:

◆ write_trailer()

static int write_trailer ( FILE *  out)
static
Here is the caller graph for this function: