$NetBSD: patch-ah,v 1.2 2004/06/24 23:09:55 taya Exp $ diff -ru ../Orig/mozilla/gfx/idl/nsIFreeType2.idl ./gfx/idl/nsIFreeType2.idl --- ../Orig/mozilla/gfx/idl/nsIFreeType2.idl 2004-04-16 10:09:33.000000000 +0900 +++ ./gfx/idl/nsIFreeType2.idl 2004-06-15 23:55:52.000000000 +0900 @@ -76,10 +76,11 @@ native FT_Sfnt_Tag(FT_Sfnt_Tag); native FT_Size(FT_Size); -[ptr] native FTC_Image_Desc_p(FTC_Image_Desc); +[ptr] native FTC_ImageType_p(FTC_ImageType); native FTC_Face_Requester(FTC_Face_Requester); native FTC_Font(FTC_Font); -native FTC_Image_Cache(FTC_Image_Cache); +native FTC_FaceID(FTC_FaceID); +native FTC_ImageCache(FTC_ImageCache); native FTC_Manager(FTC_Manager); // #ifdef MOZ_SVG @@ -99,7 +100,7 @@ readonly attribute FT_Library library; readonly attribute FTC_Manager FTCacheManager; - readonly attribute FTC_Image_Cache ImageCache; + readonly attribute FTC_ImageCache ImageCache; void doneFace(in FT_Face face); void doneFreeType(in FT_Library lib); @@ -115,16 +116,16 @@ void outlineDecompose(in FT_Outline_p outline, in const_FT_Outline_Funcs_p funcs, in voidPtr p); void setCharmap(in FT_Face face, in FT_CharMap charmap); - void imageCacheLookup(in FTC_Image_Cache cache, in FTC_Image_Desc_p desc, + void imageCacheLookup(in FTC_ImageCache cache, in FTC_ImageType_p desc, in FT_UInt gindex, out FT_Glyph glyph); - void managerLookupSize(in FTC_Manager manager, in FTC_Font font, - out FT_Face face, out FT_Size size); + void managerLookupFace(in FTC_Manager manager, in FTC_FaceID face_id, + out FT_Face face); void managerDone(in FTC_Manager manager); void managerNew(in FT_Library lib, in FT_UInt max_faces, in FT_UInt max_sizes, in FT_ULong max_bytes, in FTC_Face_Requester requester, in FT_Pointer req_data, out FTC_Manager manager); - void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache); + void imageCacheNew(in FTC_Manager manager, out FTC_ImageCache cache); /* #ifdef MOZ_SVG */ void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix, in FT_Vector_p delta);