Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/b2aa0c129c73201b7e1e4...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/b2aa0c129c73201b7e1e466...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/b2aa0c129c73201b7e1e466d9...
The branch, master has been updated
via b2aa0c129c73201b7e1e466d9996e5e491464592 (commit)
from e2056974ca152a9c2cd14545bc610546c59264cc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=b2aa0c129c73201b7e1...
commit b2aa0c129c73201b7e1e466d9996e5e491464592
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Remove 0.5px vertical displacement of text.
diff --git a/gtk/font_pango.c b/gtk/font_pango.c
index aa4fae3..6c7f159 100644
--- a/gtk/font_pango.c
+++ b/gtk/font_pango.c
@@ -253,7 +253,7 @@ bool nsfont_paint(int x, int y, const char *string, size_t length,
pango_layout_set_text(layout, string, length);
line = pango_layout_get_line(layout, 0);
- cairo_move_to(current_cr, x, y + 0.5);
+ cairo_move_to(current_cr, x, y);
nsgtk_set_colour(fstyle->foreground);
pango_cairo_show_layout_line(current_cr, line);
-----------------------------------------------------------------------
Summary of changes:
gtk/font_pango.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gtk/font_pango.c b/gtk/font_pango.c
index aa4fae3..6c7f159 100644
--- a/gtk/font_pango.c
+++ b/gtk/font_pango.c
@@ -253,7 +253,7 @@ bool nsfont_paint(int x, int y, const char *string, size_t length,
pango_layout_set_text(layout, string, length);
line = pango_layout_get_line(layout, 0);
- cairo_move_to(current_cr, x, y + 0.5);
+ cairo_move_to(current_cr, x, y);
nsgtk_set_colour(fstyle->foreground);
pango_cairo_show_layout_line(current_cr, line);
--
NetSurf Browser