diff options
author | Dan Amelang <dan@amelang.net> | 2007-02-11 03:34:27 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-02-13 16:32:05 -0800 |
commit | f0a16b5bddc5c162c78ae976093fe8bb2b756e04 (patch) | |
tree | 40362f7b24b2d7e299c58ef1f5f3583954b2e8db | |
parent | aad1374caab3a05893c9f1f2605131edd9f62409 (diff) |
Fix Win32 text spacing problem
Thanks to Jordan Miner for reporting the problem and a fix.
-rw-r--r-- | src/cairo-win32-surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c index 4025b94ec..6899c9574 100644 --- a/src/cairo-win32-surface.c +++ b/src/cairo-win32-surface.c @@ -1580,8 +1580,8 @@ _cairo_win32_surface_show_glyphs (void *surface, next_logical_x = _cairo_lround (next_user_x); next_logical_y = _cairo_lround (next_user_y); - dxy_buf[j] = _cairo_lround ((next_logical_x - logical_x) * WIN32_FONT_LOGICAL_SCALE); - dxy_buf[j+1] = _cairo_lround ((next_logical_y - logical_y) * WIN32_FONT_LOGICAL_SCALE); + dxy_buf[j] = _cairo_lround (next_logical_x - logical_x); + dxy_buf[j+1] = _cairo_lround (next_logical_y - logical_y); logical_x = next_logical_x; logical_y = next_logical_y; |