Here's the patch again in requested format.
TK
--- freetype.h 2005-08-15 16:05:44.000000000 -0400 +++ freetype_1.h 2005-11-21 15:49:16.000000000 -0500 @@ -1875,7 +1875,9 @@ const FT_Byte* file_base, FT_Long file_size, FT_Long face_index, - FT_Face *aface ); + FT_Face *aface, + FT_Int num_params, + FT_Parameter* params ); /*************************************************************************/ --- t42objs.c 2005-08-15 16:05:56.000000000 -0400 +++ t42objs_1.c 2005-11-21 16:01:59.000000000 -0500 @@ -263,7 +263,9 @@ face->ttf_data, face->ttf_size, 0, - &face->ttf_face ); + &face->ttf_face, + num_params, + params ); if ( error ) goto Exit; --- ftobjs.c 2005-08-15 16:06:20.000000000 -0400 +++ ftobjs_1.c 2005-11-21 16:05:07.000000000 -0500 @@ -997,7 +997,9 @@ const FT_Byte* file_base, FT_Long file_size, FT_Long face_index, - FT_Face *aface ) + FT_Face *aface, + FT_Int num_params, + FT_Parameter* params ) { FT_Open_Args args; @@ -1007,6 +1009,12 @@ return FT_Err_Invalid_Argument; args.flags = FT_OPEN_MEMORY; + if(num_parmas) + { + args.flags |= FT_OPEN_PARAMS; + args.num_params = num_params; + args.params = params; + } args.memory_base = file_base; args.memory_size = file_size;
_______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel