]> git.donarmstrong.com Git - lilypond.git/commitdiff
patch::: 1.1.35.jcn1: ps fixes -- huh?
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 Mar 1999 16:02:12 +0000 (17:02 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 17 Mar 1999 16:02:12 +0000 (17:02 +0100)
pl 35.jcn1
- some ps fixes

16 files changed:
Documentation/faq.yo
NEWS
TODO
VERSION
aclocal.m4
buildscripts/ps-to-pfa.py
config.make.in
mf/GNUmakefile
ps/lilyponddefs.ps
scm/lily.scm
stepmake/NEWS
stepmake/VERSION
stepmake/aclocal.m4
stepmake/config.make.in
stepmake/stepmake/metapost-rules.make
stepmake/stepmake/metapost-targets.make

index b7278b52063cf49996b31937ec891a75ba2cae70..ea2e567fe0c430947c2246e0aa61bdeb7626657d 100644 (file)
@@ -391,14 +391,31 @@ previous fonts, including the file(.pk) and file(.tfm) fonts in
 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!?)
 
diff --git a/NEWS b/NEWS
index c750a49d469f70a4e09b3e76898b7e66d3514bcb..8f707c6969a386f6f69c9ef14ed2733579d797aa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+pl 35.jcn1
+       - some ps fixes
+
 pl 35
 
 pl 34.hwn2
diff --git a/TODO b/TODO
index 3df133a7cd6214aa96f13eb0b6823a38b36213b3..029a6293d75f15726e484c44c5d022575e82b36b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -439,12 +439,12 @@ with a broadcast/acknowledge process.
 
 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
diff --git a/VERSION b/VERSION
index 487d616ca1f2bf5d23594fc7d396431357ade07a..187c9b24008d2b5cf4a69b4071f364e3293964b0 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond
 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.
index 0dedb26ffd7e5bcf8c72d74035be3876a1f859ca..0a8f9d46b4dd59a760cc2ba2aa89aab3b5390377 100644 (file)
@@ -503,6 +503,7 @@ AC_DEFUN(AC_STEPMAKE_TEXMF_DIRS, [
 
 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)
@@ -515,8 +516,22 @@ AC_DEFUN(AC_STEPMAKE_TEXMF, [
        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, [
index 33ee75ddec096632e521420a952811918e1ec256..2bbd2813da258a7cefd8b115f9bb1f4ebc8ffeb8 100644 (file)
@@ -85,9 +85,9 @@ def header (f):
 '/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'
@@ -97,9 +97,11 @@ def footer (f):
        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'
index 8eef00972fba97fa117b68f558d4eab5dcb3240b..841d5e28d1bf6342bdba4511382eb0172c5d24bd 100644 (file)
@@ -46,6 +46,8 @@ BASH = @BASH@
 BISON = @BISON@
 FIND = @FIND@
 FLEX = @FLEX@
+INIMETAFONT = @INIMETAFONT@
+INIMETAPOST = @INIMETAPOST@
 LN = @LN@
 LN_S = @LN_S@
 METAFONT = @METAFONT@
index 3c04833f4499016010c450215a037871c6bebc15..2566a2f5f714ae0a5084437732457406b87b9a00 100644 (file)
@@ -39,3 +39,5 @@ default: $(ALL_GEN_FILES)
 $(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
index 7bc7ae58ea4e5b468f9765af7dac2f22a1339260..4aa7edbdc25e595adba28fcfd2af5b86fb608c00 100644 (file)
        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
index 59af7371a9684af3417f994867446be8d1c639b2..a07a1fcd7e22ac573e6fd52da99467c7d84c77de 100644 (file)
   
   (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)
index cfc9576c3ed980316f0454b7bd23a649e237b51b..480f8a8cd289547422132fb959de1847b49a148e 100644 (file)
@@ -1,3 +1,7 @@
+pl 72
+       - bf: mfplain dependency
+       - inimf, inimf checking (sigh)
+
 pl 71
        - bf: c-tags
        - yodl: groff, ditroff
index 833861a630de6ec449faf2ce41dc8cb852fd1ee4..df407f27e30f792ef85edc7f05f6196063c8f6e9 100644 (file)
@@ -1,7 +1,7 @@
 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:
index cf7c1a686ed0a310c9a7497a6f41a13e0b533b47..c9e042c0e5cc4efc2cefff60060b7dc12291a646 100644 (file)
@@ -501,6 +501,7 @@ AC_DEFUN(AC_STEPMAKE_TEXMF_DIRS, [
 
 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)
@@ -513,8 +514,22 @@ AC_DEFUN(AC_STEPMAKE_TEXMF, [
        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, [
index 442d65c0a41b3df960cbaf59ba70d211f5e6750b..f3fcccab6eb4574d7924127add591c9feff6dc32 100644 (file)
@@ -45,6 +45,8 @@ BASH = @BASH@
 BISON = @BISON@
 FIND = @FIND@
 FLEX = @FLEX@
+INIMETAFONT = @INIMETAFONT@
+INIMETAPOST = @INIMETAPOST@
 LN = @LN@
 LN_S = @LN_S@
 METAFONT = @METAFONT@
index 4cd6423483dc3075d5cdefa3a262c2d8163c3aa4..cddbaf88c53c5ff5d23d57705e102c36c3795727 100644 (file)
@@ -4,8 +4,9 @@ $(outdir)/%.pfa: %.mf
 # 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
index cf632d9de1ae0e8e583406493eaa9075132f7147..fb013f244fbafc445dfb3ce3ecad38d6478e2ef1 100644 (file)
@@ -1,5 +1,5 @@
 
-pfa: $(PFA_FILES) mfplain.mem
+pfa: mfplain.mem $(PFA_FILES)
 
-mfplain.mem:
-       inimpost mfplain.ini
+mfplain.mem: mfplain.ini
+       $(INIMETAPOST) mfplain.ini