From 20c9b985f1727402dc96c2e9d8a4a2f6d8a121db Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 1 Mar 2012 10:12:25 +1100 Subject: Bug #3494492. Change aveCharWidth in FontMeasurements to actually store fractional width. This change complements change set 3994. Make WidthText() and AverageCharWidth() actually return fractional widths under Direct2D. From Marko Njezic. --- src/Style.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Style.h') diff --git a/src/Style.h b/src/Style.h index 018ab70f5..cccf18f3e 100644 --- a/src/Style.h +++ b/src/Style.h @@ -47,7 +47,7 @@ struct FontMeasurements { unsigned int ascent; unsigned int descent; unsigned int externalLeading; - unsigned int aveCharWidth; + XYPOSITION aveCharWidth; XYPOSITION spaceWidth; int sizeZoomed; FontMeasurements(); -- cgit v1.2.3