*/
-#include <cmath>
+#include <math.h>
#include "bar-line.hh"
#include "lookup.hh"
SCM barsiz_proc = me->get_property ("bar-size-procedure");
if (scm_is_string (s) && ly_c_procedure_p (barsiz_proc))
{
- String str =ly_scm2string (s);
+ String str = ly_scm2string (s);
SCM siz = scm_call_1 (barsiz_proc, me->self_scm ());
Real sz = robust_scm2double (siz, 0);
if (sz <= 0)
Stencil thin = simple_barline (me, hair, h);
Stencil thick = simple_barline (me, fatline, h);
- Stencil dot = Font_interface::get_default_font (me)->find_by_name ("dots-dot");
+ Stencil dot = Font_interface::get_default_font (me)->find_by_name ("dots.dot");
- int lines =Staff_symbol_referencer::line_count (me);
+ int lines = Staff_symbol_referencer::line_count (me);
Real dist
= ((lines & 1 || lines == 0)
? 1
SCM
Bar_line::before_line_breaking (SCM smob)
{
- Grob*me=unsmob_grob (smob);
+ Grob*me = unsmob_grob (smob);
Item * item = dynamic_cast<Item*> (me);
SCM g = me->get_property ("glyph");