/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2004--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "dimensions.hh"
#include "all-font-metrics.hh"
+#include "libc-extension.hh"
#include "output-def.hh"
#include "pango-font.hh"
0.0);
Real size = text_size * pow (2.0, step / 6.0);
- pango_font_description_set_size (description, gint (size * PANGO_SCALE));
+ pango_font_description_set_size (description,
+ gint (my_round (size * PANGO_SCALE)));
return description;
}