source file of the GNU LilyPond music typesetter
- (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
{
Box b= B_;
- b[X_AXIS] *= 1/1000.0;
- b[Y_AXIS] *= 1/1000.0;
+ b[X_AXIS] *= size_ / 1000.0;
+ b[Y_AXIS] *= size_ / 1000.0;
return b;
}
Adobe_font_char_metric const &
Adobe_font_metric::find_char (String nm, bool warn) const
{
- if (warn && !name_to_metric_dict_.elem_b (nm))
+ if (!name_to_metric_dict_.elem_b (nm))
{
- warning (_f ("can't find character called `%s'", nm.ch_C()));
+ if (warn)
+ {
+ warning (_f ("can't find character called `%s'", nm.ch_C()));
+ }
return dummy_static_char_metric;
}