X11 20-dot kanji font 'kappa font'

PR:		ports/4726
Submitted by:	Ginga Kawaguti <ginga@amalthea.phys.s.u-tokyo.ac.jp>
This commit is contained in:
Jun Kuriyama 1998-04-22 14:19:09 +00:00
parent aadb6f143c
commit bcc72272e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10636
7 changed files with 121 additions and 0 deletions

26
japanese/kappa20/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: kappafont
# Version required: 0.2
# Date created: 30 Sep 1997
# Whom: Kawaguti Ginga <ginga@amalthea.phys.s.u-tokyo.ac.jp>
#
# $Id$
#
DISTNAME= Kappa20-0.2
PKGNAME= ja-kappa20-0.2
CATEGORIES= japanese x11
MASTER_SITES= ftp://ftp.st.ryukoku.ac.jp/pub/X11/fonts/ \
ftp://ftp.win.or.jp/pub/doc-sources/fj.sources/1997/aug/
MAINTAINER= ginga@amalthea.phys.s.u-tokyo.ac.jp
USE_X11= yes
MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/kappa20
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/kappa20/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Kappa20-0.2.tar.gz) = 0a7df089ced7182241fa2105b4936c79

View File

@ -0,0 +1,37 @@
--- Makefile.orig Wed Aug 6 08:06:01 1997
+++ Makefile Tue Sep 30 22:53:23 1997
@@ -1,6 +1,9 @@
-TARGETDIR = /usr/X11R6/lib/X11/fonts/misc
+TARGETDIR = ${PREFIX}/lib/X11/fonts/misc
-all: k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z
+TARGETS = k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z \
+ 10x20rkb.pcf.Z 10x20rkm.pcf.Z
+
+all: $(TARGETS)
k20b.pcf.Z: k20b.bdf
bdftopcf k20b.bdf | compress > k20b.pcf.Z
@@ -20,13 +23,14 @@
10x20rkm.pcf.Z: 10x20rkm.bdf
bdftopcf 10x20rkm.bdf | compress > 10x20rkm.pcf.Z
-install: k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z
- install -c -m 0644 k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z ${TARGETDIR}
- grep -h '[^0-9]' fonts.dir ${TARGETDIR}/fonts.dir | sort -u > fonts.dir.tmp
- wc -l fonts.dir.tmp | awk '{print $$1}' | cat - fonts.dir.tmp > ${TARGETDIR}/fonts.dir
- sort -u fonts.alias ${TARGETDIR}/fonts.alias > fonts.alias.tmp
- install -m 0644 fonts.alias.tmp ${TARGETDIR}/fonts.alias
+install: $(TARGETS)
+ ${INSTALL_DATA} $(TARGETS) $(TARGETDIR)
+ @echo "updating fonts.dir and fonts.alias"
+ @(cd $(TARGETDIR) ; mkfontdir . ; touch fonts.alias ; \
+ cp fonts.alias fonts.alias.orig)
+ @(cd $(TARGETDIR) ; cat fonts.alias.orig ; grep -i -- '-kappa-' fonts.dir | \
+ sed 's/\.pcf\.Z//;s/x20rkm/x20rk/') >$(TARGETDIR)/fonts.alias
+ @rm $(TARGETDIR)/fonts.alias.orig
clean:
- rm -f fonts.dir.tmp
- rm -f k20b.pcf.Z k20m.pcf.Z 10x20b.pcf.Z 10x20m.pcf.Z 10x20rkb.pcf.Z 10x20rkm.pcf.Z
+ rm -f $(TARGETS)

View File

@ -0,0 +1,31 @@
diff -u -r1.1 10x20b.bdf
--- 10x20b.bdf 1997/08/12 08:55:57 1.1
+++ 10x20b.bdf 1997/08/12 08:56:08
@@ -10,7 +10,7 @@
FONTNAME_REGISTRY ""
FOUNDRY "Kappa"
FAMILY_NAME "Fixed"
-WEIGHT_NAME "Medium"
+WEIGHT_NAME "Bold"
SLANT "R"
SETWIDTH_NAME "Normal"
ADD_STYLE_NAME ""
diff -u -r1.1 10x20rkb.bdf
--- 10x20rkb.bdf 1997/08/12 08:54:24 1.1
+++ 10x20rkb.bdf 1997/08/12 08:54:46
@@ -1,13 +1,13 @@
STARTFONT 2.1
COMMENT 10x20rkb.bdf ver.0.20(1997.8.6) by KANOU Hiroki(g92k0323@mn.waseda.ac.jp).
-FONT -Kappa-Fixed-Medium-R-Normal--20-190-75-75-C-100-JISX0201.1976-0
+FONT -Kappa-Fixed-Bold-R-Normal--20-190-75-75-C-100-JISX0201.1976-0
SIZE 20 75 75
FONTBOUNDINGBOX 10 20 0 -3
STARTPROPERTIES 19
FONTNAME_REGISTRY ""
FOUNDRY "Kappa"
FAMILY_NAME "Fixed"
-WEIGHT_NAME "Medium"
+WEIGHT_NAME "Bold"
SLANT "R"
SETWIDTH_NAME "Normal"
ADD_STYLE_NAME ""

View File

@ -0,0 +1 @@
X11 20-dot kanji font 'kappa font'

View File

@ -0,0 +1,12 @@
Japanese 20 dot mincho font named `kappa font'.
You can use
"k20m" medium mincho
"k20b" bold mincho
"10x20m" ascii
"10x20b" bold ascii
"10x20rk" kana
"10x20rkb" bold kana
A simple usage:
% kterm -fn 10x20b -fr 10x20rkb -fk k20b

View File

@ -0,0 +1,13 @@
lib/X11/fonts/misc/10x20b.pcf.Z
lib/X11/fonts/misc/10x20m.pcf.Z
lib/X11/fonts/misc/10x20rkb.pcf.Z
lib/X11/fonts/misc/10x20rkm.pcf.Z
lib/X11/fonts/misc/k20b.pcf.Z
lib/X11/fonts/misc/k20m.pcf.Z
share/doc/kappa20/README
@exec cd %D/lib/X11/fonts/misc ; mkfontdir
@exec echo "Updating misc/fonts.alias"
@exec cd %D/lib/X11/fonts/misc ; touch fonts.alias ; cp fonts.alias fonts.alias.orig ; (cat fonts.alias.orig ; grep -i -- -kappa- fonts.dir | sed 's/\.pcf\.Z//;s/x20rkm/x20rk/') >fonts.alias ; rm fonts.alias.orig
@unexec cd %D/lib/X11/fonts/misc ; mkfontdir
@unexec echo "updating fonts.alias" ; cd %D/lib/X11/fonts/misc ; cp fonts.alias fonts.alias.orig ; grep -v 'kappa' fonts.alias.orig > fonts.alias ; rm fonts.alias.orig
@dirrm share/doc/kappa20