file(/var/lib/texmf). A script automating this has been included, see
file(buildscripts/clean-fonts.sh).
+
question(How does PS output work?)
-Make Type-1 fonts: issue
+itemize(
+it() Generate the PostScript Type-3 fonts. In the file(mf/)
+subdirectory, issue:
+verb(
+ make pfa
+)
+it() Run lilypond with option tt(-f ps):
+verb(
+ lilypond -fps foo.ly
+)
+it() To view the file(.ps) output with GhostView, set GS_FONTPATH to the
+directory containing the pfas. In the source tree, this is file(mf/out/),
+i.e. do something like:
verb(
- make pfa
-) in the mf/ subdirectory
-Set GS_FONTPATH to the directory containing the pfas. In the source
-tree, this is file(mf/out/). Run lilypond with option tt(-f ps).
+ export GS_FONTPATH=$HOME/usr/src/lilypond/mf/out
+ gv foo.ps &
+)
+)
+
+Direct PS output is still experimental. For creating nice looking ps
+output, use TeX() and code(dvips).
+
question(The beams and slurs are gone if use the XDvi magnifying glass!?)
+pl 35.jcn1
+ - some ps fixes
+
pl 35
pl 34.hwn2
So the best way of handling this, is
-* supporting dynamic settings in Audio_note
+- supporting dynamic settings in Audio_note
-* mimicking the broadcast/acknowledge mechanism of the Engravers in
+- mimicking the broadcast/acknowledge mechanism of the Engravers in
the Performers
-* using that mechanism to write a Dynamics_performer that will modify
+- using that mechanism to write a Dynamics_performer that will modify
any notes it finds to set appropriate strengths.
You could also kludge this by deriving from Performer_group_performer
MAJOR_VERSION=1
MINOR_VERSION=1
PATCH_LEVEL=35
-MY_PATCH_LEVEL=
+MY_PATCH_LEVEL=jcn1
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
AC_DEFUN(AC_STEPMAKE_TEXMF, [
# urg, never know what names these teTeX guys will think up
+
AC_CHECK_PROGS(METAFONT, mf, no)
if test "x$METAFONT" = "xno"; then
AC_CHECK_PROGS(MFONT, mfont, -echo no mf or mfont)
METAPOST=$MPOST
fi
+ AC_CHECK_PROGS(INIMETAFONT, inimf, no)
+ if test "x$INIMETAFONT" = "xno"; then
+ AC_CHECK_PROGS(INIMFONT, inimfont, -echo no inimf or inimfont)
+ INIMETAFONT=$INIMFONT
+ fi
+
+ AC_CHECK_PROGS(INIMETAPOST, inimp, no)
+ if test "x$INIMETAPOST" = "xno"; then
+ AC_CHECK_PROGS(INIMPOST, inimpost, -echo no inimp or inimpost)
+ INIMETAPOST=$INIMPOST
+ fi
+
AC_SUBST(METAFONT)
AC_SUBST(METAPOST)
+ AC_SUBST(INIMETAFONT)
+ AC_SUBST(INIMETAPOST)
])
AC_DEFUN(AC_STEPMAKE_WARN, [
'/FontMatrix [.001 0 0 .001 0 0] def\n'
'%%/FontMatrix [.01 0 0 .01 0 0] def\n'
'%%/FontMatrix [0.1 0 0 0.1 0 0] def\n'
-'%% /FontBBox [-1000 -1000 1000 1000] def\n'
-' /FontBBox [-3000 -3000 3000 3000] def\n'
-'%% /FontBBox [-300 -300 300 300] def\n'
+'%%/FontBBox [-1000 -1000 1000 1000] def\n'
+'/FontBBox [-3000 -3000 3000 3000] def\n'
+'%%/FontBBox [-300 -300 300 300] def\n'
'%%/FontBBox [-30 -30 30 30] def\n'
'\n'
'/Encoding 256 array def %% Trivial encoding vector\n'
f.write ('\n'
'/BuildGlyph { % Stack contains: font charname\n'
'% 1000 0 % Width\n'
+'% -1000 -1000 1000 1000 % Bounding Box\n'
'% -750 -750 750 750 % Bounding Box\n'
-' 3000 0 % Width\n'
-' -3000 -3000 3000 3000 % Bounding Box\n'
+'% -750 -750 750 750 % Bounding Box\n'
+' 3000 0 % Width\n'
+' -3000 -3000 3000 3000 % Bounding Box\n'
'% 300 0 % Width\n'
'% -300 -300 300 300 % Bounding Box\n'
'% 30 0 % Width\n'
BISON = @BISON@
FIND = @FIND@
FLEX = @FLEX@
+INIMETAFONT = @INIMETAFONT@
+INIMETAPOST = @INIMETAPOST@
LN = @LN@
LN_S = @LN_S@
METAFONT = @METAFONT@
$(outdir)/%.afm $(outdir)/%.tex $(outdir)/%.dep: $(outdir)/%.log
$(PYTHON) $(buildscripts)/mf-to-table.py --package=$(topdir) --outdir=$(outdir) --dep $(outdir)/$(<F:.log=.dep) --afm $(outdir)/$(<F:.log=.afm) --tex $(outdir)/$(<F:.log=.tex) $<
+localclean:
+ rm -f mfplain.mem mfplain.log
grestore
} bind def
-/vrule % width height depth
+/vrule % width depth height
{
gsave
3 -1 roll setlinewidth
- neg 0 exch moveto
- 0 exch lineto stroke
+ %neg 0 exch moveto
+ 0 exch moveto
+ neg 0 exch lineto stroke
grestore
} bind def
-/draw_stem % kern width height depth
+/draw_stem % breapth width depth height
{
gsave
4 -1 roll neg 0 translate
(define (experimental-on) "")
- (define (filledbox kern width height depth)
- (string-append (numbers->string (list kern width height depth))
+ (define (filledbox breapth width depth height)
+ (string-append (numbers->string (list breapth width depth height))
"draw_stem" ))
;; obsolete?
(clear-fontcache)
"\nstart_line {\n"))
- (define (stem kern width height depth)
- (string-append (numbers->string (list kern width height depth))
+ (define (stem breapth width depth height)
+ (string-append (numbers->string (list breapth width depth height))
"draw_stem" ))
(define (stop-line)
+pl 72
+ - bf: mfplain dependency
+ - inimf, inimf checking (sigh)
+
pl 71
- bf: c-tags
- yodl: groff, ditroff
PACKAGE_NAME=StepMake
MAJOR_VERSION=0
MINOR_VERSION=1
-PATCH_LEVEL=71
+PATCH_LEVEL=72
MY_PATCH_LEVEL=
# use the above to send patches, always empty for released version:
AC_DEFUN(AC_STEPMAKE_TEXMF, [
# urg, never know what names these teTeX guys will think up
+
AC_CHECK_PROGS(METAFONT, mf, no)
if test "x$METAFONT" = "xno"; then
AC_CHECK_PROGS(MFONT, mfont, -echo no mf or mfont)
METAPOST=$MPOST
fi
+ AC_CHECK_PROGS(INIMETAFONT, inimf, no)
+ if test "x$INIMETAFONT" = "xno"; then
+ AC_CHECK_PROGS(INIMFONT, inimfont, -echo no inimf or inimfont)
+ INIMETAFONT=$INIMFONT
+ fi
+
+ AC_CHECK_PROGS(INIMETAPOST, inimp, no)
+ if test "x$INIMETAPOST" = "xno"; then
+ AC_CHECK_PROGS(INIMPOST, inimpost, -echo no inimp or inimpost)
+ INIMETAPOST=$INIMPOST
+ fi
+
AC_SUBST(METAFONT)
AC_SUBST(METAPOST)
+ AC_SUBST(INIMETAFONT)
+ AC_SUBST(INIMETAPOST)
])
AC_DEFUN(AC_STEPMAKE_WARN, [
BISON = @BISON@
FIND = @FIND@
FLEX = @FLEX@
+INIMETAFONT = @INIMETAFONT@
+INIMETAPOST = @INIMETAPOST@
LN = @LN@
LN_S = @LN_S@
METAFONT = @METAFONT@
# i've got no idea what this scaling could be for, on both sides...
# it seems that 'low_res', which should be all we ever need according
# to the metapost mfplain guru, really does 200dpi, iso 600dpi (minimun)
- -$(METAPOST) "&mfplain \mode=lowres; \mag=100.0; batchmode; input $<"
# -$(METAPOST) "&mfmp \mode=ljfour; \mag=100.0; batchmode; input $<"
+# -$(METAPOST) "&mfplain \mode=lowres; \mag=100.0; batchmode; input $<"
+ -$(METAPOST) "&mfplain \mode=lowres; \mag=30.0; batchmode; input $<"
$(PYTHON) $(depth)/buildscripts/ps-to-pfa.py $<
rm -f $(basename $(@F)).[0-9]*
rm -f $(basename $<).log $(basename $<).tfm
-pfa: $(PFA_FILES) mfplain.mem
+pfa: mfplain.mem $(PFA_FILES)
-mfplain.mem:
- inimpost mfplain.ini
+mfplain.mem: mfplain.ini
+ $(INIMETAPOST) mfplain.ini