/* textlayout */
int gvtextlayout_select(GVC_t * gvc);
- boolean gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath);
+ bool gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath);
/* loadimage */
void gvloadimage(GVJ_t *job, usershape_t *us, boxf b, boolean filled, const char *target);
#include <gvc/gvplugin_textlayout.h>
#include <gvc/gvcint.h>
#include <gvc/gvcproc.h>
+#include <stdbool.h>
int gvtextlayout_select(GVC_t * gvc)
{
return NO_SUPPORT;
}
-boolean gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath)
+bool gvtextlayout(GVC_t *gvc, textspan_t *span, char **fontpath)
{
gvtextlayout_engine_t *gvte = gvc->textlayout.engine;
if (gvte && gvte->textlayout)
- return gvte->textlayout(span, fontpath);
- return FALSE;
+ return gvte->textlayout(span, fontpath) != FALSE;
+ return false;
}