disabled the use of _BWidthBuffer_ until the app_server font backend implements B_BITMAP_SPACING. Small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -54,7 +54,7 @@ using namespace std;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define USE_WIDTHBUFFER 1
|
#define USE_WIDTHBUFFER 0
|
||||||
#define USE_DOUBLEBUFFERING 0
|
#define USE_DOUBLEBUFFERING 0
|
||||||
|
|
||||||
|
|
||||||
@@ -4416,10 +4416,9 @@ BTextView::HandleInputMethodLocationRequest()
|
|||||||
message.AddInt32("be:opcode", B_INPUT_METHOD_LOCATION_REQUEST);
|
message.AddInt32("be:opcode", B_INPUT_METHOD_LOCATION_REQUEST);
|
||||||
|
|
||||||
// Add the location of the UTF8 characters
|
// Add the location of the UTF8 characters
|
||||||
float height = 0;
|
while (offset < limit) {
|
||||||
BPoint where;
|
float height;
|
||||||
while (offset < limit) {
|
BPoint where = PointAt(offset, &height);
|
||||||
where = PointAt(offset, &height);
|
|
||||||
ConvertToScreen(&where);
|
ConvertToScreen(&where);
|
||||||
|
|
||||||
message.AddPoint("be:location_reply", where);
|
message.AddPoint("be:location_reply", where);
|
||||||
|
|||||||
Reference in New Issue
Block a user