--- parser3/src/classes/image.C 2003/03/21 13:42:27 1.90.2.15.2.8 +++ parser3/src/classes/image.C 2003/03/21 16:16:42 1.90.2.15.2.10 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_IMAGE_C="$Date: 2003/03/21 13:42:27 $"; +static const char* IDENT_IMAGE_C="$Date: 2003/03/21 16:16:42 $"; /* jpegsize: gets the width and height (in pixels) of a jpeg file @@ -425,7 +425,7 @@ static Value* parse_IFD_entry_formatted_ return parse_IFD_entry_formatted_one_value(is_big, format, component_size, value); VHash* result(new VHash); - HashStringValue& hash=result->hash(0); + HashStringValue& hash=result->hash(); for(uint i=0; ihash(0), is_big, reader, tiff_base); + parse_IFD(vhash->hash(), is_big, reader, tiff_base); return vhash; } @@ -1095,7 +1095,7 @@ static void _font(Request& r, const Stri "font-file height(%d) not divisable by alphabet size(%d), remainder=%d", image->SY(), alphabet->length(), remainder); - GET_SELF(r, VImage).font=FontPtr(new Font(// + GET_SELF(r, VImage).font=Font*(new Font(// alphabet, image, image->SY() / alphabet->length(), monospace_width, spacebar_width));