- extract_grob_set (col, "spacing-wishes", wishes);
- for (int i = 0; i < wishes.size (); i++)
- {
- Grob *spacing = wishes[i];
- Real space = 0.0;
- Real fixed = 0.0;
-
- if (Staff_spacing::has_interface (spacing))
- {
- Staff_spacing::get_spacing_params (spacing, &space, &fixed);
- }
- else if (Note_spacing::has_interface (spacing))
- {
- Spacing_options options;
- options.init ();
-
- fixed = robust_relative_extent (col, col, X_AXIS)[RIGHT];
-
- Moment dt = Paper_column::when_mom (right) - Paper_column::when_mom (col);
- bool expand;
- space = options.get_duration_space (dt, &expand);
- Note_spacing::get_spacing (spacing, right, space, options.increment_,
- &space, &fixed);
- }
- else
- {
- continue;
- }
-
- count++;
+ Paper_column *loose_col = dynamic_cast<Paper_column *> (clique[j]);
+ Paper_column *next_col = dynamic_cast<Paper_column *> (clique[j + 1]);