diff --git a/TODO b/TODO index 79013bd3..a872abeb 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,16 @@ +- try: + + $ vips im_copy babe.jpg babe.tif:lzw,tile,,manybit,res_inch:72.00x72.00,, + $ header -a babe.tif + babe.tif: 1024x768 uchar, 3 bands, srgb VipsImage (0x2225050) + xres: 7.200000 + yres: 7.200000 + resolution-unit: in + + argh! + + + blocking bugs ============= @@ -40,18 +53,8 @@ foreign ppm.c radiance.c -- is the tif reader deadlocking sometimes? - - is it when we get a non-seq error? - - should there be some way to set the seq cache size? - - foreign docs come up as "VipsForeignSave", annoying, why? -- make an argb coding type, add to nip2 and known coding - - see openslide - - add nifti support http://niftilib.sourceforge.net/ diff --git a/libvips/conversion/im_text.c b/libvips/conversion/im_text.c index 16c0e17a..1a1c386d 100644 --- a/libvips/conversion/im_text.c +++ b/libvips/conversion/im_text.c @@ -228,8 +228,7 @@ im_text( IMAGE *out, const char *text, const char *font, pango_ft2_font_map_set_resolution( PANGO_FT2_FONT_MAP( fontmap ), dpi, dpi ); - context = pango_ft2_font_map_create_context( - PANGO_FT2_FONT_MAP( fontmap ) ); + context = pango_font_map_create_context( PANGO_FONT_MAP( fontmap ) ); if( text_render_to_image( context, out, text, font, width, alignment, dpi ) ) {