Displaying 1 result from an estimated 1 matches for "have_pangocairo".
2013 May 09
0
cairo is not the default when available
...ib")
cairoProps is in src/library/grDevices/src/init.c:
static SEXP cairoProps(SEXP in)
{
int which = asInteger(in);
if(which == 1)
return ScalarLogical(
#ifdef HAVE_WORKING_CAIRO
1
#else
0
#endif
);
else if(which == 2)
return ScalarLogical(
#ifdef HAVE_PANGOCAIRO
1
#else
0
#endif
);
return R_NilValue;
}
I believe this is where the problem comes in. I don't have pangocairo
and cairoProps is being called with 2L instead of 1L. Indeed, if I
change it to 1L and recompile, cairo becomes the default, and
everything runs as expecte...