GRAPHICS: Remove debug leftover

This commit is contained in:
Eugene Sandulenko 2016-10-18 11:15:24 +02:00
parent 6751bc39b4
commit 01cf3d2ebd

View File

@ -731,8 +731,6 @@ BdfFont *BdfFont::scaleFont(BdfFont *src, int newSize) {
BdfBoundingBox *boxes = new BdfBoundingBox[data.numCharacters];
for (int i = 0; i < data.numCharacters; ++i) {
boxes[i].width = (int)((float)src->_data.boxes[i].width * scale);
if (i == 40)
warning("char w: %d, scale: %g", boxes[i].width, scale);
boxes[i].height = (int)((float)src->_data.boxes[i].height * scale);
boxes[i].xOffset = (int)((float)src->_data.boxes[i].xOffset * scale);
boxes[i].yOffset = (int)((float)src->_data.boxes[i].yOffset * scale);