fix no-pango mode

oops again
This commit is contained in:
John Cupitt 2013-06-07 22:52:54 +01:00
parent 23f05d4d8c
commit 0221bcd3f6
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
7/6/13 started 7.34.0
- version bump
- oops, VImage.PIL_mode_from_vips() failed for CMYK, thanks Alessandro
- fix no-pango build
12/3/13 started 7.33.0
- vipsthumbnail lets you specify the sharpening mask

View File

@ -46,13 +46,13 @@
#endif /*HAVE_CONFIG_H*/
#include <vips/intl.h>
#ifdef HAVE_PANGOFT2
#include <stdio.h>
#include <string.h>
#include <vips/vips.h>
#ifdef HAVE_PANGOFT2
#include <pango/pango.h>
#include <pango/pangoft2.h>
@ -317,6 +317,8 @@ vips_text_init( VipsText *text )
text->bitmap.buffer = NULL;
}
#endif /*HAVE_PANGOFT2*/
/**
* vips_text:
* @out: output image
@ -364,5 +366,3 @@ vips_text( VipsImage **out, const char *text, ... )
return( result );
}
#endif /*HAVE_PANGOFT2*/