From 100d1b33f088fd38f69129afff7f9c2a1e084a57 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 24 May 2024 06:52:24 +0200 Subject: Merging upstream version 6.8. Signed-off-by: Daniel Baumann --- share/mk/build/fonts/tinos/_.mk | 20 ++++++++++++++++++++ share/mk/build/fonts/tinos/afm.mk | 22 ++++++++++++++++++++++ share/mk/build/fonts/tinos/dit.mk | 22 ++++++++++++++++++++++ share/mk/build/fonts/tinos/pfa.mk | 22 ++++++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 share/mk/build/fonts/tinos/_.mk create mode 100644 share/mk/build/fonts/tinos/afm.mk create mode 100644 share/mk/build/fonts/tinos/dit.mk create mode 100644 share/mk/build/fonts/tinos/pfa.mk (limited to 'share/mk/build/fonts/tinos') diff --git a/share/mk/build/fonts/tinos/_.mk b/share/mk/build/fonts/tinos/_.mk new file mode 100644 index 0000000..01bc122 --- /dev/null +++ b/share/mk/build/fonts/tinos/_.mk @@ -0,0 +1,20 @@ +# Copyright 2021-2024, Alejandro Colomar +# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception + + +ifndef MAKEFILE_BUILD_FONTS_TINOS_INCLUDED +MAKEFILE_BUILD_FONTS_TINOS_INCLUDED := 1 + + +include $(MAKEFILEDIR)/build/fonts/tinos/pfa.mk +include $(MAKEFILEDIR)/build/fonts/tinos/dit.mk + + +_TINOS := $(_TINOS_PFA) $(_TINOSR) + + +.PHONY: build-fonts-tinos +build-fonts-tinos: $(_TINOS) + + +endif # include guard diff --git a/share/mk/build/fonts/tinos/afm.mk b/share/mk/build/fonts/tinos/afm.mk new file mode 100644 index 0000000..0745fea --- /dev/null +++ b/share/mk/build/fonts/tinos/afm.mk @@ -0,0 +1,22 @@ +# Copyright 2021-2024, Alejandro Colomar +# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception + + +ifndef MAKEFILE_BUILD_FONTS_TINOS_AFM_INCLUDED +MAKEFILE_BUILD_FONTS_TINOS_AFM_INCLUDED := 1 + + +include $(MAKEFILEDIR)/build/fonts/_.mk +include $(MAKEFILEDIR)/configure/build-depends/texlive-fonts-extra-links/Tinos-Regular.ttf.mk +include $(MAKEFILEDIR)/configure/build-depends/fontforge/fontforge.mk + + +_TINOSR_AFM := $(_FONTSDIR)/devpdf/TinosR.afm + + +$(_TINOSR_AFM): $(TINOSR_TTF) $(MK) | $$(@D)/ + $(info $(INFO_)FONTFORGE $@) + $(FONTFORGE) $(FONTFORGEFLAGS) -lang=ff -c 'Open("$<");Generate("$@");' + + +endif # include guard diff --git a/share/mk/build/fonts/tinos/dit.mk b/share/mk/build/fonts/tinos/dit.mk new file mode 100644 index 0000000..b00a05d --- /dev/null +++ b/share/mk/build/fonts/tinos/dit.mk @@ -0,0 +1,22 @@ +# Copyright 2021-2024, Alejandro Colomar +# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception + + +ifndef MAKEFILE_BUILD_FONTS_TINOS_DIT_INCLUDED +MAKEFILE_BUILD_FONTS_TINOS_DIT_INCLUDED := 1 + + +include $(MAKEFILEDIR)/build/fonts/_.mk +include $(MAKEFILEDIR)/build/fonts/tinos/afm.mk +include $(MAKEFILEDIR)/configure/build-depends/groff/afmtodit.mk + + +_TINOSR := $(_FONTSDIR)/devpdf/TinosR + + +$(_TINOSR): $(_FONTSDIR)/%: $(PDF_TEXT_ENC) $(_TINOSR_AFM) $(PDF_TEXT_MAP) $(MK) | $$(@D)/ + $(info $(INFO_)AFMTODIT $@) + $(AFMTODIT) -e $(PDF_TEXT_ENC) $(_TINOSR_AFM) $(PDF_TEXT_MAP) $@ + + +endif # include guard diff --git a/share/mk/build/fonts/tinos/pfa.mk b/share/mk/build/fonts/tinos/pfa.mk new file mode 100644 index 0000000..f65b087 --- /dev/null +++ b/share/mk/build/fonts/tinos/pfa.mk @@ -0,0 +1,22 @@ +# Copyright 2021-2024, Alejandro Colomar +# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception + + +ifndef MAKEFILE_BUILD_FONTS_TINOS_PFA_INCLUDED +MAKEFILE_BUILD_FONTS_TINOS_PFA_INCLUDED := 1 + + +include $(MAKEFILEDIR)/build/fonts/_.mk +include $(MAKEFILEDIR)/configure/build-depends/texlive-fonts-extra/Tinos.pfb.mk +include $(MAKEFILEDIR)/configure/build-depends/groff/pfbtops.mk + + +_TINOS_PFA := $(_FONTSDIR)/devpdf/Tinos.pfa + + +$(_TINOS_PFA): $(TINOS_PFB) $(MK) | $$(@D)/ + $(info $(INFO_)PFBTOPS $@) + $(PFBTOPS) <$< >$@ + + +endif # include guard -- cgit v1.2.3