Import bdf2psf 1.188 as wip/bdf2psf.

The program bdf2psf translates BDF fonts to PSF format. It accepts
fonts with arbitrary size of the font matrix. If the width of the glyph
matrix of the source font is 7 or 9 pixels then it generates fonts with
width of 8 pixels.
This commit is contained in:
Frederic Cambus 2019-02-27 16:03:54 +01:00
parent ab3a52f582
commit 5b0f1ea50d
4 changed files with 67 additions and 0 deletions

4
bdf2psf/DESCR Normal file
View File

@ -0,0 +1,4 @@
The program bdf2psf translates BDF fonts to PSF format. It accepts
fonts with arbitrary size of the font matrix. If the width of the glyph
matrix of the source font is 7 or 9 pixels then it generates fonts with
width of 8 pixels.

34
bdf2psf/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $NetBSD$
DISTNAME= console-setup_1.188
PKGNAME= bdf2psf-1.188
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/c/console-setup/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= fred@statdns.com
HOMEPAGE= https://packages.debian.org/sid/bdf2psf
COMMENT= Convert a BDF font to PSF format for the Linux console
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/console-setup-1.188
NO_BUILD= yes
REPLACE_PERL= Fonts/bdf2psf
SHAREDIR= ${PREFIX}/share/${PKGBASE}
AUTO_MKDIRS= yes
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${SHAREDIR}/fontsets
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/Fonts/bdf2psf ${DESTDIR}${PREFIX}/bin
${RUN}${INSTALL_MAN} ${WRKSRC}/man/bdf2psf.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${RUN}${INSTALL_DATA} ${WRKSRC}/Fonts/standard.equivalents \
${DESTDIR}${SHAREDIR}
${RUN}${INSTALL_DATA} ${WRKSRC}/Fonts/fontsets/* \
${DESTDIR}${SHAREDIR}/fontsets
.include "../../mk/bsd.pkg.mk"

23
bdf2psf/PLIST Normal file
View File

@ -0,0 +1,23 @@
@comment $NetBSD$
bin/bdf2psf
man/man1/bdf2psf.1
share/bdf2psf/fontsets/Arabic.512
share/bdf2psf/fontsets/Armenian.256
share/bdf2psf/fontsets/CyrAsia.256
share/bdf2psf/fontsets/CyrKoi.256
share/bdf2psf/fontsets/CyrSlav.256
share/bdf2psf/fontsets/Ethiopian.512
share/bdf2psf/fontsets/Georgian.256
share/bdf2psf/fontsets/Greek.256
share/bdf2psf/fontsets/Hebrew.256
share/bdf2psf/fontsets/Lao.256
share/bdf2psf/fontsets/Lat15.256
share/bdf2psf/fontsets/Lat2.256
share/bdf2psf/fontsets/Lat38.256
share/bdf2psf/fontsets/Lat7.256
share/bdf2psf/fontsets/Thai.256
share/bdf2psf/fontsets/Uni1.512
share/bdf2psf/fontsets/Uni2.512
share/bdf2psf/fontsets/Uni3.512
share/bdf2psf/fontsets/Vietnamese.512
share/bdf2psf/standard.equivalents

6
bdf2psf/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (console-setup_1.188.tar.xz) = 878e179c9d5ad8095fac621fa72b1486b322e904
RMD160 (console-setup_1.188.tar.xz) = c0a8c7a268edea5bf6e71727a6318524bcc715b5
SHA512 (console-setup_1.188.tar.xz) = 563d580fcee25020b09024a2ac772ab6b04b97e451e3ee9f3ad917bfbafeb2d1065a7e26427f9f5a6a2596689c1264501c9b5f7a57b1daa2f5c651e6fd595586
Size (console-setup_1.188.tar.xz) = 1649092 bytes