diff options
| author | nyamatongwe <devnull@localhost> | 2011-12-13 12:03:58 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-12-13 12:03:58 +1100 |
| commit | cce6bd57491263eb14fd0af60add43acbd79cbeb (patch) | |
| tree | ea1c9d6fd8c5f46a73063477f0af89b0a2763953 | |
| parent | f6bab08bd2733961cae78dbb94af9e60d8f5015b (diff) | |
| download | scintilla-mirror-cce6bd57491263eb14fd0af60add43acbd79cbeb.tar.gz | |
Allow fractional pixel size return.
| -rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 5671d683e..3a37b3529 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1714,7 +1714,7 @@ XYPOSITION SurfaceD2D::WidthChar(Font &font_, char ch) { pTextLayout->Release(); } } - return int(width + 0.5); + return width; } XYPOSITION SurfaceD2D::Ascent(Font &font_) { |
