Comment 16 for bug 669748

Revision history for this message
Vinipsmaker (vinipsmaker) wrote :

@schwieni:

Change the version to PDF 1.4, if the user don't provide one. Something like this:

    if((*i)->get_param_enum_contains("PDFversion", sp_export_pdf_version))
        (*i)->set_param_enum(param_name, sp_export_pdf_version);
    else {
        g_warning("Desired PDF export version \"%s\" not supported! Hint: input the exact string found in pdf export dialog in the command line.", sp_export_pdf_version);
        (*i)->set_param_enum(param_name, "PDF 1.4");
    }