From 693c7a1eaa061fd849e9ad8d5f5cc01ce74aa0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Thu, 2 Aug 2007 18:32:00 +0000 Subject: [PATCH] * I was trying to debug my new font stuff in the app_server for about an hour before I realized that it was FontDemo which was broken. It was easy to tell once I ran it on R5 for comparison... :-\ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21796 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/fontdemo/FontDemoView.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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]);