Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 8519 → Rev 8520

/branches/Version135x/Scribus/scribus/fonts/scface_ttf.cpp
21,12 → 21,12
namespace {
uint word(QByteArray const & bb, uint pos)
{
unsigned char * pp = reinterpret_cast<unsigned char*>(bb.data()) + pos;
const unsigned char * pp = reinterpret_cast<const unsigned char*>(bb.data()) + pos;
return pp[0] << 24 | pp[1] << 16 | pp[2] << 8 | pp[3];
}
uint word16(QByteArray const & bb, uint pos)
{
unsigned char * pp = reinterpret_cast<unsigned char*>(bb.data()) + pos;
const unsigned char * pp = reinterpret_cast<const unsigned char*>(bb.data()) + pos;
return pp[0] << 8 | pp[1];
}
QString tag(QByteArray const & bb, uint pos)