ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Functions
bdffont2c.c File Reference

BDF to C code converter Copyright © 2015 Mike Gore. More...

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <ctype.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include "font.h"
#include "bdffontutil.h"

Go to the source code of this file.

Functions

void usage (char *prog)
 Display Usage. More...
 
int main (int argc, char *const argv[])
 convert BDF fonts to C structures More...
 

Detailed Description

BDF to C code converter Copyright © 2015 Mike Gore.

BDF C code test/preview tool Displays fonts generated by bdffont2c BDF to C code converter BDF = Glyph Bitmap Distribution Format The code handles fixed, proportional and bounding box format fonts.

BDF = Glyph Bitmap Distribution Format The code handles fixed, proportional and bounding box format fonts

See also
http://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format
Copyright © 2015 Mike Gore, GPL License
You are free to use this code under the terms of GPL
please retain a copy of this notice in any code you use it in.

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

See also
http://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format
Copyright © 2015 Mike Gore, GPL License
You are free to use this code under the terms of GPL
please retain a copy of this notice in any code you use it in.

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file bdffont2c.c.

Function Documentation

int main ( int  argc,
char *const  argv[] 
)

convert BDF fonts to C structures

bdffonf2c [-o font_output_file ] [ -l lower_bound ] [ -u upper_bound ] [ -preview ] [ -Preview ] bdf files..." pro -o: output file containg C STructures of converted font data -u: limit Glyph processing above limit"); -l: limit Glyph processing below limit"); -p 1 Preview font bitmap data - only parts with 1 bits set"); -p 2 Preview Full font bitmap data - everything inside font bounding box"); -p 3 Preview Proportional font bitmap data and fixed - everything inside font bounding box"); -f convert any font to fixed size bitmap - everything inside font bounding box -s Compact font to smallest bounding box Notes: modifies or creates font specs bdf files...: One of more BDF format font files

Definition at line 91 of file bdffont2c.c.

void usage ( char *  prog)

Display Usage.

BDF = Glyph Bitmap Distribution Format See: http://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format

Parameters
[in]*progprogram name
Returns
void

Definition at line 57 of file bdffont2c.c.

Referenced by main().