+2005-03-08 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/open-type-font-scheme.cc: new file.
+
2005-03-08 Jan Nieuwenhuizen <janneke@gnu.org>
* lily/lexer.ll (Lily_lexer):
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=5
-PATCH_LEVEL=14
+PATCH_LEVEL=15
MY_PATCH_LEVEL=
/*
+ bar-check-iterator.cc -- implement Bar_check_iterator
- bar-check-iterator.cc -- implement Bar_check_iterator
+ source file of the GNU LilyPond music typesetter
- source file of the GNU LilyPond music typesetter
-
- (c) 2001--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+ (c) 2001--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
#include "simple-music-iterator.hh"
#include "event.hh"
+/*
+ book-scheme.cc -- implement Book bindings
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2004--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+*/
+
#include "book.hh"
#include "output-def.hh"
#include "score.hh"
(c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-#include "book.hh"
#include <cstdio>
+#include "book.hh"
#include "lilypond-key.hh"
#include "global-context.hh"
#include "main.hh"
/*
- collision-reg.cc -- implement Collision_engraver
+ collision-engraver.cc -- implement Collision_engraver
source file of the GNU LilyPond music typesetter
/*
- colhpos.cc -- implement Column_x_positions
+ column-x-positions.cc -- implement Column_x_positions
source file of the GNU LilyPond music typesetter
+/*
+ forbid-break-engraver.cc -- implement Forbid_line_break_engraver
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2002--_2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+*/
#include "rhythmic-head.hh"
#include "grob.hh"
#include "score-engraver.hh"
/*
- function-documentation.cc --
+ function-documentation.cc -- Scheme doc strings.
source file of the GNU LilyPond music typesetter
/*
- lily/grob-interface-scheme.cc -- implement
+ grob-interface-scheme.cc -- implement grob interface bindings.
source file of the GNU LilyPond music typesetter
/*
- ledger-line-engraver.cc -- implement Ledger_line_engraver =
+ ledger-line-engraver.cc -- implement Ledger_line_engraver
source file of the GNU LilyPond music typesetter
*/
-/*
- duplicated in melisma-performer
- */
-
#include "engraver.hh"
#include "grob.hh"
#include "context.hh"
*/
#include "coherent-ligature-engraver.hh"
-
#include "mensural-ligature.hh"
#include "event.hh"
#include "warn.hh"
Pal Benko <benkop@freestart.hu>
*/
-#include "mensural-ligature.hh"
#include <math.h>
+#include "mensural-ligature.hh"
#include "item.hh"
#include "font-interface.hh"
#include "lookup.hh"
--- /dev/null
+/*
+ open-type-font.cc -- implement Open_type_font
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
+
+#include "modified-font-metric.hh"
+#include "open-type-font.hh"
+
+LY_DEFINE (ly_font_sub_fonts, "ly:font-sub-fonts", 1, 0, 0,
+ (SCM font),
+ "Given the font metric @var{font} of an OpenType font, return the "
+ "names of the subfonts within @var{font}.")
+{
+ Font_metric *fm = unsmob_metrics (font);
+ SCM_ASSERT_TYPE (fm, font, SCM_ARG1, __FUNCTION__, "font-metric");
+ return fm->sub_fonts ();
+}
+
+LY_DEFINE (ly_otf_font_glyph_info, "ly:otf-font-glyph-info", 2, 0, 0,
+ (SCM font, SCM glyph),
+ "Given the font metric @var{font} of an OpenType font, return the "
+ "information about named glyph @var{glyph} (a string)")
+{
+ Modified_font_metric * fm
+ = dynamic_cast<Modified_font_metric*> (unsmob_metrics (font));
+ Open_type_font * otf = dynamic_cast<Open_type_font*> (fm->original_font ());
+ SCM_ASSERT_TYPE (otf, font, SCM_ARG1, __FUNCTION__, "OTF font-metric");
+ SCM_ASSERT_TYPE (scm_is_string (glyph), glyph, SCM_ARG1,
+ __FUNCTION__, "string");
+
+ SCM sym = scm_string_to_symbol (glyph);
+ return scm_hashq_ref (otf->get_char_table (), sym, SCM_EOL);
+}
return lily_subfonts_;
}
-LY_DEFINE (ly_font_sub_fonts, "ly:font-sub-fonts", 1, 0, 0,
- (SCM font),
- "Given the font metric @var{font} of an OpenType font, return the "
- "names of the subfonts within @var{font}.")
-{
- Font_metric *fm = unsmob_metrics (font);
- SCM_ASSERT_TYPE (fm, font, SCM_ARG1, __FUNCTION__, "font-metric");
- return fm->sub_fonts ();
-}
-
-LY_DEFINE (ly_otf_font_glyph_info, "ly:otf-font-glyph-info", 2, 0, 0,
- (SCM font, SCM glyph),
- "Given the font metric @var{font} of an OpenType font, return the "
- "information about named glyph @var{glyph} (a string)")
-{
- Modified_font_metric * fm
- = dynamic_cast<Modified_font_metric*> (unsmob_metrics (font));
- Open_type_font * otf = dynamic_cast<Open_type_font*> (fm->original_font ());
- SCM_ASSERT_TYPE (otf, font, SCM_ARG1, __FUNCTION__, "OTF font-metric");
- SCM_ASSERT_TYPE (scm_is_string (glyph), glyph, SCM_ARG1,
- __FUNCTION__, "string");
-
- SCM sym = scm_string_to_symbol (glyph);
- return scm_hashq_ref (otf->get_char_table (), sym, SCM_EOL);
-}
-
SCM
Open_type_font::get_char_table () const
{
+/*
+ pango-select-scheme.cc -- implement Pango descr <-> string bindings
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+*/
+
#include "config.hh"
#if HAVE_PANGO_FT2