From: Han-Wen Nienhuys Date: Sun, 1 Jan 2006 18:56:38 +0000 (+0000) Subject: * buildscripts/pfx2ttf.fontforge: new file. X-Git-Tag: release/2.7.27~34 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ecb5aff6fdf5b0369b7838426c400ba294a1eb01;p=lilypond.git * buildscripts/pfx2ttf.fontforge: new file. * mf/GNUmakefile (NCSB_PATH): add vars for NCSB. ($(outdir)/%.ttf): new rule. --- diff --git a/ChangeLog b/ChangeLog index 52276ebd1b..431cedc4f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ 2006-01-01 Han-Wen Nienhuys + * buildscripts/pfx2ttf.fontforge: new file. + * mf/GNUmakefile (NCSB_PATH): add vars for NCSB. - (install-ncsb-ttf): new target. + ($(outdir)/%.ttf): new rule. * scm/define-grobs.scm (all-grob-descriptions): add font-interface to LyricHyphen. diff --git a/buildscripts/pfx2ttf.fontforge b/buildscripts/pfx2ttf.fontforge new file mode 100644 index 0000000000..914d1d1e7c --- /dev/null +++ b/buildscripts/pfx2ttf.fontforge @@ -0,0 +1,6 @@ +#!@FONTFORGE@ + +Open($1); +MergeKern($2) +Generate($3); + diff --git a/mf/GNUmakefile b/mf/GNUmakefile index 4ecf990190..e70ed80093 100644 --- a/mf/GNUmakefile +++ b/mf/GNUmakefile @@ -137,7 +137,7 @@ $(PE_SCRIPTS): $(buildscript-dir)/gen-emmentaler-scripts.py $(outdir)/fonts.cache-1: $(PFA_OTF_FILES) $(PFA_FILES) $(OTF_FILES) cd $(outdir) ; fc-cache . -local-install: install-fc-cache +local-install: install-ncsb-ttf install-fc-cache install-fc-cache: $(foreach suff, $(INSTALLATION_OUT_SUFFIXES), rm -f $(DESTDIR)$(INSTALLATION_OUT_DIR$(suff))/fonts.cache-1 && ) true @@ -148,7 +148,7 @@ PFA_FILES = $(ALL_FONTS:%=$(outdir)/%.pfa) $(PFA_OTF_FILES) # Make tfm files first, log files last, # so that normally log files aren't made twice -ALL_GEN_FILES= $(TFM_FILES) $(TEXTABLES) $(TFM_FILES) $(LOG_FILES) $(ENC_FILES) $(LISP_FILES) $(FETA_LIST_FILES) $(OTF_TABLES) $(PFA_FILES) $(OTF_FILES) $(SVG_FILES) $(outdir)/fonts.cache-1 +ALL_GEN_FILES= $(TFM_FILES) $(TEXTABLES) $(TFM_FILES) $(LOG_FILES) $(ENC_FILES) $(LISP_FILES) $(FETA_LIST_FILES) $(OTF_TABLES) $(NCSB_TTFS) $(PFA_FILES) $(OTF_FILES) $(SVG_FILES) $(outdir)/fonts.cache-1 #PRE_INSTALL=$(MAKE) "$(ALL_GEN_FILES)" INSTALLATION_DIR=$(local_lilypond_datadir)/fonts/source @@ -159,9 +159,8 @@ INSTALLATION_OUT_SUFFIXES=1 2 3 5 7 8 9 INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/tex INSTALLATION_OUT_FILES1=$(TEXTABLES) -# must not be installed with .cff, pango/fontconfig does not like .cff fonts INSTALLATION_OUT_DIR2=$(local_lilypond_datadir)/fonts/otf -INSTALLATION_OUT_FILES2=$(OTF_FILES) +INSTALLATION_OUT_FILES2=$(OTF_FILES) $(NCSB_TTFS) INSTALLATION_OUT_DIR3=$(local_lilypond_datadir)/fonts/tfm INSTALLATION_OUT_FILES3=$(TFM_FILES) @@ -260,7 +259,3 @@ $(outdir)/%.ttf: $(NCSB_PATH)/%.pfb $(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)