Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 00:11:56 +0300 (EEST)
From:      kkonstan@duth.gr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26775: New port: print/type1inst: Generates font.scale and Fontmap entries for Type 1 fonts
Message-ID:  <200104222111.f3MLBuZ14291@emily.cc.duth.gr>

next in thread | raw e-mail | index | archive | help

>Number:         26775
>Category:       ports
>Synopsis:       New port: print/type1inst: Generates font.scale and Fontmap entries for Type 1 fonts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 22 14:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Konstantinos Konstantinidis
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Demokritos University of Thrace
>Environment:

>Description:

	Generates font.scale and Fontmap entries for Type 1 fonts

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	type1inst
#	type1inst/Makefile
#	type1inst/distinfo
#	type1inst/pkg-comment
#	type1inst/pkg-descr
#	type1inst/pkg-plist
#
echo c - type1inst
mkdir -p type1inst > /dev/null 2>&1
echo x - type1inst/Makefile
sed 's/^X//' >type1inst/Makefile << 'END-of-type1inst/Makefile'
X# New ports collection makefile for:	type1inst
X# Date created:		22 Apr 2001
X# Whom:			Konstantinos Konstantinidis <kkonstan@daemon.gr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	type1inst
XPORTVERSION=	0.6.1
XCATEGORIES=	print x11-fonts
XMASTER_SITES=	${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	X11/xutils
X
XMAINTAINER=	kkonstan@daemon.gr
X
XUSE_PERL5=	yes
X
XMAN1=		type1inst.1
X
Xdo-build:
X	@${CP} ${WRKSRC}/type1inst.man ${WRKSRC}/type1inst.1
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/type1inst ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/t1embed ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/type1inst.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-type1inst/Makefile
echo x - type1inst/distinfo
sed 's/^X//' >type1inst/distinfo << 'END-of-type1inst/distinfo'
XMD5 (type1inst-0.6.1.tar.gz) = 86fd885e9877896c51ae6cbe23d89ccf
END-of-type1inst/distinfo
echo x - type1inst/pkg-comment
sed 's/^X//' >type1inst/pkg-comment << 'END-of-type1inst/pkg-comment'
XGenerates font.scale and Fontmap entries for Type 1 fonts
END-of-type1inst/pkg-comment
echo x - type1inst/pkg-descr
sed 's/^X//' >type1inst/pkg-descr << 'END-of-type1inst/pkg-descr'
XThere are three main things this program can do :
X
X1. Generate the "fonts.scale" file which X uses to pick up Type 1 fonts
Xwhich are in the current directory.  X will not create this file for
Xyou.  Previously you had to write the file by hand (which is no fun)
Xbut this program automates that process by extracting as much relevant
Xinformation as it can from the font files themselves.
X
X2. type1inst can also generate entries for fonts which you can insert
Xinto Ghostscript's "Fontmap" configuration file.  See the Ghostscript
Xdocumentation for more info.  This is used mainly to speed up
XGhostscript's starting time, since it will go out and manually
Xconstruct its own version of this information each time you run it if
Xthe Fontmap doesn't contain entries for all the fonts you want to use.
XThis can take a long time if you have a lot of fonts.  Using type1inst
Xensures this is only ever done once.
X
X3. You can also make font sample sheets which lay out some text on a
Xpage so you can see what a particular font looks like (similar, but
Xnot as fancy as the ones produced by version 4 of the Adobe Type
XManager for Windows and Macintosh).
X
X-- K. Konstantinidis <kkonstan@daemon.gr>
END-of-type1inst/pkg-descr
echo x - type1inst/pkg-plist
sed 's/^X//' >type1inst/pkg-plist << 'END-of-type1inst/pkg-plist'
Xbin/type1inst
Xbin/t1embed
END-of-type1inst/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104222111.f3MLBuZ14291>