Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25136 → Rev 25135

/trunk/Scribus/scribus/pdflib_core.cpp
5789,7 → 5789,7
FToStr(sl->Width) + " w\n"
);
QByteArray Ds = Pdf::toAscii(getDashString(sl->Dash, sl->Width));
tmp += Ds.isEmpty() ? QByteArray("[] 0 d\n") : QByteArray("[") + Ds + QByteArray("] 0 d\n");
tmp += Ds.isEmpty() ? "[] 0 d\n" : "[" + Ds + "] 0 d\n";
switch (static_cast<Qt::PenCapStyle>(sl->LineEnd))
{
case Qt::FlatCap:
8802,7 → 8802,7
PutDoc("/Ff " + Pdf::toPdf(flg) + "\n");
PutDoc("/FT /Btn\n");
PutDoc("/BS << /Type /Border /W ");
PutDoc(ite->annotation().borderColor() != CommonStrings::None ? Pdf::toPdf(ite->annotation().borderWidth()) : QByteArray("0"));
PutDoc(ite->annotation().borderColor() != CommonStrings::None ? Pdf::toPdf(ite->annotation().borderWidth()) : "0");
PutDoc(" /S /");
const QByteArray xb[] = {"S", "D", "U", "B", "I"};
PutDoc(xb[ite->annotation().borderStyle()]);
9041,7 → 9041,7
PutDoc(mm[ite->annotation().Vis()]);
PutDoc("\n");
PutDoc("/BS << /Type /Border /W ");
PutDoc(ite->annotation().borderColor() != CommonStrings::None ? Pdf::toPdf(ite->annotation().borderWidth()) : QByteArray("0"));
PutDoc(ite->annotation().borderColor() != CommonStrings::None ? Pdf::toPdf(ite->annotation().borderWidth()) : "0");
PutDoc(" /S /");
const QByteArray x[] = {"S", "D", "U", "B", "I"};
PutDoc(x[ite->annotation().borderStyle()]);
/trunk/Scribus/scribus/fonts/cff.h
201,7 → 201,7
}
QByteArray string(sid_type sid) const {
return sid < m_strings.length()? m_strings[sid] : QByteArray();
return sid < m_strings.length()? m_strings[sid] : "";
}
sid_type sid(const QByteArray str) const {