diff options
author | nyamatongwe <unknown> | 2012-03-01 10:12:25 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-03-01 10:12:25 +1100 |
commit | c5a0e5e7516b4fb3263d52abefe6e38fa9f1e094 (patch) | |
tree | 8e2854a15d9ffbda21518f54ecd6e35a485591fb /src/Style.h | |
parent | e3fc747b2c8c970566d19f11777897c153d86629 (diff) | |
download | scintilla-mirror-c5a0e5e7516b4fb3263d52abefe6e38fa9f1e094.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.h | 2 |
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(); |