* 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
This commit is contained in:
@@ -141,11 +141,7 @@ FontDemoView::_DrawView(BView* view)
|
|||||||
xCoordArray[i] += xCenter;
|
xCoordArray[i] += xCenter;
|
||||||
yCoordArray[i] += yCoord;
|
yCoordArray[i] += yCoord;
|
||||||
|
|
||||||
boundBoxes[i].left = xCoordArray[i] + edgeInfo[i].left * FontSize();
|
boundBoxes[i].OffsetBy(xCoordArray[i], yCoordArray[i]);
|
||||||
boundBoxes[i].right = boundBoxes[i].left + width;
|
|
||||||
|
|
||||||
boundBoxes[i].bottom = yCoordArray[i];
|
|
||||||
boundBoxes[i].top = boundBoxes[i].bottom - height;
|
|
||||||
|
|
||||||
if (OutLineLevel()) {
|
if (OutLineLevel()) {
|
||||||
view->MovePenTo(xCoordArray[i], yCoordArray[i]);
|
view->MovePenTo(xCoordArray[i], yCoordArray[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user