Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 16337 → Rev 16336

/branches/Version135/Scribus/scribus/pdflib_core.cpp
1046,11 → 1046,10
a = 0;
for (it = ReallyUsed.begin(); it != ReallyUsed.end(); ++it)
{
ScFace& face(AllFonts[it.key()]);
ScFace::FontFormat fformat = face.format();
if ((!face.hasNames()) || (Options.SubsetList.contains(it.key())))
ScFace::FontFormat fformat = AllFonts[it.key()].format();
if ((!AllFonts[it.key()].hasNames()) || (Options.SubsetList.contains(it.key())))
{
if (face.hasNames())
if (AllFonts[it.key()].hasNames())
{
UsedFontsP.insert(it.key(), "/Fo"+QString::number(a));
uint SubFonts = 0;
1065,7 → 1064,7
QString fon("");
QMap<uint, uint> glyphMapping;
QMap<uint,std::pair<QChar,QString> > gl;
face.glyphNames(gl);
AllFonts[it.key()].glyphNames(gl);
QMap<uint,FPointArray>& RealGlyphs(it.value());
QMap<uint,FPointArray>::Iterator ig;
for (ig = RealGlyphs.begin(); ig != RealGlyphs.end(); ++ig)
4578,7 → 4577,7
uint idx = hl->glyph.glyph;
uint idx1;
if (Options.SubsetList.contains(style.font().replacementName()))
idx1 = Type3Fonts[UsedFontsP[style.font().replacementName()]][idx] / 256;
idx1 = Type3Fonts[UsedFontsP[style.font().replacementName()]][idx] / 255;
else
idx1 = idx / 224;
tmp += UsedFontsP[style.font().replacementName()]+"S"+QString::number(idx1)+" "+FToStr(tsz / 10.0)+" Tf\n";