]> git.donarmstrong.com Git - lilypond.git/blobdiff - ChangeLog
(text_stencil): dump string as (utf-8-string
[lilypond.git] / ChangeLog
index d5f67e6f02470d471ceb6a46ae0ea9ea39023039..046552ddd8815fffaa3fb565c4f77f29d4e8439b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,491 @@
+2005-01-03  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/pango-font.cc (text_stencil): dump string as (utf-8-string
+       FONTDESC UTF8) for use in -f gnome, -f svg.
+
+2005-01-03  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * configure.in (gui_b): Remove handy developer-only
+       PKG_CONFIG_PATH settings that cater for Jan-and-Han-Wen ~/usr/pkg/
+       CVS source installations (but break other non-default but correct
+       PKG_CONFIG_PATH setups), as this is no longer developer-only.
+
+       * SConstruct: 
+       * ps/GNUmakefile (INSTALLATION_FILES): teTeX-3.0
+       compatibility (backportme).
+
+       * GNUmakefile.in: teTeX-3.0 compatibility (backportme).
+
+2005-01-03  Werner Lemberg  <wl@gnu.org>
+
+       Prepare glyph shapes for mf2pt1 conversion.
+
+       * mf/feta-accordion.mf (accreg_pen): Removed.  No longer used.
+       (accDiscant, accFreebase, accStdbase): Replace `draw' with
+       `penstroke'.
+       (accDot): Use `drawdot'.
+       (accBayanbase): Replace `draw' with `draw_gridline'.
+       (print_penpos): Moved to feta-macros.mf.
+       (accOldEE): Replace `filldraw' with `penstroke'.
+       Replace `draw' with `penstroke' and `drawdot'.
+
+       * mf/feta-banier.mf: Code clean-up.
+       ("grace dash (up)", "grace dash (down)"): Replace `draw' with
+       `fill'.
+
+       * mf/feta-bolletjes (draw_cross): Remove call to `labels'.
+
+       * mf/feta-eindelijk.mf (draw_rest_bulb, draw_eigth_rest): Add
+       paremeter to control drawing of labels.  Update all callers.
+
+       * mf/feta-klef.mf (draw_c_clef): Use `&' not `..' to connect paths.
+       (new_bulb): Return a bulb as a single path.  To do that, it now
+       takes some more parameters.  Updated all callers.
+       (draw_gclef): Major clean-up.  `draw' has been replaced with
+       `penstroke', unnecessary outlines have been removed.
+       Remove (unused) gnome-canvas code.
+
+       * mf/feta-macros.mf (print_penpos): New macro (from
+       feta-accordion.mf).
+       Other minor fixes.
+
+       * mf/feta-pendaal.mf ("Pedal asterisk"): Use `undrawdot'.
+       ("Pedal dot"): Use `drawdot'.
+       (draw_pedal_P): Add parameter to control drawing of labels.  Update
+       all callers.
+       Fix shape at top.
+       (draw_pedal_e): Add parameter to control drawing of labels.  Update
+       all callers.
+       (draw_pedal_d): Add parameter to control drawing of labels.  Update
+       all callers.
+       Revert drawing direction.
+
+       * mf/feta-schrift.mf (draw_fermata): Use single path.
+       (draw_short_fermata): Replace `filldraw' with `fill'.
+       (draw_long_fermata, draw_very_long_fermata): Replace calls to
+       `draw_rounded_block' with a single path.
+       ("Thumb"): Draw full circle instead of mirroring segments.
+       (draw_accent): New macro.
+       ("> accent", "espr"): Use it.
+       (draw_marcato): Replace `filldraw' and `draw' with `fill'.
+       ("open (unstopped)"): Draw full circle instead of mirroring
+       segments.
+       (draw_vee): Removed.
+       ("Upbow"): Use `draw_accent' instead of `draw_vee'.
+       ("Downbow"): Replace calls to `draw_rounded_block' with a single
+       path.
+       ("Trill (`tr')"): Replace overlapping loop drawn with `draw' with
+       partial pieces drawn with `fill' -- these do still overlap with the
+       stem of the `t' but just once, not multiple times so that fontforge
+       can handle it gracefully.
+       Change other parts of the glyph so that fontforge's overlapping
+       algorithm reliably works.
+       (draw_heel): Replace `draw' with `fill'.
+       (draw_toe): Use `draw_accent' instead of `draw_vee'.
+       ("Flageolet"): Replace `draw' with `penstroke'.
+       ("Segno"): Replace `filldraw' with `penstroke'.
+       Replace `draw' with `drawdot'.
+       ("Coda"): Replace `fill' with `penstroke', using a single path.
+       ("Varied Coda"): Use less overlapping paths.
+       (draw_arpeggio_arrow): Replace `filldraw' with `fill', using a
+       single path.
+
+       * mf/feta-slag.mf (draw_trillelement): Put `clearxy' outside of
+       group to better control the `labels' command.
+       Rename argument to `offset' and use it actually.  Update all
+       callers.
+       Replace `filldraw' with `fill'.
+       ("mordent", "prallmordent", "upmordent", "downmordent",
+       "lineprall"): Replace `draw' with `draw_gridline'.
+       ("upprall", "downprall"): Replace `draw' with `fill'.
+
+       * mf/feta-timesig.mf: Formatting.
+
+       * mf feta-toevallig.mf (draw_meta_flag): Move code to draw labels
+       to...
+       ("Flat"): Here.
+       (draw_paren): Move code to draw labels to...
+       ("Right Parenthesis"): Here.
+
+2005-01-02  Graham Percival <gperlist@shaw.ca>
+
+       * Documentation/user/notation.itely: add example of \setTextDecresc
+       and \setTextDim.
+
+2005-01-02  Tatsuya Ono <tats_ono@infoseek.jp>
+
+       * scm/define-markup-commands.scm :  fix glyph-strings of
+       accidentals and \note-by-number
+       
+2005-01-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * VERSION: 2.5.6 released.
+       
+       * ps/lilyponddefs.ps: put mm -> pt scaling in here.
+
+       * input/regression/new-markup-scheme.ly: oops. font-family=music
+       -> font-encoding fetaMusic.  
+
+       * lily/main.cc: put default to PS.
+
+       * lily/tfm.cc: idem.
+
+       * lily/afm.cc: idem.
+
+       * lily/include/modified-font-metric.hh (struct
+       Modified_font_metric): remove coding_scheme() method.
+
+       * input/mutopia/F.Schubert/morgenlied.ly: convert to utf8
+
+       * scripts/convert-ly.py (conv): crash on encountering \encoding.
+
+       * input/les-nereides.ly: convert to utf8
+
+       * lily/modified-font-metric.cc (text_dimension): idem.
+
+       * lily/parser.yy (TODO): idem.
+
+       * lily/include/lily-lexer.hh (class Lily_lexer): idem.
+
+       * lily/lexer.ll: remove encoding
+
+       * scm/framework-ps.scm (output-variables): separately scale the
+       page to mm 
+
+       * lily/pango-font.cc (Pango_font): fix scaling.
+
+       * lily/font-metric.cc (design_size): design_size returns a
+       dimension now as well.
+
+2004-12-31  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * mf/GNUmakefile ($(outdir)/%.otf-table): use findstring. Fixes
+       brace generation. 
+
+       * lily/text-metrics.cc (LY_DEFINE): use scm_c_make_hash_table().
+
+2004-12-30  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * mf/GNUmakefile (INSTALLATION_OUT_SUFFIXES): Do not try to
+       install unbuildable Fontmap and Fontmap.lily (Simon Aridis-Lang).
+
+2004-12-30  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * mf/GNUmakefile ($(outdir)/%.otf-table): include parmesan20.lisp
+       in first run as well.
+
+       * scm/paper.scm (layout-set-staff-size): use text-font-size in
+       dimension less points (ie. 12 = 12 point)
+
+       * lily/pango-select.cc (select_pango_font): use find_scaled_font().
+
+       * lily/all-font-metrics.cc (find_pango_font): set description_
+
+       * lily/pango-font.cc (text_stencil): export size as well.
+       (text_stencil): fix scaling and extents box.
+
+2004-12-29  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * Documentation/topdocs/NEWS.texi (Top): add -f texstr
+
+       * Documentation/user/invoking.itely (Invoking lilypond): document
+       texstr
+
+       * scripts/convert-ly.py (conv): add ancient rules.
+
+       * scm/clef.scm (c0-pitch-alist): replace - with .
+
+       * scripts/lilypond-book.py (process_snippets): add texstr support.
+
+       * scm/framework-texstr.scm (header): change extension to .textmetrics
+
+       * lily/lily-parser.cc (parse_file): do try_load_text_metrics for
+       -f tex.
+
+       * lily/text-metrics.cc: new file.
+       (try_load_text_metrics): new function
+
+       * lily/include/text-metrics.hh: new file.
+
+2004-12-28  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/include/lily-guile.hh (ly_lily_module_constant): rename
+       ly_scheme_function to ly_lily_module_constant.
+
+       * lily/modified-font-metric.cc (text_dimension): try
+       lookup_tex_text_dimension() first.
+
+       * lily/tfm.cc: new function ly:load-text-dimensions
+
+2004-12-27  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/output-texstr.scm (text): use \lilygetmetrics
+
+       * scm/framework-texstr.scm (header): dump in new format.
+
+       * tex/lilypond-tex-metrics: new file.
+       
+2004-12-27  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * lily/pango-font.cc (text_stencil): Quick try at glyph->charcode
+       mapping.
+       (index_to_charcode): New method.
+
+       * scm/output-ps.scm (glyph-string): 
+       * scm/output-gnome.scm (glyph-string): Add FONT parameter.
+
+2004-12-26  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scm/output-gnome.scm (FIXME-glyph-string): New function.  Cannot
+       implement fully, need FONT to get to charcode.
+
+       * scm/lily.scm (ly:all-stencil-expressions): Add glyph-string.
+
+       * scm: Cleanups.
+
+       * Documentation/user/changing-defaults.itely: Fix internalsrefs
+       {Tunable context properties},
+       {All layout objects},
+       {Music definitions}.
+
+2004-12-25  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * VERSION: release 2.5.5
+       
+       * lily/main.cc: use TeX as default output format.
+
+       * flower/file-path.cc (find): try to open directly as well, so we
+       find absolute path files. 
+
+       * lily/pango-select.cc: new file.
+
+       * scm/framework-ps.scm: remove all encoding code. 
+       load pfb/pfa for PangoFont too.
+       
+       * lily/lily-guile.cc (ly_chain_assoc_get): new function.
+
+2004-12-22  Werner Lemberg  <wl@gnu.org>
+
+       Prepare glyph shapes for mf2pt1 conversion.
+
+       * mf/feta-toevallig.mf ("Double Sharp"): Minor path fix.
+
+       * mf/feta-bolletjes.mf (penposx): New auxiliary macro.
+       (define_triangle_shape): Use it to replace `draw' with `fill' and
+       `unfill'.  Update all callers.
+       (draw_slash): Replace `filldraw' with `fill'.  Update all callers.
+       (draw_cross): Ditto.
+       ("X-Circled notehead"): Replace `draw' with `fill' and `unfill'.
+       Use penrazor for better conversion with mf2pt1.
+       (generic_draw_solfa_note_shape, draw_solfa_note_shape,
+       draw_solfa_quarter_note_shape, triangle): Removed.  Unused.
+       (draw_do_head, draw_re_head, draw_mi_head, draw_fa_head,
+       draw_la_head, draw_ti_head): Replace `filldraw' with
+       `fill'.  Update all callers.
+
+2004-12-24  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/paper-book.cc (output): revert: only allow a single output
+       format.
+
+       * lily/include/pango-font.hh: new file.
+
+       * lily/pango-font.cc: new file.
+
+       * lily/font-metric.cc (text_stencil): new routine
+
+       * lily/all-font-metrics.cc (find_pango_font): new routine.
+
+       * lily/include/font-metric.hh (struct Font_metric): add
+       text_stencil()
+
+       * configure.in (PKG_CONFIG_PATH): require PANGO_FT2
+
+2004-12-22  Werner Lemberg  <wl@gnu.org>
+
+       Prepare glyph shapes for mf2pt1 conversion.
+
+       * mf/feta-macros.mf, mf_feta-eindelijk.mf: Some formatting.
+
+       * mf/feta-toevallig.mf: Formatting.
+       (draw_meta_sharp): Modify path to replace `filldraw' with `fill'.
+       ("Natural"): Fix paths to allow better postprocessing.
+       (draw_meta_flat): Use `z3l' as additional point in path to get
+       better conversion with mf2pt1.
+       Other minor cleanups.
+       ("3/4 Flat"): Add auxiliary points and modify path to replace
+       `draw' with `fill'.
+       ("Double Sharp"): Mirror path segments instead of picture elements
+       to get a single outline.
+       Modify path to replace `filldraw' with `fill'.
+
+2004-12-22  Graham Percival  <gperlist@shaw.ca>
+
+       * input/test/unfold-all-repeats.ly: added file back.
+
+       * Documentation/user/notation.itely,
+       Documentation/user/programming-interface.itely
+       Documentation/user/changing-defaults.itely: fixed misc broken
+       links to input/test/ files.
+
+2004-12-22  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * tex/texinfo.tex: Update.  We should not be distributing this,
+       but since we do, use latest version.
+
+       * Documentation/user/macros.itexi: Comment-out \fetaflat,
+       \fetasharp.  Fixes make web.  FIXME: make usable (compatible?) TeX
+       macros for feta glyphs.
+
+2004-12-22  Graham Percival  <gperlist@shaw.ca>
+
+       * Documentation/user/changing-defaults.itely: fix index for set.
+
+       * Documentation/user/converters.itely: added convert-ly bugs list
+       from CVS.
+
+2004-12-21  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * python/lilylib.py (setup_environment): Set GS_FONTPATH, GS_LIB
+       to empty.  Fixes make web, using gs-gpl-8.01.  In fact,
+       gs-afpl-8.50 has more trouble with make web (ie, uses *a lot* more
+       resourses; 3x MAXSIZE, 4x MAXRSS, 1.5x user).
+
+       * mf/GNUmakefile (pfa_warning): Use less broken check.
+
+       * python/lilylib.py (setup_environment): Remove cruft from
+       GS_FONTPATH.
+
+       * configure.in: Bump mftrace requirement to 1.1.1.
+
+2004-12-20  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scm/output-svg.scm (beam): Use polygon.
+
+       * scm/lily-library.scm: Bugfix.
+
+       * Documentation/user/invoking.itely (Invoking lilypond): Bugfix.
+
+       * mf/GNUmakefile (ALL_GEN_FILES): Remove unbuildable Fontmap.lily.
+
+2004-12-19  Werner Lemberg  <wl@gnu.org>
+
+       Prepare glyph shapes for mf2pt1 conversion.
+
+       * mf/feta-eindelijk: Some formatting.
+       (multi_rest_x, multi_beam_height): Removed.  Unused.
+       ("Quarter rest"): Use `intersectiontimes' to create a single
+       outline.
+       (rest_crook): Removed.  Unused.
+       (draw_rest_bulb): Return path (wihtout filling).  Update callers.
+       Simplified.
+       (draw_eighth_rest, "16th rest", "32th rest", "64th rest",
+       "128th rest"): Simplify `pat'.
+       Create single outline.
+
+2004-12-19  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * mf/GNUmakefile (ALL_GEN_FILES):
+       (INSTALLATION_OUT_SUFFIXES): Remove unbuildable fonts.scale.
+
+       * scm/output-svg.scm (polygon, draw-line, dashed-line): New
+       function.
+
+2004-12-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/output-texstr.scm (placebox): add routine
+
+       * VERSION (PACKAGE_NAME): release 2.5.4
+
+       * scm/framework-texstr.scm (output-framework): new file.  
+
+       * scm/output-texstr.scm: new file. Collect (TEXT . ) calls for TeX
+       processing.
+
+       * Documentation/user/invoking.itely (Invoking lilypond): add SVG
+
+       * stepmake/stepmake/metafont-rules.make: make single SVG/PFA/PFB
+       rule.
+
+       * configure.in (gui_b): bump mftrace requirement to 1.1.0
+
+       * mf/feta-bolletjes.mf (triangle): add s to 0triangle.
+
+       * mf/GNUmakefile (ALL_GEN_FILES): make SVG files too.
+
+2004-12-19  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scm/framework-svg.scm (dump-page): Implement landscape.
+
+2004-12-18  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * lily/main.cc (setup_paths): Add svg to search path.
+
+       * scm/output-svg.scm:
+       * scm/framework-svg.scm: Add pageSet.  Update.
+       (dump-fonts): New function.
+       (output-framework): Use it.
+
+       * mf/GNUmakefile: 
+       * buildscripts/gen-bigcheese-scripts.py: Also generate SVG font.
+
+2004-12-18  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * tex/lilyponddefs.tex: comment out new ifpdf code.
+
+2004-12-17  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * GNUmakefile.in: 
+       * SConstruct (symlink): Replace afm by otf.
+
+       * scm/framework-gnome.scm (gnome-main): Remove invocation of
+       ly:pango-add-afm-decoder.
+
+       * lily/lily-guile.cc ("ly:pango-add-afm-decoder"): Build fix: Remove.
+
+2004-12-17  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * scm/output-ps.scm (new-text): don't access t glyph for getting
+       space dimension.
+
+       * ly/init.ly: warn about \version
+
+       * lily/lexer.ll: set version-seen?
+
+2004-12-17  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+       * scm/output-svg.scm (string->entities): Update.
+
+2004-12-17  Han-Wen Nienhuys  <hanwen@xs4all.nl>
+
+       * lily/main.cc (setup_paths): replace afm by otf for path. 
+
+       * lily/pangofc-afm-decoder.cc: remove.
+
+       * lily/include/pangofc-afm-decoder.hh: remove.
+
+       * scm/framework-scm.scm (output-framework): new file.
+
+       * mf/GNUmakefile: remove SAUTER_FONTS.
+       remove SVG/sodipodi hacks.
+
+       * scm/lily-library.scm (stderr): move stderr.
+
+       * mf/GNUmakefile: remove AFM support.
+
+       * buildscripts/mf-to-table.py (base): remove AFM support.
+
+       * lily/open-type-font.cc (design_size): use design_size
+
 2004-12-17  Pedro Kroger  <kroeger@pedrokroeger.net>
 
        * lily/font-metric.cc (LY_DEFINE): Fix the docstring.
 
 2004-12-17  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * mf/GNUmakefile: Generate combined aybabtu info.
+       * mf/aybabtu.pe.in (i): Load it.
+
        * scm/framework-tex.scm (otf-font-load-command): Bugfix: subfonts
        are not symbols.