summaryrefslogtreecommitdiff
path: root/lily/afm.cc
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2001-03-11 17:49:25 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2001-03-11 17:49:25 +0100
commitfc3e875d6bf06f0680e897faffdcab36ad975a03 (patch)
tree658c2b07cedc86f782a1590a80949d0f77c4864b /lily/afm.cc
parent0119396bf047bbc0a6debd06f48e6d18573e2303 (diff)
patch::: 1.3.136.jcn3
1.3.136.jcn3 ============ * Finished () beautification. * Bugfix: grob-description.scm: Script::after_line_breaking -> before_line_breaking. 1.3.136.hwn1 ============ * Percent style repeats. * Named music creation: (ly-make-music "Note_req") 1.3.136.jcn2
Diffstat (limited to 'lily/afm.cc')
-rw-r--r--lily/afm.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lily/afm.cc b/lily/afm.cc
index 746c6eb123..764b633cc1 100644
--- a/lily/afm.cc
+++ b/lily/afm.cc
@@ -33,7 +33,7 @@ Adobe_font_metric::make_afm (AFM_Font_info *fi, unsigned int checksum)
{
Adobe_font_metric * fm = new Adobe_font_metric (fi);
fm->checksum_ = checksum;
- return fm->self_scm();
+ return fm->self_scm ();
}
@@ -48,7 +48,7 @@ Adobe_font_metric::find_ascii_metric (int a , bool warn) const
return font_inf_->cmi + code;
}
}
- else if (warn )
+ else if (warn)
{
warning (_f ("can't find character number: %d", a));
}
@@ -65,7 +65,7 @@ Adobe_font_metric::find_char_metric (String nm, bool warn) const
{
if (warn)
{
- warning (_f ("can't find character called: `%s'", nm.ch_C()));
+ warning (_f ("can't find character called: `%s'", nm.ch_C ()));
}
return 0;
}
@@ -79,7 +79,7 @@ Adobe_font_metric::get_char (int code) const
{
AFM_CharMetricInfo const
* c = find_ascii_metric (code,false);
- Box b (Interval (0,0),Interval(0,0));
+ Box b (Interval (0,0),Interval (0,0));
if (c)
b = afm_bbox_to_box (c->charBBox);
@@ -89,7 +89,7 @@ Adobe_font_metric::get_char (int code) const
SCM
read_afm_file (String nm)
{
- FILE *f = fopen (nm.ch_C() , "r");
+ FILE *f = fopen (nm.ch_C () , "r");
char s[2048];
char *check_key = "TfmCheckSum";
fgets (s, sizeof (s), f);
@@ -148,7 +148,7 @@ Adobe_font_metric::find_by_name (String s) const
return m;
}
- SCM at = (gh_list (ly_symbol2scm ("char"),
+ SCM at = (gh_list (ly_symbol2scm ("char"),
gh_int2scm (cm->code),
SCM_UNDEFINED));