aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Style.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-03-01 10:12:25 +1100
committernyamatongwe <devnull@localhost>2012-03-01 10:12:25 +1100
commit20c9b985f1727402dc96c2e9d8a4a2f6d8a121db (patch)
treed3a166547db2cee4534f4bfd1f2230ebf1cb7834 /src/Style.h
parenta246752a2aedf005e1f6df9c8c7c64dd208cb834 (diff)
downloadscintilla-mirror-20c9b985f1727402dc96c2e9d8a4a2f6d8a121db.tar.gz
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.
Diffstat (limited to 'src/Style.h')
-rw-r--r--src/Style.h2
1 files changed, 1 insertions, 1 deletions
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();