Roxen.git / server / font_handlers / compactimgfile.pike

version» Context lines:

Roxen.git/server/font_handlers/compactimgfile.pike:107:    fname -= "/";    if( fname == "fontname" )    {    fd->seek( 4 );    return StringFile( fd->read( 64 )-"\0" );    }   // werror("open "+fname+"\n");    int wc;    sscanf( fname, "%s.", fname );    if( strlen(fname) > 2 ) sscanf( fname, "0x%x", wc ); else wc=fname[0]; -  int c; +        if( fname == "fontinfo" )    wc = 0xffffffff;       if( offsets[ wc ] )    {    fd->seek( offsets[ wc ] );    if( wc <= 0x7fffffff ) // Normal character    return StringFile( prefix+fd->read( getint() ) );    return StringFile( fd->read( getint() ) );