From 0954a2f259756faaa8feb0e9bd49f7e129b283ba Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 29 Dec 2004 14:00:34 +0000 Subject: [PATCH] * Documentation/topdocs/NEWS.texi (Top): add -f texstr * Documentation/user/invoking.itely (Invoking lilypond): document texstr --- ChangeLog | 5 +++++ Documentation/topdocs/NEWS.texi | 4 ++++ Documentation/user/invoking.itely | 7 ++++++- input/test/ancient-font.ly | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ee188cfce3..dcebb01733 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2004-12-29 Han-Wen Nienhuys + * 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 . diff --git a/Documentation/topdocs/NEWS.texi b/Documentation/topdocs/NEWS.texi index a67c34cee4..73f20c20f4 100644 --- a/Documentation/topdocs/NEWS.texi +++ b/Documentation/topdocs/NEWS.texi @@ -7,6 +7,10 @@ @unnumbered New features in 2.5 since 2.4 @itemize @bullet +@item +Metrics of blocks of text can be retrieved from (La)@TeX{} directly, +using the @code{-f texstr} output backend. This provides exact metrics, +including kerning and accents, for texts. @item LilyPond now uses FreeType read the Feta font as an OpenType diff --git a/Documentation/user/invoking.itely b/Documentation/user/invoking.itely index 7359b9ac67..1fdeee0ff3 100644 --- a/Documentation/user/invoking.itely +++ b/Documentation/user/invoking.itely @@ -60,7 +60,12 @@ information. the output format to use for the back-end. Choices are @table @code @item tex -for @TeX{} output, to be processed with La@TeX{} +for @TeX{} output, to be processed with La@TeX{}. If present, the file +@file{file.textmetrics} is read to determine text extents. +@item texstr +dump text strings to @file{.texstr} file, which can be run through +(La)@TeX{}, resulting in a @code{.textmetrics} file, which contains the +extents of strings of text. @item ps for PostScript @cindex PostScript output diff --git a/input/test/ancient-font.ly b/input/test/ancient-font.ly index 02986da90a..16aae2dad2 100644 --- a/input/test/ancient-font.ly +++ b/input/test/ancient-font.ly @@ -87,7 +87,7 @@ upperStaff = \context GregorianStaff = "upperStaff" << \override NoteHead #'style = #'hufnagel.punctum \clef "hufnagel-fa2" ces! des! es! - \override Staff.BarLine #'bar.size = #3.0 \bar "|" + \override Staff.BarLine #'bar-size = #3.0 \bar "|" % \break % 6 (8*1) fes! ges! -- 2.39.2