Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 6306 → Rev 6307

/branches/Version13x/Scribus/scribus/fonts/scface_ps.h
40,14 → 40,14
typeCode = ScFace::TYPE1;
}
 
virtual void load() // routine by Franz Schmid - modified by Alastair M. Robinson
virtual void load() const // routine by Franz Schmid - modified by Alastair M. Robinson
{
ScFaceData::load();
FtFace::load();
bool error;
FT_Face face = ftFace();
if (!face)
{
usable = false;
const_cast<ScFace_postscript*>(this)->usable = false;
qDebug(QObject::tr("Font %1 is broken (no Face), discarding it").arg(fontFile));
return;
}
131,7 → 131,7
formatCode = ScFace::PFB;
}
 
virtual bool EmbedFont(QString &str)
virtual bool EmbedFont(QString &str) const
{
QByteArray bb;
RawData(bb);
217,7 → 217,7
{
formatCode = ScFace::PFA;
}
virtual bool EmbedFont(QString &str)
virtual bool EmbedFont(QString &str) const
{
QByteArray bb;
RawData(bb);
227,6 → 227,7
str.append(bb);
return true;
}
qDebug(QObject::tr("Font %1 cannot be read, no embedding").arg(fontFile));
return false;
}
};