Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16335 → Rev 16336

/trunk/Scribus/scribus/pdflib_core.cpp
1078,10 → 1078,11
a = 0;
for (it = ReallyUsed.begin(); it != ReallyUsed.end(); ++it)
{
ScFace::FontFormat fformat = AllFonts[it.key()].format();
if ((!AllFonts[it.key()].hasNames()) || (Options.SubsetList.contains(it.key())))
ScFace& face(AllFonts[it.key()]);
ScFace::FontFormat fformat = face.format();
if ((!face.hasNames()) || (Options.SubsetList.contains(it.key())))
{
if (AllFonts[it.key()].hasNames())
if (face.hasNames())
{
UsedFontsP.insert(it.key(), "/Fo"+QString::number(a));
uint SubFonts = 0;
1096,7 → 1097,7
QString fon("");
QMap<uint, uint> glyphMapping;
QMap<uint,std::pair<QChar,QString> > gl;
AllFonts[it.key()].glyphNames(gl);
face.glyphNames(gl);
QMap<uint,FPointArray>& RealGlyphs(it.value());
QMap<uint,FPointArray>::Iterator ig;
for (ig = RealGlyphs.begin(); ig != RealGlyphs.end(); ++ig)
5367,7 → 5368,7
uint idx = hl->glyph.glyph;
uint idx1;
if (Options.SubsetList.contains(style.font().replacementName()))
idx1 = Type3Fonts[UsedFontsP[style.font().replacementName()]][idx] / 255;
idx1 = Type3Fonts[UsedFontsP[style.font().replacementName()]][idx] / 256;
else
idx1 = idx / 224;
ScFace currentFace = style.font();