Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5928 → Rev 5929

/branches/Version133x/Scribus/scribus/scfontmetrics.cpp
153,7 → 153,7
pts2.resize(0);
firstP = FPoint(0,0);
FirstM = true;
error = FT_Set_Char_Size( face, 0, chs*64, 72, 72 );
error = FT_Set_Char_Size( face, 0, chs*6400, 72, 72 );
if (error)
{
*err = error;
177,10 → 177,10
*err = error;
return pts2;
}
*x = face->glyph->metrics.horiBearingX / 64.0;
*y = face->glyph->metrics.horiBearingY / 64.0;
*x = face->glyph->metrics.horiBearingX / 6400.0;
*y = face->glyph->metrics.horiBearingY / 6400.0;
QWMatrix ma;
ma.scale(1, -1);
ma.scale(0.01, -0.01);
pts.map(ma);
pts.translate(0, chs);
pts2.putPoints(0, pts.size()-2, pts, 0);