+++ /dev/null
-#!@SHELL@
-# tfmtoafm.sh --urg
-
-tfm=$1
-font=`basename $1 .tfm`
-
-if [ $# -ne 1 -o "$tfm" = "$font" ]; then
- echo "Usage: tfmtoafm TFM-FILE"
- echo
- echo "example: tfmtoafm cmr10.tfm"
- exit 2
-fi
-
-size=`echo $font | sed "s/[^0-9]*//"`
-afm=$font.afm
-fontfile=`kpsewhich $font.tfm`
-t1=/tmp/tfmtoafm1-$$
-t2=/tmp/tfmtoafm2-$$
-rm -f $t1 $t2 $font $afm
-
-for i in `seq 1 127`; do printf "%d Character-%d\n" $i $i >> $t1; done
-tfmtodit $fontfile $t1 $font
-rm $t1
-scaling=`awk -v OFMT='%.5f' '/designsize/ {print $2/'$size/1000} $font`
-tail -127 $font | cut -f 1-2 > $t1
-cat $t1 | cut -d, -f 1-2 > $t2
-rm $t1
-#nl -ba $t2 | awk -F '[ \t,]+' '{print "C "$2";\t"$3";\tB 0.00 0.00 "$4/'"$scaling"'" "$5/'"$scaling"'";"}' > $t1
-nl -ba $t2 | awk -F '[ \t,]+' '{print "C "$2" ; WX 0 ; N "$3" ; B 0.00 0.00 "$4/'"$scaling"'" "$5/'"$scaling"'" ;"}' > $t1
-
-count=`cat $t1 | wc -l`
-count=$((count + 1))
-cat > $afm <<EOF
-FontName cmr
-StartFontMetrics
-StartCharMetrics $count
-EOF
-# urg 0 is difficult but we need it
-head -1 $t1 | sed -e "s/C 1 ;/C 0 ;/" -e "s/-1 ;/-0 ;/" >> $afm
-cat $t1 >> $afm
-cat >> $afm <<EOF
-EndCharMetrics
-EndFontMetrics
-EOF
-rm $t1 $t2 $font
-
+++ /dev/null
-% auto-beam-settings.ly
-% setup for auto-beam engraver
-%
-% specify generic beam end times
-
-% format:
-%
-% [time-signature]'beamAutoEnd'[duration]
-%
-% where
-%
-% time-signature = 'time'[numerator]'_'denominator; eg: 3_4
-% duration = [numerator]'_'denominator; eg: 3_8, _16
-%
-
-% in 3/2 time:
-% end beams each 1/2 note
-% end beams with 16th notes each 1/4 note
-% end beams with 32th notes each 1/8 note
-
-
-%{
-
-UGH UGH.
-
-Fixme: should use an alist
-
-autoBeamSettings = (list
- (cons (list (make-moment MEASURE) TIME-SIGNATURE) (make-moment INTERVAL)
- ..
-
- )
-
-
-
-%}
-
-time3_2beamAutoEnd = #(make-moment 1 2)
-%time3_2beamAutoEnd_16 = #(make-moment 1 4)
-time3_2beamAutoEnd_16 = #(make-moment 1 4)
-time3_2beamAutoEnd_32 = #(make-moment 1 8)
-
-time3_4beamAutoBegin_8 = #(make-moment 1 4)
-time3_4beamAutoEnd = #(make-moment 3 4)
-time3_4beamAutoBegin_16 = #(make-moment 1 16)
-time3_4beamAutoEnd_16 = #(make-moment 1 4)
-%time3_4beamAutoBegin_32 = #(make-moment 1 8)
-time3_4beamAutoEnd_32 = #(make-moment 1 8)
-
-time3_8beamAutoBegin_16 = #(make-moment 1 8)
-time3_8beamAutoEnd = #(make-moment 3 8)
-
-% in common time:
-% end beams each 1/2 note
-% end beams with 32th notes each 1/8 note
-% end beams with 1/8 triplets each 1/4 note
-
-time4_4beamAutoEnd = #(make-moment 1 2)
-time4_4beamAutoEnd_12 = #(make-moment 1 4)
-time4_4beamAutoEnd_16 = #(make-moment 1 4)
-time4_4beamAutoEnd_32 = #(make-moment 1 8)
-
-time2_4beamAutoEnd = #(make-moment 1 4)
-time2_4beamAutoEnd_12 = #(make-moment 1 4)
-time2_4beamAutoEnd_16 = #(make-moment 1 4)
-time2_4beamAutoEnd_32 = #(make-moment 1 8)
-
-
-time4_8beamAutoEnd = #(make-moment 1 4)
-time4_8beamAutoEnd_16 = #(make-moment 1 4)
-time4_8beamAutoEnd_32 = #(make-moment 1 8)
-
-time4_16beamAutoEnd = #(make-moment 1 8)
-
-time6_8beamAutoEnd = #(make-moment 3 8)
-time6_8beamAutoEnd_16 = #(make-moment 3 8)
-time6_8beamAutoEnd_32 = #(make-moment 1 8)
-
-time9_8beamAutoEnd = #(make-moment 3 8)
-time9_8beamAutoEnd_16 = #(make-moment 3 8)
-time9_8beamAutoEnd_32 = #(make-moment 1 8)
-
-time12_8beamAutoEnd = #(make-moment 3 8)
-time12_8beamAutoEnd_16 = #(make-moment 3 8)
-time12_8beamAutoEnd_32 = #(make-moment 1 8)
-
-
-
-%{
-
-Users may override in most cases, simply by issuing
-
- % from here on consider ending beam every 1/4 note
- \property Voice.beamAutoEnd = #(make-moment 1 4)
-
- % no autobeaming
- \property Voice.beamAuto = ##f
-
-or, more globally, by doing:
-
- \paper{
- \translator{
- \VoiceContext
- % consider ending beam at every 1/2 note
- beamAutoEnd = #(make-moment 1 2)
- }
- }
-
-see also input/test/auto-beam-override.ly
-
-%}
-