Branch: Tag:

2001-02-08

2001-02-08 21:55:16 by Martin Nilsson <mani@lysator.liu.se>

Read the rich information as well.

Rev: server/font_handlers/compactimgfile.pike:1.4

171:    else if( glob( "*.cif", pd ) )    {    CIF t = open_tar( dir+pd ); -  if( Stdio.File f = t->open( "fontname", "r" ) ) -  font_list[font_name( f->read() )] = dir+pd; +  if( Stdio.File f = t->open( "fontname", "r" ) ) { +  string name = f->read(); +  if( Stdio.File f = t->open( "fontinfo", "r" ) ) +  font_list[font_name( "<name>"+name+"</name>"+f->read() )] = dir+pd;    else -  +  font_list[font_name( name )] = dir+pd; +  } +  else    destruct( t );    }    }