groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groff] 22/40: [devpdf]: Do more explicit work and less magic.


From: Deri
Subject: Re: [groff] 22/40: [devpdf]: Do more explicit work and less magic.
Date: Sat, 12 Nov 2022 20:16:21 +0000

On Saturday, 12 November 2022 19:43:38 GMT G. Branden Robinson wrote:
> gbranden pushed a commit to branch master
> in repository groff.
> 
> commit 254e13c387a7fdd0267fac697737b5862c0851ad
> Author: G. Branden Robinson <g.branden.robinson@gmail.com>
> AuthorDate: Wed Nov 9 10:28:32 2022 -0600
> 
>     [devpdf]: Do more explicit work and less magic.
> 
>     * font/devpdf/devpdf.am (devpdffont_DATA): Add all of the PostScript
>       Level 2 base 35 font descriptions (from the default foundry).  Also
>       add the "EURO" font description file and the "FreeEuro" PFA and AFM
>       files, making these explicit targets and dependencies.
> 
>       (devpdffont_DATA) [HAVE_URW_FONTS]: Also add the URW foundry's version
> of the base 35 fonts.
> 
>       (font/devpdf/freeeuro.afm): Add new target, a simple file copy from
>       the devps font directory.
> 
>       (font/devpdf/EURO): Generate font description file from the devps font
> directory.
> 
>       (font/devpdf/freeeuro.pfa): Add new target, a simple file copy from
>       the devps font directory.
> 
>       (MOSTLYCLEANFILES): Clean freeeuro.{afm,pfa}.
> ---
>  ChangeLog             | 19 +++++++++++
>  font/devpdf/devpdf.am | 94
> ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 112
> insertions(+), 1 deletion(-)
> 
> diff --git a/ChangeLog b/ChangeLog
> index 5095d3a16..29b340e63 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,22 @@
> +2022-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
> +
> +     [build]: Do more explicit work and less magic for PDF fonts.
> +
> +     * font/devpdf/devpdf.am (devpdffont_DATA): Add all of the
> +     PostScript Level 2 base 35 font descriptions (from the default
> +     foundry).  Also add the "EURO" font description file and the
> +     "FreeEuro" PFA and AFM files, making these explicit targets and
> +     dependencies.
> +     (devpdffont_DATA) [HAVE_URW_FONTS]: Also add the URW foundry's
> +     version of the base 35 fonts.
> +     (font/devpdf/freeeuro.afm): Add new target, a simple file copy
> +     from the devps font directory.
> +     (font/devpdf/EURO): Generate font description file
> +     from the devps font directory.
> +     (font/devpdf/freeeuro.pfa): Add new target, a simple file copy
> +     from the devps font directory.
> +     (MOSTLYCLEANFILES): Clean freeeuro.{afm,pfa}.
> +
>  2022-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>
> 
>       * src/utils/afmtodit/afmtodit.pl: Add new command-line option to
> diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
> index ac5257698..033e25999 100644
> --- a/font/devpdf/devpdf.am
> +++ b/font/devpdf/devpdf.am
> @@ -33,7 +33,84 @@ MOSTLYCLEANFILES += \
>  devpdffontdir = $(fontdir)/devpdf
>  devpdffont_DATA = \
>    font/devpdf/DESC \
> -  font/devpdf/Foundry
> +  font/devpdf/Foundry \
> +  font/devpdf/AB \
> +  font/devpdf/ABI \
> +  font/devpdf/AI \
> +  font/devpdf/AR \
> +  font/devpdf/BMB \
> +  font/devpdf/BMBI \
> +  font/devpdf/BMI \
> +  font/devpdf/BMR \
> +  font/devpdf/CB \
> +  font/devpdf/CBI \
> +  font/devpdf/CI \
> +  font/devpdf/CR \
> +  font/devpdf/HB \
> +  font/devpdf/HBI \
> +  font/devpdf/HI \
> +  font/devpdf/HNB \
> +  font/devpdf/HNBI \
> +  font/devpdf/HNI \
> +  font/devpdf/HNR \
> +  font/devpdf/HR \
> +  font/devpdf/NB \
> +  font/devpdf/NBI \
> +  font/devpdf/NI \
> +  font/devpdf/NR \
> +  font/devpdf/PB \
> +  font/devpdf/PBI \
> +  font/devpdf/PI \
> +  font/devpdf/PR \
> +  font/devpdf/S \
> +  font/devpdf/TB \
> +  font/devpdf/TBI \
> +  font/devpdf/TI \
> +  font/devpdf/TR \
> +  font/devpdf/ZCMI \
> +  font/devpdf/ZD \
> +  font/devpdf/EURO \
> +  font/devpdf/freeeuro.afm \
> +  font/devpdf/freeeuro.pfa
> +
> +if HAVE_URW_FONTS
> +devpdffont_DATA += \
> +  font/devpdf/U-AB \
> +  font/devpdf/U-ABI \
> +  font/devpdf/U-AI \
> +  font/devpdf/U-AR \
> +  font/devpdf/U-BMB \
> +  font/devpdf/U-BMBI \
> +  font/devpdf/U-BMI \
> +  font/devpdf/U-BMR \
> +  font/devpdf/U-CB \
> +  font/devpdf/U-CBI \
> +  font/devpdf/U-CI \
> +  font/devpdf/U-CR \
> +  font/devpdf/U-HB \
> +  font/devpdf/U-HBI \
> +  font/devpdf/U-HI \
> +  font/devpdf/U-HNB \
> +  font/devpdf/U-HNBI \
> +  font/devpdf/U-HNI \
> +  font/devpdf/U-HNR \
> +  font/devpdf/U-HR \
> +  font/devpdf/U-NB \
> +  font/devpdf/U-NBI \
> +  font/devpdf/U-NI \
> +  font/devpdf/U-NR \
> +  font/devpdf/U-PB \
> +  font/devpdf/U-PBI \
> +  font/devpdf/U-PI \
> +  font/devpdf/U-PR \
> +  font/devpdf/U-S \
> +  font/devpdf/U-TB \
> +  font/devpdf/U-TBI \
> +  font/devpdf/U-TI \
> +  font/devpdf/U-TR \
> +  font/devpdf/U-ZCMI \
> +  font/devpdf/U-ZD
> +endif
> 
>  devpdffontencdir = $(devpdffontdir)/enc
>  devpdffontenc_DATA = font/devpdf/enc/text.enc
> @@ -96,6 +173,21 @@ font/devpdf/DESC: $(devpdf_srcdir)/DESC.in
> 
>              >>$(top_builddir)/font/devpdf/DESC; \
> 
>          fi
> 
> +MOSTLYCLEANFILES += font/devpdf/freeeuro.afm
> +font/devpdf/freeeuro.afm: $(devps_srcdir)/freeeuro.afm
> +     $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf \
> +     && cp -f $(devps_srcdir)/freeeuro.afm $@
> +
> +font/devpdf/EURO: font/devpdf/freeeuro.afm
> +     $(AM_V_GEN) ./afmtodit -d font/devpdf/DESC -o font/devpdf/EURO \
> +       -w 333 font/devpdf/freeeuro.afm font/devpdf/map/symbol.map \
> +       EURO
> +
> +MOSTLYCLEANFILES += font/devpdf/freeeuro.pfa
> +font/devpdf/freeeuro.pfa: $(devps_srcdir)/freeeuro.pfa
> +     $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/font/devpdf \
> +     && cp -f $(devps_srcdir)/freeeuro.pfa $@
> +
>  font/devpdf/Foundry: $(devpdf_srcdir)/Foundry.in
>       $(AM_V_at)$(MKDIR_P) $(top_builddir)/font/devpdf/
>  if HAVE_URW_FONTS
> 
> _______________________________________________
> Groff-commit mailing list
> Groff-commit@gnu.org
> https://lists.gnu.org/mailman/listinfo/groff-commit

And this one please.

Cheers

Deri







reply via email to

[Prev in Thread] Current Thread [Next in Thread]