Don't scale text plots in front end (GTK).

svn path=/trunk/netsurf/; revision=11936
This commit is contained in:
Michael Drake 2011-03-08 18:48:07 +00:00
parent 06ff431df7
commit cebac17d4d

View File

@ -246,7 +246,7 @@ bool nsfont_paint(int x, int y, const char *string, size_t length,
return true; return true;
desc = nsfont_style_to_description(fstyle); 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)) if (pango_font_description_get_size_is_absolute(desc))
pango_font_description_set_absolute_size(desc, size); pango_font_description_set_absolute_size(desc, size);
else else