2006-08-20 Han-Wen Nienhuys <hanwen@lilypond.org>
+ * make/ly-vars.make (OMF_FILES): strip ps.gz from OMF_FILES
+
+ * scm/documentation-lib.scm (texi-file-head): category LilyPond.
+
+ * Documentation/user/lilypond.tely: strip lilypond/ from info
+ links, rename to category LilyPond
+
+ * lily/pango-font.cc (description_string): new function.
+
+ * VERSION: release 2.9.15
+
* lily/spacing-engraver.cc (stop_translation_timestep): use
Dscho's fix for spacing spanner.
* lily/spacing-loose-columns.cc (set_loose_columns): don't barf if
spacing not set.
-
* lily/spacing-engraver.cc (stop_translation_timestep): set
spacing for proportional notation too.
@c LilyPond program.
@end ignore
-@dircategory GNU music project
+@dircategory LilyPond
@direntry
-* LilyPond: (lilypond/lilypond). The GNU music typesetter.
-* abc2ly: (lilypond/lilypond)Invoking abc2ly. Importing ABC.
-* convert-ly: (lilypond/lilypond)Invoking convert-ly. Older LilyPond versions.
-* etf2ly: (lilypond/lilypond)Invoking etf2ly. Importing Finale.
-* lilypond-book: (lilypond/lilypond)LilyPond-book. Itegrating text and music.
-* midi2ly: (lilypond/lilypond)Invoking midi2ly. Importing MIDI.
-* mup2ly: (lilypond/lilypond)Invoking mup2ly. Importing Mup.
+* LilyPond: (lilypond). The GNU music typesetter.
+* abc2ly: (lilypond)Invoking abc2ly. Importing ABC.
+* convert-ly: (lilypond)Invoking convert-ly. Older LilyPond versions.
+* etf2ly: (lilypond)Invoking etf2ly. Importing Finale.
+* lilypond-book: (lilypond)LilyPond-book. Itegrating text and music.
+* midi2ly: (lilypond)Invoking midi2ly. Importing MIDI.
+* mup2ly: (lilypond)Invoking mup2ly. Importing Mup.
@end direntry
-
@c don't remove this comment.
@ignore
@omfcreator Han-Wen Nienhuys, Jan Nieuwenhuizen and Graham Percival
@documentencoding utf-8
@documentlanguage en
-@dircategory GNU music project
+@dircategory LilyPond
@direntry
-* Glossary: (lilypond/music-glossary). Glossary of music terms.
+* Glossary: (music-glossary). Glossary of music terms.
@end direntry
@ifhtml
Real);
~Pango_font ();
+ string description_string () const;
SCM font_file_name () const;
void register_font_file (string, string);
Stencil text_stencil (string) const;
if (glyph_name[0] == '\0' && has_glyph_names)
{
- programming_error ("Glyph has no name, but font supports glyph naming. Skipping glyph.");
+ programming_error ("Glyph has no name, but font supports glyph naming. Skipping glyph: "
+ + description_string ());
continue;
}
/*
For Pango based backends, we take a shortcut.
*/
- char *descr_string = pango_font_description_to_string (pango_description_);
SCM exp
= scm_list_3 (ly_symbol2scm ("utf-8-string"),
- scm_makfrom0str (descr_string),
+ scm_makfrom0str (description_string ().c_str ()),
scm_makfrom0str (str.c_str ()));
- g_free (descr_string);
-
Box b (Interval (0, 0), Interval (0, 0));
b.unite (dest.extent_box ());
return Stencil (b, exp);
return dest;
}
+string
+Pango_font::description_string () const
+{
+ char *descr_string = pango_font_description_to_string (pango_description_);
+ string s (descr_string);
+ g_free (descr_string);
+ return s;
+}
+
+
SCM
Pango_font::font_file_name () const
{
# huh ? these are for documentation?!
TELY_FILES := $(call src-wildcard,*.tely)
-OMF_FILES += $(foreach format, html pdf ps.gz, $(foreach f, $(TELY_FILES), $(outdir)/$(f:.tely=.$(format)).omf))
+OMF_FILES += $(foreach format, html pdf, $(foreach f, $(TELY_FILES), $(outdir)/$(f:.tely=.$(format)).omf))
ITELY_FILES := $(call src-wildcard,*.itely)
ITEXI_FILES := $(call src-wildcard,*.itexi)
"\\input texinfo @c -*-texinfo-*-"
"\n@setfilename " file-name ".info"
"\n@settitle " name
- "\n@dircategory GNU music project"
+ "\n@dircategory LilyPond"
"\n@direntry"
;; prepend GNU for dir, must be unique
"\n* GNU " name ": (" file-name "). " name "."
`((point-and-click #t "use point & click")
(paper-size "a4" "the default paper size")
(midi-debug #f "generate human readable MIDI")
- (dump-signatures #f "dump output signatures of each system (EPS backend)")
+ (dump-signatures #f "dump output signatures of each system")
(internal-type-checking #f "check every property assignment for types")
- (parse-protect #t "continue when finding errors in inline
+ (parse-protect #t "continue when finding errors in inline
scheme are caught in the parser. If off, halt
on errors, and print a stack trace.")
(profile-property-accesses #f "keep statistics of get_property() calls.")
(ttf-verbosity 0
"how much verbosity for TTF font embedding?")
(debug-gc #f
- "dump GC protection info")
+ "dump memory debugging statistics")
(show-available-fonts #f
"List font names available.")
(read-file-list #f "Read files to be processed from command line arguments")