emmentaler.
* lily/score-engraver.cc (initialize): remove check for ecrm10 /
lcrm10.
2005-03-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * buildscripts/gen-emmentaler-scripts.py (outdir): capitalize
+ emmentaler.
+
+ * lily/score-engraver.cc (initialize): remove check for ecrm10 /
+ lcrm10.
+
* scm/define-markup-commands.scm (fontsize): new markup
command. Also set baseline-skip
for design_size in [11,13,14,16,18,20,23,26]:
- name = 'emmentaler'
+ name = 'Emmentaler'
script = '''#!@FONTFORGE@
New();
#include "version.hh"
#include "dimensions.hh"
#include "main.hh"
+#include "file-path.hh"
/* MacOS S fix:
source-file.hh includes cmath which undefines isinf and isnan
#endif
+
+LY_DEFINE (ly_find_file, "ly:find-file",
+ 1, 0, 0, (SCM name),
+ "Return the absolute file name of @var{name}, "
+ "or @code{#f} if not found.")
+{
+ SCM_ASSERT_TYPE (scm_is_string (name), name, SCM_ARG1, __FUNCTION__, "string");
+
+ String nm = ly_scm2string (name);
+ String file_name = global_path.find (nm);
+ if (file_name.is_empty ())
+ return SCM_BOOL_F;
+
+ return scm_makfrom0str (file_name.to_str0 ());
+}
+
/*
Ugh. Gulped file is copied twice. (maybe thrice if you count stdio
buffering.)
#include "warn.hh"
#include "kpath-private.hh"
-LY_DEFINE (ly_find_file, "ly:find-file",
- 1, 0, 0, (SCM name),
- "Return the absolute file name of @var{name}, "
- "or @code{#f} if not found.")
-{
- SCM_ASSERT_TYPE (scm_is_string (name), name, SCM_ARG1, __FUNCTION__, "string");
-
- String nm = ly_scm2string (name);
- String file_name = global_path.find (nm);
- if (file_name.is_empty ())
- return SCM_BOOL_F;
-
- return scm_makfrom0str (file_name.to_str0 ());
-}
LY_DEFINE (ly_kpathsea_find_file, "ly:kpathsea-find-file",
1, 0, 0, (SCM name),
/*
The problem, as far as I can tell, is that MacOS X has its getopt
-prototype in <unistd.h>, whinole I think other operating systems have it
+prototype in <unistd.h>, while I think other operating systems have it
in other places. <unistd.h> is included by kpathsea.h, so you end up
renaming both conflicting prototypes to YAKLUDGE.
if (char *afm = kpse_find_file (name, kpse_afm_format, false))
return afm;
-#if 0 /* Do not mutter about afms, since we try to find them first, and
- lots of TFMs don't have AFMs. */
- warning (_f ("kpathsea can't find %s file: `%s'", "AFM", name));
-#endif
+
#endif
return "";
}
return scm_call_1 (func, tab);
}
+
+
return physical_font_tab_;
}
-
Stencil
-
Pango_font::text_stencil (String str) const
{
GList *items = pango_itemize (context_,
+ "\n"
+ _ ("Aborting"));
}
-
- if (!scm_is_string (ly_kpathsea_find_file (scm_makfrom0str ("ecrm10.pfa")))
- && (!scm_is_string (ly_kpathsea_find_file (scm_makfrom0str ("lmr10.pfb")))))
- error (_f ("cannot find `%s'", "ecrm10.pfa")
- + "\n"
- + _f ("cannot find `%s'", "lmr10.pfb")
- + "\n"
- + _f ("Install the ec-fonts-mftraced package from: %s.",
- "http://lilypond.org/download/fonts/")
- + "\n"
- + _ ("Aborting."));
-
+
pscore_ = new Paper_score;
pscore_->layout_ = dynamic_cast<Output_def*> (get_output_def ());
,(delay (ly:font-load "feta-alphabet20"))
,(delay (ly:font-load "feta-alphabet23"))
,(delay (ly:font-load "feta-alphabet26"))))
+ (fetaTest ,(ly:pt 20)
+ #((cons (ly:pt 20)
+ "Emmentaler 20 7.02799479")))
(fetaDynamic ,(ly:pt 20.0) #(,(delay (ly:font-load "feta-alphabet11"))
,(delay (ly:font-load "feta-alphabet13"))
(aname (string-append x ".pfa"))
(bname (string-append x ".pfb"))
(cff-file-name (ly:find-file cffname))
- (a-file-name (ly:kpathsea-find-file aname))
- (b-file-name (ly:kpathsea-find-file bname)))
+ )
(cond
((and bare-file-name (string-match "\\.pfb" bare-file-name))
(ly:pfb->pfa bare-file-name))