LF OS
Hobby operating system for amd64 with high ambitions
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | bbox |
struct | glyph |
struct | font |
Functions | |
void | parse_bbox (struct bbox *bbox, char *line, char **toksave) |
void | dump_font_as_c_code (struct font *font, FILE *stream) |
int | main (int argc, char *argv[]) |
struct bbox |
struct glyph |
struct font |
void dump_font_as_c_code | ( | struct font * | font, |
FILE * | stream | ||
) |
Definition at line 38 of file font-compile.c.
References font::bbox, glyph::bitmap, glyph::encoding, font::glyphs, bbox::height, bbox::lower_left_x, bbox::lower_left_y, glyph::name, font::name, font::num_glyphs, and bbox::width.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 66 of file font-compile.c.
References font::bbox, glyph::bitmap, bitmap_size(), dump_font_as_c_code(), encoding, glyph::encoding, entry, font::glyphs, bbox::height, malloc(), glyph::name, font::name, font::num_glyphs, parse_bbox(), and strcmp().
void parse_bbox | ( | struct bbox * | bbox, |
char * | line, | ||
char ** | toksave | ||
) |
Definition at line 26 of file font-compile.c.
References height, bbox::height, bbox::lower_left_x, bbox::lower_left_y, width, and bbox::width.