fix no-pango mode
oops again
This commit is contained in:
parent
23f05d4d8c
commit
0221bcd3f6
@ -1,6 +1,7 @@
|
|||||||
7/6/13 started 7.34.0
|
7/6/13 started 7.34.0
|
||||||
- version bump
|
- version bump
|
||||||
- oops, VImage.PIL_mode_from_vips() failed for CMYK, thanks Alessandro
|
- oops, VImage.PIL_mode_from_vips() failed for CMYK, thanks Alessandro
|
||||||
|
- fix no-pango build
|
||||||
|
|
||||||
12/3/13 started 7.33.0
|
12/3/13 started 7.33.0
|
||||||
- vipsthumbnail lets you specify the sharpening mask
|
- vipsthumbnail lets you specify the sharpening mask
|
||||||
|
@ -46,13 +46,13 @@
|
|||||||
#endif /*HAVE_CONFIG_H*/
|
#endif /*HAVE_CONFIG_H*/
|
||||||
#include <vips/intl.h>
|
#include <vips/intl.h>
|
||||||
|
|
||||||
#ifdef HAVE_PANGOFT2
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <vips/vips.h>
|
#include <vips/vips.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_PANGOFT2
|
||||||
|
|
||||||
#include <pango/pango.h>
|
#include <pango/pango.h>
|
||||||
#include <pango/pangoft2.h>
|
#include <pango/pangoft2.h>
|
||||||
|
|
||||||
@ -317,6 +317,8 @@ vips_text_init( VipsText *text )
|
|||||||
text->bitmap.buffer = NULL;
|
text->bitmap.buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /*HAVE_PANGOFT2*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* vips_text:
|
* vips_text:
|
||||||
* @out: output image
|
* @out: output image
|
||||||
@ -364,5 +366,3 @@ vips_text( VipsImage **out, const char *text, ... )
|
|||||||
|
|
||||||
return( result );
|
return( result );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /*HAVE_PANGOFT2*/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user