/branches/Version15x/Scribus/scribus/ui/outputpreview_pdf.cpp |
---|
740,15 → 740,16 |
counter++; |
} |
} |
sepInfo.close(); |
} |
sepInfo.close(); |
QString currSeps = ""; |
QString currSeps; |
uint spc = 0; |
for (int sp = 0; sp < spots.count(); ++sp) |
{ |
currSeps += "(" + spots[sp] + ") "; |
spc++; |
if (sp > 6) |
if (spc > 6) |
{ |
args3.clear(); |
args3.append("-sDEVICE=tiffsep"); |
762,7 → 763,7 |
args3.append("-f"); |
args3.append(QDir::toNativeSeparators(ScPaths::tempFileDir() + "/" + m_tempBaseName + ".sep.ps")); |
ret = System(gsExe, args1 + args3 + args2); |
currSeps = ""; |
currSeps.clear(); |
spc = 0; |
} |
} |
/branches/Version15x/Scribus/scribus/ui/outputpreview_ps.cpp |
---|
779,15 → 779,16 |
counter++; |
} |
} |
sepInfo.close(); |
} |
sepInfo.close(); |
QString currSeps = ""; |
QString currSeps; |
uint spc = 0; |
for (int sp = 0; sp < spots.count(); ++sp) |
{ |
currSeps += "(" + spots[sp] + ") "; |
spc++; |
if (sp > 6) |
if (spc > 6) |
{ |
args3.clear(); |
args3.append("-sDEVICE=tiffsep"); |
801,7 → 802,7 |
args3.append("-f"); |
args3.append(QDir::toNativeSeparators(ScPaths::tempFileDir() + "/" + m_tempBaseName + ".sep.ps")); |
ret = System(gsExe, args1 + args3 + args2); |
currSeps = ""; |
currSeps.clear(); |
spc = 0; |
} |
} |