+2006-01-01 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * mf/GNUmakefile (NCSB_PATH): add vars for NCSB.
+ (install-ncsb-ttf): new target.
+
+ * scm/define-grobs.scm (all-grob-descriptions): add font-interface
+ to LyricHyphen.
+
+ * lily/lyric-hyphen.cc (print): multiply hyphen height by
+ font-size
+
2005-12-31 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * VERSION: release 2.7.26
+
* mf/GNUmakefile (install-fc-cache): remove old font.cache-1 files.
2005-12-30 Han-Wen Nienhuys <hanwen@xs4all.nl>
ADD_ACKNOWLEDGER (Font_size_engraver, font);
ADD_TRANSLATOR (Font_size_engraver,
- /* doc */ "Puts fontSize into font-relative-size grob property.",
+ /* doc */ "Puts fontSize into font-size grob property.",
/* create */ "",
/* accept */ "",
/* read */ "fontSize",
Real lt = me->layout ()->get_dimension (ly_symbol2scm ("linethickness"));
Real th = robust_scm2double (me->get_property ("thickness"), 1) * lt;
- Real h = robust_scm2double (me->get_property ("height"), 0.5);
+ Real font_size_step = robust_scm2double (ly_chain_assoc_get (ly_symbol2scm ("font-size"), chain, SCM_BOOL_F),
+ 0.0);
+ Real h = robust_scm2double (me->get_property ("height"), 0.5)
+ * pow (2.0, font_size_step / 6.0);
// interval?
SVG_FILES = $(OTF_FILES:%.otf=%.svg) $(ALL_FONTS:%=$(outdir)/%.svg)
-$(outdir)/aybabtu.otf-table: $(BRACES:%=$(outdir)/feta-braces-%.otf-table)
- cat $^ > $@
-
-$(outdir)/aybabtu.otf-gtable: $(BRACES:%=$(outdir)/feta-braces-%.otf-gtable)
- echo '(design_size . 20)' > $@
+NCSB_FILES=c059013l c059016l c059033l c059036l
+NCSB_TTFS=$(addprefix $(outdir)/,$(addsuffix .ttf, $(NCSB_FILES)))
+NCSB_PATH=/usr/share/fonts/default/Type1
+NCSB_INSTALL_DIR=$(local_lilypond_datadir)/fonts/otf
LOG_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.log)
LISP_FILES = $(FETA_MF_FILES:%.mf=$(outdir)/%.lisp)
ENCODING_FILE=$(findstring $(<F:.mf=.enc), $(FETA_MF_FILES:.mf=.enc))
MFTRACE_FLAGS=$(if $(ENCODING_FILE),--encoding $(ENCODING_FILE),) --no-afm
+
+
+
+$(outdir)/aybabtu.otf-table: $(BRACES:%=$(outdir)/feta-braces-%.otf-table)
+ cat $^ > $@
+
+$(outdir)/aybabtu.otf-gtable: $(BRACES:%=$(outdir)/feta-braces-%.otf-gtable)
+ echo '(design_size . 20)' > $@
+
+
# only for fonts which
#
# 1. are mentioned in font.scm
-rm -f $(DESTDIR)$(local_lilypond_datadir)/dvips/map
-rmdir $(DESTDIR)$(local_lilypond_datadir)/dvips
-foe:
- @echo mf:$(FETA_MF_FILES)
+
+$(outdir)/%.ttf: $(NCSB_PATH)/%.pfb
+ $(foreach i,$(NCSB_FILES), \
+ $(FONTFORGE) -script $(buildscript-dir)/pfx2ttf.fontforge \
+ $(NCSB_PATH)/$(i).pfb $(NCSB_PATH)/$(i).afm \
+ $(outdir)/$(i).ttf && ) true
+
+install-ncsb-ttf: $(NCSB_TTFS)
+ $(INSTALL) -d $(DESTDIR)$(NCSB_INSTALL_DIR)
+ $(INSTALL) $(NCSB_TTFS) $(DESTDIR)$(NCSB_INSTALL_DIR)