diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-01 22:26:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-01 22:26:44 +0000 |
commit | 798b5a7d6e85d48564e979908ff7d0103a491fe6 (patch) | |
tree | a62e391ec694890cbd6d0bbad37176908e2e36af /gtk2_ardour/utils.cc | |
parent | e0fec86fae2e25e3dae3ae94de07155ab581d4b8 (diff) |
Repair marker and region names that I broke.
git-svn-id: svn://localhost/ardour2/branches/3.0@6260 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 257f68d4df..2754ed0281 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -1004,7 +1004,7 @@ pixbuf_from_ustring(const ustring& name, Pango::FontDescription* font, int clip_ cairo_set_source_rgba (cr, fg.get_red_p(), fg.get_green_p(), fg.get_blue_p(), 1.0); cairo_select_font_face (cr, font->get_family().c_str(), CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); - cairo_set_font_size (cr, font->get_size());// / Pango::SCALE); + cairo_set_font_size (cr, font->get_size() / Pango::SCALE); cairo_text_extents (cr, name.c_str(), &te); cairo_move_to (cr, 0.5, 0.5 - te.height / 2 - te.y_bearing + clip_height / 2); |