Roxen.git / server / font_handlers / compactimgfile.pike

version» Context lines:

Roxen.git/server/font_handlers/compactimgfile.pike:6:   The format is very simple:   <pre>   'CIF1' (4 bytes magic)   'fontname' (64 bytes name, \\0 terminated)   for each char:    char (4 bytes charcode)    len (4 bytes image length)    len bytes data   </pre>   All integers are NBO<p> - There is a small program included in bin (createcif.pike) that + There is a small program included in bin (create_cif.pike) that   creates a cif font from an imagedir or imagetar font</p>";      class StringFile   {    string data;    int offset;       string _sprintf()    {    return "StringFile("+strlen(data)+","+offset+")";