Improve the quality of text when the scale it is shown at screen is
authorØyvind Kolås <pippin@openedhand.com>
Thu, 11 Oct 2007 12:18:01 +0000 (12:18 +0000)
committerØyvind Kolås <pippin@openedhand.com>
Thu, 11 Oct 2007 12:18:01 +0000 (12:18 +0000)
commit914c930cee6bcce43dd4096d8d39e5ef67056e75
treec5f13c6334a1f358952ac56f4e012d37d313bdf7
parent52065e88bc36ab14d2aabeeacc65e4563d66749e
Improve the quality of text when the scale it is shown at screen is
smaller than the original, seems to work well down to about a scale
of 50%.
* clutter/pango/pangoclutter-fontmap.c:
(pango_clutter_font_map_default_substitute): turn off hinting.
* clutter/pango/pangoclutter-render.c: request linear filtering
instead of nearest neighbour when scaling down.
* tests/test-text.c: replaced test with a a test that renders a sample
grid with various pixel sizes and scales for visual inspection of
text rendering quality.
ChangeLog
clutter/pango/pangoclutter-fontmap.c
clutter/pango/pangoclutter-render.c
tests/test-text.c