]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 4552 / 5: Remove makefiles to convert and install URW++ fonts
authorMasamichi Hosoda <trueroad@trueroad.jp>
Fri, 14 Aug 2015 13:45:20 +0000 (22:45 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 20 Aug 2015 09:35:43 +0000 (18:35 +0900)
This commit removes makefiles to convert to OTF and install URW++ fonts.
(Century Schoolbook L, Nimbus Sans L, Nimbus Mono L)

mf/GNUmakefile
scripts/auxiliar/pfx2ttf-mono.fontforge [deleted file]
scripts/auxiliar/pfx2ttf.fontforge [deleted file]

index 2cddd187e12b8082b1bc7c354f948fd3d84bf392..4860f65f6e61a6203d4b21fa33773a11ce83117c 100644 (file)
@@ -35,21 +35,6 @@ OTF_TABLES = $(STAFF_SIZES:%=$(outdir)/feta%.otf-table) \
 SVG_FILES = $(OTF_FILES:%.otf=%.svg)
 WOFF_FILES = $(OTF_FILES:%.otf=%.woff)
 
-NCSB_OTFS = $(addprefix $(outdir)/,CenturySchL-Ital.otf \
-                                  CenturySchL-BoldItal.otf \
-                                  CenturySchL-Roma.otf \
-                                  CenturySchL-Bold.otf)
-
-HELV_OTFS = $(addprefix $(outdir)/,NimbusSanL-ReguItal.otf \
-                                  NimbusSanL-BoldItal.otf \
-                                  NimbusSanL-Regu.otf \
-                                  NimbusSanL-Bold.otf)
-
-COUR_OTFS = $(addprefix $(outdir)/,NimbusMonL-ReguObli.otf \
-                                  NimbusMonL-BoldObli.otf \
-                                  NimbusMonL-Regu.otf \
-                                  NimbusMonL-Bold.otf)
-
 TEXGYRE_OTFS = $(addprefix $(TEXGYRE_DIR)/,$(TEXGYRE_FILES))
 
 LILYPOND_FONTS_CONF = $(outdir)/00-lilypond-fonts.conf \
@@ -88,9 +73,6 @@ $(outdir)/emmentaler-%.genpe: $(buildscript-dir)/gen-emmentaler-scripts
        $< --dir=$(outdir) --design-size=$(patsubst emmentaler-%.genpe,%,$(notdir $@))
 
 ALL_GEN_FILES = $(ENC_FILES) \
-               $(NCSB_OTFS) \
-               $(HELV_OTFS) \
-               $(COUR_OTFS) \
                $(OTF_FILES) \
                $(SVG_FILES) \
                $(WOFF_FILES) \
@@ -105,7 +87,7 @@ INSTALLATION_OUT_SUFFIXES = 1 2 3
 
 INSTALLATION_OUT_DIR1 = $(local_lilypond_datadir)/fonts/otf
 INSTALLATION_OUT_FILES1 = $(OTF_FILES) \
-                         $(NCSB_OTFS) $(HELV_OTFS) $(COUR_OTFS) $(TEXGYRE_OTFS)
+                         $(TEXGYRE_OTFS)
 
 INSTALLATION_OUT_DIR2 = $(local_lilypond_datadir)/fonts/svg
 INSTALLATION_OUT_FILES2 = $(SVG_FILES) $(WOFF_FILES)
@@ -181,37 +163,3 @@ local-clean:
 
 $(outdir)/fonts.conf:
        echo '<fontconfig><dir>'$(shell cd $(outdir); pwd)'</dir></fontconfig>' > $@
-
-
-$(outdir)/CenturySchL-Roma.otf: $(NCSB_SOURCE_FILES) \
-             $(auxscript-dir)/pfx2ttf.fontforge
-       $(foreach i, $(basename $(NCSB_SOURCE_FILES)), \
-               $(FONTFORGE) -script $(auxscript-dir)/pfx2ttf.fontforge \
-                       $(i).pfb $(i).afm $(outdir)/ && ) true
-
-$(addprefix $(outdir)/,CenturySchL-Ital.otf \
-       CenturySchL-Bold.otf \
-       CenturySchL-BoldItal.otf): $(outdir)/CenturySchL-Roma.otf
-       $(UPDATE_TARGET)
-
-$(outdir)/NimbusSanL-Regu.otf: $(HELV_SOURCE_FILES) \
-             $(auxscript-dir)/pfx2ttf.fontforge
-       $(foreach i, $(basename $(HELV_SOURCE_FILES)), \
-               $(FONTFORGE) -script $(auxscript-dir)/pfx2ttf.fontforge \
-                       $(i).pfb $(i).afm $(outdir)/ && ) true
-
-$(addprefix $(outdir)/,NimbusSanL-ReguItal.otf \
-       NimbusSanL-Bold.otf \
-       NimbusSanL-BoldItal.otf): $(outdir)/NimbusSanL-Regu.otf
-       $(UPDATE_TARGET)
-
-$(outdir)/NimbusMonL-Regu.otf: $(COUR_SOURCE_FILES) \
-             $(auxscript-dir)/pfx2ttf-mono.fontforge
-       $(foreach i, $(basename $(COUR_SOURCE_FILES)), \
-               $(FONTFORGE) -script $(auxscript-dir)/pfx2ttf-mono.fontforge \
-                       $(i).pfb $(i).afm $(outdir)/ && ) true
-
-$(addprefix $(outdir)/,NimbusMonL-ReguObli.otf \
-       NimbusMonL-Bold.otf \
-       NimbusMonL-BoldObli.otf): $(outdir)/NimbusMonL-Regu.otf
-       $(UPDATE_TARGET)
diff --git a/scripts/auxiliar/pfx2ttf-mono.fontforge b/scripts/auxiliar/pfx2ttf-mono.fontforge
deleted file mode 100644 (file)
index 7b80494..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-Open($1);
-MergeKern($2)
-
-
-# The AFM files of `New Century Schoolbook' family as distributed within the
-# urw-fonts-1.0.7pre41.tar.bz2 archive contain a bunch of ligatures which
-# shouldn't be active by default:
-#
-#   T + M -> trademark
-#   N + o -> afii61352
-#   i + j -> ij
-#   I + J -> IJ
-#
-# This font bundle is shipped by Fedora Core 6 and other GNU/Linux
-# distributions; we simply remove those ligatures.
-
-# Monospace font shouldn't have these ligature.
-#
-#   f + i -> fi
-#   f + l -> fl
-
-SelectIf("trademark", "trademark", \
-         "afii61352", "afii61352", \
-         "ij", "ij", \
-         "IJ", "IJ", \
-        "fi", "fi", \
-        "fl", "fl");
-if (Strtol($version) < 20070501)
-  RemoveATT("Ligature", "*", "*");
-else
-  RemovePosSub("*");
-endif
-
-Generate($3 + $fontname + ".otf");
-
-# EOF
diff --git a/scripts/auxiliar/pfx2ttf.fontforge b/scripts/auxiliar/pfx2ttf.fontforge
deleted file mode 100644 (file)
index 7d87fae..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-Open($1);
-MergeKern($2)
-
-
-# The AFM files of `New Century Schoolbook' family as distributed within the
-# urw-fonts-1.0.7pre41.tar.bz2 archive contain a bunch of ligatures which
-# shouldn't be active by default:
-#
-#   T + M -> trademark
-#   N + o -> afii61352
-#   i + j -> ij
-#   I + J -> IJ
-#
-# This font bundle is shipped by Fedora Core 6 and other GNU/Linux
-# distributions; we simply remove those ligatures.
-
-SelectIf("trademark", "trademark", \
-         "afii61352", "afii61352", \
-         "ij", "ij", \
-         "IJ", "IJ");
-if (Strtol($version) < 20070501)
-  RemoveATT("Ligature", "*", "*");
-else
-  RemovePosSub("*");
-endif
-
-Generate($3 + $fontname + ".otf");
-
-# EOF