⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gs261j.txt

📁 openmeetings组件之GS openmeetings组件之GS openmeetings组件之GS
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Ghostscript Kanji Package gs261jVersion 1.0 Jan.11,1994 by Norio KATAYAMA (katayama@nacsis.ac.jp)Copyright (C) 1991,1992,1993,1994 Norio Katayama.This document is translated into English on Jan.11,1994.Features========  1. Support for Japanese.    a. composite fonts.    b. font metrics (Metrics, Metrics2, CDevProc).    c. vertical writing (WMode).  2. Support for Kanji font files.    a. X11R5 PCF font files.    b. X11R4 SNF font files.    c. Sony(TM) vector font files.    d. Zeit(TM) format font files.		Authors:  Takuji KAWAMOTO, and Yasunari INOUE.    e. Zeit(TM) JG format font files.		Author:  Kazunori ASAYAMA    f. JTeX PK font files.  3. Device drivers.    a. gdevnwp (Sony NWP-533/537 printer)    b. gdevlips (Canon LIPS-II/II+/III printer)		Author:  Akihisa KURASHIMA    c. gdevp201 (NEC PC-PR201 printer)    d. gdevp150 (NEC PC-PR150 printer)		Author:  Takuya KOUMOTO    e. gdevepag (ESC/Page)		Author:  Hiroshi NARIMATSU    f. gdevj100 (Star JJ-100 printer)		Author:  Caz Yokoyama    g. gdev10v  (Canon BJ10v printer)                Authors:  Teruo IWAI, Atusi MAEDA, Takao MATUITested Environments===================  +--------------+-----------------+-----------------+-------------+  |  OS          |  Machine        |  Compiler       |  Device     |  +--------------+-----------------+-----------------+-------------+  | SunOS 4.1.3  | SPARC Station 2 | cc -O  / gcc -O | X11         |  +--------------+-----------------+-----------------+-------------+Notes=====Any questions, requests, and bug reports are welcomed.  JUNET: katayama@nacsis.ac.jp	NIFTY: NBB01613Notices=======Sony vector font files, Zeit format font files, and JTeX PK font filesare commercial products. Please be careful not to violate theirlicenses.This Kanji package is not an official patch. Therefore you should keepthe original distribution.No author takes responsibility for the consequences of using thispackage.Everyone is permitted to copy, modify and redistribute this packageonly for nonprofit use.How to install (UNIX)=====================[1] Building Ghostscript(1) Extract source files from the original distribution of Ghostscript    version 2.6.1.    This package is based on the source files to which the following    patches are applied.        ghostscript-2.6.1.fix-01.gz        ghostscript-2.6.1.fix-02.gz        ghostscript-2.6.1.fix-03.gz        ghostscript-2.6.1.fix-04.gz(2) Extract the contents of this package in the directory containing    the original source files.(3) Apply a patch file `gs261j.diff' to the original source files.(4) Copy unix-cc.mak, unix-gcc.mak or unix-ansi.mak onto Makefile, and    edit it appropriately. At least four configurations described    below must be done. 1. Set prefix, exec_prefix, bindir, datadir, and gsdatadir macros to    specify the directory to which Ghostscript will be installed. 2. Set CFLAGS, LDFLAGS, EXTRALIBS, XINCLUDE, and XLIBDIRS macros to    configure compilation options.     3. Choose the features of Kanji font files to be included and add    some of the symbols listed below to FEATURE_DEVS.	kfpcf.dev	X11R5 PCF font files.	kfsnf.dev	X11R4 SNF font files.	kfsony.dev	Sony vector font files.	kfzeit.dev	Zeit format font files.	kfztbez.dev	Zeit JG format font files.	kfjtex.dev	JTeX PK font files.  Examples)      To include the features of PCF font files, SNF font files, Zeit      format font files, Zeit JG format font files, and JTeX PK font files.	FEATURE_DEVS=filter.dev dps.dev level2.dev kanji.dev \		     kfpcf.dev kfsnf.dev kfzeit.dev kfztbez.dev kfjtex.dev	      To include the feature of Sony vector font files only.	FEATURE_DEVS=filter.dev dps.dev level2.dev kanji.dev \		     kfsony.dev      To include the features of PCF font files, SNF font files, Zeit      format font files, Zeit JG format font files, JTeX PK font files,      and Sony vector font files.	FEATURE_DEVS=filter.dev dps.dev level2.dev kanji.dev \		     kfpcf.dev kfsnf.dev kfzeit.dev kfztbez.dev kfjtex.dev \                     kfsony.dev 4. Choose the devices to be included and add the symbols for them to    DEVICE_DEVS.  Example)      To include the device driver of X11.	DEVICE_DEVS=x11.dev    If you want to use the device drivers contained in this package,    see documents in the `drivers' subdirectory.(5) MAKE and install Ghostscript.(6) Extract font files from ghostscript-fonts-2.6.1.tar.gz into the    directory specified by the gsdatadir macro in Makefile.  Example)      When gsdatadir is the default value (/usr/local/lib/ghostscript) :        % cd /usr/local/lib/ghostscript        % gunzip < ghostscript-fonts-2.6.1.tar.gz | tar xvf -[2] Configuring Kanji Fonts(1) Change the working directory to the `kanji' directory which is a    subdirectory of the directory specified by the gsdatadir macro in    Makefile.  Example)      When gsdatadir is the default value (/usr/local/lib/ghostscript) :        % cd /usr/local/lib/ghostscript        % cd kanji(2) Copy one of the following template files onto `kconfig.ps'.	pcf.ps	 for X11R5 PCF font files.	snf.ps	 for X11R4 SNF font files.	sony.ps	 for Sony vector font files.	zeit.ps	 for Zeit format font files.	ztbez.ps for Zeit JG format font files.	jtex.ps  for JTeX PK font files.(3) Edit `kconfig.ps' appropriately. Normally, you have only to change    the names of font files.  The details of `kconfig.ps' are described in the section ``Kanji  Configuration File''.[3] Testing Kanji fonts.  Execute the following sample programs with gs and verify Kanji fonts  are displayed correctly.	hankaku.ps	A list of half-width Kanji characters.	allkanji.ps	A list of Kanji characters.	fmaptype.ps	A test program of the composite font mapping.	vchars.ps	A list of characters for vertical writing.	article9.ps	Article 9 of the Constitution of Japan.  Because sample programs are contained in the Kanji library directory,  you need not specify a directory path.	Example)	    % gs hankaku.psNote----   If you use X11R4 SNF font files which are provided by manufactures   (i.e. not made from the MIT distribution), it is possible that   Kanji characters are not displayed correctly. This is because the   SNF format is dependent on X server and the default values defined   in bdftosnf.h is not appropriate to the server. Edit lines from 37   to 53 in zkfsnf.c to solve this problem.Kanji Configuration File========================  Kanji fonts for Ghostscript are defined in the Kanji configuration  file. The name of this file is `kconfig.ps' by default, but it can  be changed by -sKCONFIG switch (see the section `Command switches').[1] Definition of Kanji Fonts  Kanji fonts are defined in the following format.	FontName  UniqueID  [ FileName ]  Operator    FontName	is a name of the Kanji font to be defined.        `/Ryumin-Light' and `/GothicBBB-Medium' are standard Kanji fonts.    UniqueID	is a unique identifier of the font.	Normally, the identifiers may be set from 4300000 with 200        differences.    FileName	is the name of the font file to be used.	The rule of this field is determined by `Operator', so see        comments in the template files for details    Operator	is a Ghostscript operator to define Kanji font.  For example, if you want to define a Kanji font with a name  `/Ryumin-Light' using a X11R5 PCF font file whose path name is

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -