RETURN_FALSE;
}
- font = (int) PDF_get_value(pdf, "font");
+ font = (int) PDF_get_value(pdf, "font", 0);
RETURN_LONG(font);
}
RETURN_FALSE;
}
- fontname = (char *) PDF_get_parameter(pdf, "fontname");
+ fontname = (char *) PDF_get_parameter(pdf, "fontname", 0);
RETURN_STRING(fontname, 1);
}
RETURN_FALSE;
}
- fontsize = PDF_get_value(pdf, "fontsize");
+ fontsize = PDF_get_value(pdf, "fontsize", 0);
RETURN_DOUBLE(fontsize);
}