Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created June 14, 2014 15:24
Show Gist options
  • Save saitoha/01050daf7df1d09d58ac to your computer and use it in GitHub Desktop.
Save saitoha/01050daf7df1d09d58ac to your computer and use it in GitHub Desktop.
$ make
gcc -o mkfont_bdf tools/mkfont_bdf.c -std=c99 -pedantic -Wall -s -pipe
./mkfont_bdf table/alias fonts/milkjf_k16.bdf fonts/milkjf_8x16.bdf fonts/milkjf_8x16r.bdf > glyph.h
read bdf: fonts/milkjf_k16.bdf
"JISX0208.1990"
read bdf: fonts/milkjf_8x16.bdf
"ISO8859"
read bdf: fonts/milkjf_8x16r.bdf
"JISX0201.1976"
swapped: use U+301C for U+FF5E
swapped: use U+007E for U+02DC
swapped: use U+002D for U+2212
gcc -o yaft yaft.c -std=c99 -pedantic -Wall -s -pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment