vnlpr is a shell script that utilizes the vnpstext and vn7to8 utilities

to print vietnames text on PostScript printer on Unix machines using
various Type-1 fonts supplied by TriChlor and the Courier fonts from
the vnpstext package.
This commit is contained in:
David E. O'Brien 1996-12-09 02:02:49 +00:00
parent 783d07b0e8
commit 069531a1b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=4905
5 changed files with 105 additions and 0 deletions

41
vietnamese/vnlpr/Makefile Normal file
View file

@ -0,0 +1,41 @@
# ex:ts=8
# Ports collection makefile for: vnlpr
# Version required: 2.0
# Date created: Sat Dec 7, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $
#
DISTNAME= vnlpr
PKGNAME= vn-vnlpr-2.0
CATEGORIES= vietnamese
MASTER_SITES= ftp://ftp.media.mit.edu/pub/Vietnet/Viscii/Unix/ \
ftp://ftp.monash.edu.au/pub/vietnam/unix/
EXTRACT_SUFX= .tar.Z
MAINTAINER= obrien@cs.ucdavis.edu
RUN_DEPENDS= vn7to8:${PORTSDIR}/vietnamese/vn7to8 \
vnpstext:${PORTSDIR}/vietnamese/vnpstext
pre-patch:
@/bin/mv ${WRKSRC}/vnlpr ${WRKSRC}/vnlpr.in
do-build:
sed -e "s:^set VNLIB=./:set VNLIB=${PREFIX}/share/vn-fonts:" \
-e 's/^set PRINTER="barrons"/#set PRINTER="postscript"/' \
${WRKSRC}/vnlpr.in > ${WRKSRC}/vnlpr
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/vnlpr ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.ps ${PREFIX}/share/vn-fonts
${INSTALL_DATA} ${WRKSRC}/*.gsf ${PREFIX}/share/vn-fonts
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/vnlpr
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/vnlpr
${INSTALL_MAN} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/vnlpr
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (vnlpr.tar.Z) = 48ee11619260b84c5f68ae7fe7c12a6a

View file

@ -0,0 +1 @@
shell script and set of fonts to print Vietnamese text on PostScript printer

View file

@ -0,0 +1,45 @@
vnlpr is a shell script that utilizes the vnpstext and vn7to8
utilities to print vietnames text on PostScript printer on Unix machines
using various Type-1 fonts supplied by TriChlor and the Courier fonts
from the vnpstext package.
The Type-1 font files are converted from the pfb files.
am_11.gsf A'nh Minh font (Optima)
hm_11.gsf Heo May font (Helvetica)
hy_11.gsf Hoa`ng Ye^'n font (Present Script)
mq_11.gsf Minh Qua^n font (Courier)
pt_11.gsf Phu+o+ng Tha?o font (Brush Script)
th_11.gsf Tha Hu+o+ng font (Chancery)
uh_11.gsf U Hoa`i font (Utopia)
These fonts can also be used with the ghostscript package for
conversion of PostScript file into other printer formats.
The .gsf files should be placed at the same place as the initialization
files for the vnpstext package.
pr_am.ps, pr_hm.ps, pr_hy.ps, pr_mq.ps, pr_pt.ps, pr_th.ps and
pr_uh.ps are PostScript files that show the above font types.
Instruction for using the vnlpr script is in the begining of the
script, and also by typing 'vnlpr -h' will show a description of the
usage also.
You'll need to edit the VNLIB environment variable in vnlpr so it point
to this directory that contains the .gsf files. You must also install
vnpstext first.
For example:
vnlpr -mq -s 8 emtoi
This print emtoi using MinhQua^n size 8
vnlpr -uh -s 10 -i emtoi
This print emtoi using U Hoa`i Italic size 10
Read the INSTALL file for installation procedure.
- Happy printing -
Written by Phu`ng Gia Cu+ (phung@spin.chem.utah.edu)

View file

@ -0,0 +1,17 @@
bin/vnlpr
share/vn-fonts/initcour.ps
share/vn-fonts/initcourb.ps
share/vn-fonts/pr-am.ps
share/vn-fonts/pr-hm.ps
share/vn-fonts/pr-hy.ps
share/vn-fonts/pr-mq.ps
share/vn-fonts/pr-pt.ps
share/vn-fonts/pr-th.ps
share/vn-fonts/pr-uh.ps
share/vn-fonts/am_11.gsf
share/vn-fonts/hm_11.gsf
share/vn-fonts/hy_11.gsf
share/vn-fonts/mq_11.gsf
share/vn-fonts/pt_11.gsf
share/vn-fonts/th_11.gsf
share/vn-fonts/uh_11.gsf