Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 5605 → Rev 5606

/branches/Version13x/Scribus/scribus/pdflib.cpp
684,6 → 684,7
{
FPoint np, np1, np2;
bool nPath = true;
fon = "";
if (ig.data().size() > 3)
{
FPointArray gly = ig.data();
712,10 → 713,17
FToStr(np2.x()) + " " + FToStr(-np2.y()) + " c\n";
}
fon += "h f*\n";
np = getMinClipF(&gly);
np1 = getMaxClipF(&gly);
}
else
{
fon = "h";
np = FPoint(0, 0);
np1 = FPoint(0, 0);
}
StartObj(ObjCounter);
ObjCounter++;
np = getMinClipF(&gly);
np1 = getMaxClipF(&gly);
PutDoc("<<\n/Type /XObject\n/Subtype /Form\n/FormType 1\n");
PutDoc("/BBox [ "+FToStr(np.x())+" "+FToStr(-np.y())+" "+FToStr(np1.x())+ " "+FToStr(-np1.y())+" ]\n");
PutDoc("/Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]\n");
727,10 → 735,8
PutDoc("\n/Filter /FlateDecode");
PutDoc(" >>\nstream\n"+EncStream(fon, ObjCounter-1)+"\nendstream\nendobj\n");
Seite.XObjects[AllFonts[it.key()]->RealName().replace( QRegExp("[\\s\\/\\{\\[\\]\\}\\<\\>\\(\\)\\%]"), "_" )+QString::number(ig.key())] = ObjCounter-1;
fon = "";
}
}
}
else
{
UsedFontsP.insert(it.key(), "/Fo"+QString::number(a));