From cebac17d4d1b98ab94ea0d66efdc80ef148252a7 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 8 Mar 2011 18:48:07 +0000 Subject: [PATCH] Don't scale text plots in front end (GTK). svn path=/trunk/netsurf/; revision=11936 --- gtk/font_pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/font_pango.c b/gtk/font_pango.c index d512ae69f..0aba136a8 100644 --- a/gtk/font_pango.c +++ b/gtk/font_pango.c @@ -246,7 +246,7 @@ bool nsfont_paint(int x, int y, const char *string, size_t length, return true; desc = nsfont_style_to_description(fstyle); - size = (gint)((double)pango_font_description_get_size(desc) * nsgtk_plot_get_scale()); + size = (gint)(pango_font_description_get_size(desc)); if (pango_font_description_get_size_is_absolute(desc)) pango_font_description_set_absolute_size(desc, size); else