diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-17 02:30:36 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-17 02:30:36 +0000 |
commit | 87f4648d57d75c89f84182ebba973924a8a66a46 (patch) | |
tree | 278fddfb32a7ac32b87738df2fcb7cb299f3d143 /Build/source/texk/makejvf/makejvf.1 | |
parent | 3b9640944b02d59559834f77f83b15810788e0da (diff) |
makejvf: Improve enhanced mode (version 20170717)
git-svn-id: svn://tug.org/texlive/trunk@44827 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf/makejvf.1')
-rw-r--r-- | Build/source/texk/makejvf/makejvf.1 | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/Build/source/texk/makejvf/makejvf.1 b/Build/source/texk/makejvf/makejvf.1 index 34c4ceb28a4..c3ae8b786e1 100644 --- a/Build/source/texk/makejvf/makejvf.1 +++ b/Build/source/texk/makejvf/makejvf.1 @@ -6,8 +6,25 @@ makejvf \- Make Japanese VF file from Japanese \*(TX TFM file .SH SYNOPSIS \fBmakejvf\fR [\fI<options>\fR] \fI<\*(TX TFM file>\fR \fI<TFM name of PS font>\fR .SH DESCRIPTION -\fBmakejvf\fP is a tool to generate Japanese VF file from Japanese \*(TX TFM +\fBmakejvf\fR is a tool to generate Japanese VF file from Japanese \*(TX TFM (JFM) file for use with dvips. +.TP 5 +When processing Japanese texts, p\*(TX refers to JFM (min10.tfm, jis.tfm \ +etc.), which includes definitions of some different character widths and \ +metric glue/kerns. For most punctuations and quotation marks, the \ +character widths are truncated to less than 1 zw (zenkaku-width; the \ +width of ordinary Kanji characters), and metric glue/kerns are inserted \ +as a substitute. +.TP 5 +On the other hand, in Japanese PS fonts, all punctuations and quotation \ +marks have the same character widths as ordinary Kanji characters. \ +For this reason, when dvips processes the resulting DVI, these characters \ +have to be shifted to the left by the amount of glue/kerns inserted. +.TP 5 +To achieve this, Virtual fonts (VF) and PS TFM files are required; \ +VF should include the commands of shifting characters, and PS TFM should \ +have the exact character widths of PS fonts. \ +The program \fBmakejvf\fR can be used for this purpose. .SH OPTIONS .PP .TP 10 @@ -56,6 +73,23 @@ Use half-width Katakana (with UCS mode) .TP 10 \fB-i\fR Start font ID from No. 0. +.TP 10 +\fB-e\fR +Enhanced mode; the horizontal shift amount is determined from the +glue/kern table of input JFM file. +.TP 10 +By default, \fBmakejvf\fR uses the hard-coded value as the horizontal \ +shift amount, which is (mostly) optimized for Japanese fonts. \ +When enhanced mode (option \fB-e\fR) is enabled, the shift amount is \ +determined from the input p\*(TX TFM (JFM) file, which is likely to \ +output most suitable VF for the JFM. +.TP 10 +For most standard Japanese JFM (like jis.tfm and its derivatives), \ +the output VFs from both modes will have no significant difference. \ +For simplified/traditional Chinese JFM (like upschrm-h.tfm and \ +uptchcrm-h.tfm), the output VF from enhanced mode will be better. \ +For min10.tfm and its derivatives, enhanced mode should \fInever\fR be \ +enabled, since the characterization in min10.tfm is non-standard. .SH EXAMPLE .TP 5 If you want to use min10 as Ryumin-Light-H, run |