diff --git a/src/apps/fontdemo/FontDemoView.cpp b/src/apps/fontdemo/FontDemoView.cpp index 6be1d042c1..dd3a3153f4 100644 --- a/src/apps/fontdemo/FontDemoView.cpp +++ b/src/apps/fontdemo/FontDemoView.cpp @@ -141,11 +141,7 @@ FontDemoView::_DrawView(BView* view) xCoordArray[i] += xCenter; yCoordArray[i] += yCoord; - boundBoxes[i].left = xCoordArray[i] + edgeInfo[i].left * FontSize(); - boundBoxes[i].right = boundBoxes[i].left + width; - - boundBoxes[i].bottom = yCoordArray[i]; - boundBoxes[i].top = boundBoxes[i].bottom - height; + boundBoxes[i].OffsetBy(xCoordArray[i], yCoordArray[i]); if (OutLineLevel()) { view->MovePenTo(xCoordArray[i], yCoordArray[i]);