+2002-03-19 Jan Nieuwenhuizen <janneke@gnu.org>
+
+ * mf/GNUmakefile (depth): Always allow manual access to pfa target.
+
+ * tex/lily-ps-defs.tex: scaletounit using PT/IN==72.
+
+ * lily/slur.cc (get_attachment): Bugfix: correct for stem thickness.
+
2002-03-19 Han-Wen <hanwen@cs.uu.nl>
* VERSION: 1.5.43 released
MAJOR_VERSION=1
MINOR_VERSION=5
PATCH_LEVEL=43
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
Real hs = staff_space / 2.0;
Offset o;
+ int slurdir = gh_scm2int (me->get_grob_property ("direction"));
+
Grob *stem = 0;
if (Note_column::has_interface (sp->get_bound (dir)))
{
/*
Default position is on stem X, at stem end Y
*/
+ Real stem_thickness =
+ gh_scm2double (stem->get_grob_property ("thickness"))
+ * stem->paper_l ()->get_var ("stafflinethickness");
o += Offset (0.5 *
- x_extent * (1 + Stem::get_direction (stem)),
+ x_extent * (1 + Stem::get_direction (stem))
+ - ((dir + 1)/2) * stem_thickness
+ + ((1 - slurdir)/2) * stem_thickness,
0);
}
}
SCM alist = me->get_grob_property ("extremity-offset-alist");
int stemdir = stem ? Stem::get_direction (stem) : 1;
- int slurdir = gh_scm2int (me->get_grob_property ("direction"));
SCM l = scm_assoc
(scm_list_n (a,
gh_int2scm (stemdir * dir),
# making pfas takes a lot of CPU time. Let's skip it for now.
#MAKE_PFA_FILES=1
-ifdef MAKE_PFA_FILES
PFA_FILES = $(addprefix $(outdir)/, $(FONT_FILES:.mf=.pfa))
+ifdef MAKE_PFA_FILES
ALL_GEN_FILES += $(PFA_FILES) $(outdir)/lilypond.map
INSTALLATION_OUT_DIR4=$(datadir)/fonts/type1
INSTALLATION_OUT_FILES4=$(PFA_FILES)
INSTALLATION_OUT_DIR5=$(datadir)/dvips/
INSTALLATION_OUT_FILES5=$(outdir)/lilypond.map
-pfa: $(PFA_FILES)
endif
export MFINPUTS:=.:$(MFINPUTS)
rm -f mfplain.mem mfplain.log
rm -f *.tfm *.log
+pfa: $(PFA_FILES)
\def\PSsetTeXdimen#1{\expandafter\special{! /#1 (\csname #1\endcsname) set_tex_dimen}}
\def\lilySpace{ }
-% for mm: 72.27/25.4
-\def\scaletounit{ 2.845276 mul }
+% PostScript PT/IN: 72/25.4
+\def\scaletounit{ 2.834645 mul }
% for true printers points to postscript points:
%\def\scaletounit{1.00375}