summaryrefslogtreecommitdiff
path: root/Build/source/texk/makejvf
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-20 13:18:57 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2017-07-20 13:18:57 +0000
commit9fff5cddf4e6bed85877e28ae4df809b4de2e13e (patch)
treeec103928cb897edf1a71d46f629313244f5399aa /Build/source/texk/makejvf
parentc58e14b35820ae2d9f204f1f168c6552eed7f2e2 (diff)
makejvf: Add documentation for -m option (version 20170720)
git-svn-id: svn://tug.org/texlive/trunk@44850 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/makejvf')
-rw-r--r--Build/source/texk/makejvf/ChangeLog7
-rw-r--r--Build/source/texk/makejvf/makejvf.18
-rw-r--r--Build/source/texk/makejvf/version.h2
-rw-r--r--Build/source/texk/makejvf/write.c12
4 files changed, 20 insertions, 9 deletions
diff --git a/Build/source/texk/makejvf/ChangeLog b/Build/source/texk/makejvf/ChangeLog
index 9a9517b712b..6dd4d124bcb 100644
--- a/Build/source/texk/makejvf/ChangeLog
+++ b/Build/source/texk/makejvf/ChangeLog
@@ -1,3 +1,10 @@
+2017-07-20 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ makejvf version 20170720.
+ * write.c: Improve -m option for UCS mode.
+ * version.h: Adjusted.
+ * makejvf.1: Add documentation of -m option.
+
2017-07-17 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
makejvf version 20170717.
diff --git a/Build/source/texk/makejvf/makejvf.1 b/Build/source/texk/makejvf/makejvf.1
index c3ae8b786e1..de0fd53bf6e 100644
--- a/Build/source/texk/makejvf/makejvf.1
+++ b/Build/source/texk/makejvf/makejvf.1
@@ -41,8 +41,12 @@ When a positive integer is specified, the characters are lowered.
When a negative integer is specified, the characters are raised.
.TP 10
\fB-m\fR
-Replace single/double quotation marks (', '') with prime quotation marks
-(so-called "minute") in vertical writing.
+Replace single/double quotation marks (', '') with single/double prime
+quotation marks (so-called "minute") in vertical writing.
+The replacement is realized by manipulating glyphs of prime and
+double prime (JIS 0x216C and 0x216D; Unicode U+2032 and U+2033),
+\fInot\fR by putting actual glyphs designed for quotation marks
+(Unicode U+301D and U+301E/U+301F).
.TP 10
\fB-a\fI <AFMfile>\fR
Name of the AFM file. Used for Kana-tsume mode.
diff --git a/Build/source/texk/makejvf/version.h b/Build/source/texk/makejvf/version.h
index 52d07f67c04..19b3cc57db5 100644
--- a/Build/source/texk/makejvf/version.h
+++ b/Build/source/texk/makejvf/version.h
@@ -1,2 +1,2 @@
-#define VERSION "20170717"
+#define VERSION "20170720"
#define BUG_ADDRESS "issue@texjp.org"
diff --git a/Build/source/texk/makejvf/write.c b/Build/source/texk/makejvf/write.c
index 1acfbb99a2b..10dd504ffb3 100644
--- a/Build/source/texk/makejvf/write.c
+++ b/Build/source/texk/makejvf/write.c
@@ -379,12 +379,12 @@ void writevfu(int code, FILE *fp)
}
}
else
- skip=(int)((0.1)*zw);
+ skip = -(zw-w); /* skip=(int)((0.1)*zw); */
if (code == 0x2018) {
- skip2+=-(int)((0.65)*zh);
+ skip2+=0; /* skip2+=-(int)((0.65)*zh); */
}
else {
- skip2+=-(int)((0.6)*zh);
+ skip2+=0; /* skip2+=-(int)((0.6)*zh); */
}
if (kanatfm)
@@ -502,12 +502,12 @@ void writevfu(int code, FILE *fp)
}
}
else
- skip=(int)((0.4)*zw);
+ skip = zw; /* skip=(int)((0.4)*zw); */
if (code == 0x2019) {
- skip2+=(int)((0.65)*zh);
+ skip2+=0; /* skip2+=(int)((0.65)*zh); */
}
else {
- skip2+=(int)((0.6)*zh);
+ skip2+=0; /* skip2+=(int)((0.6)*zh); */
}
if (kanatfm)