texlive[44850] Build/source/texk/makejvf: makejvf: Add documentation

commits+hironobu at tug.org commits+hironobu at tug.org
Thu Jul 20 15:18:58 CEST 2017


Revision: 44850
          http://tug.org/svn/texlive?view=revision&revision=44850
Author:   hironobu
Date:     2017-07-20 15:18:57 +0200 (Thu, 20 Jul 2017)
Log Message:
-----------
makejvf: Add documentation for -m option (version 20170720)

Modified Paths:
--------------
    trunk/Build/source/texk/makejvf/ChangeLog
    trunk/Build/source/texk/makejvf/makejvf.1
    trunk/Build/source/texk/makejvf/version.h
    trunk/Build/source/texk/makejvf/write.c

Modified: trunk/Build/source/texk/makejvf/ChangeLog
===================================================================
--- trunk/Build/source/texk/makejvf/ChangeLog	2017-07-20 00:17:46 UTC (rev 44849)
+++ trunk/Build/source/texk/makejvf/ChangeLog	2017-07-20 13:18:57 UTC (rev 44850)
@@ -1,3 +1,10 @@
+2017-07-20  Hironobu Yamashita  <h.y.acetaminophen at 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 at gmail.com>
 
 	makejvf version 20170717.

Modified: trunk/Build/source/texk/makejvf/makejvf.1
===================================================================
--- trunk/Build/source/texk/makejvf/makejvf.1	2017-07-20 00:17:46 UTC (rev 44849)
+++ trunk/Build/source/texk/makejvf/makejvf.1	2017-07-20 13:18:57 UTC (rev 44850)
@@ -41,8 +41,12 @@
 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.

Modified: trunk/Build/source/texk/makejvf/version.h
===================================================================
--- trunk/Build/source/texk/makejvf/version.h	2017-07-20 00:17:46 UTC (rev 44849)
+++ trunk/Build/source/texk/makejvf/version.h	2017-07-20 13:18:57 UTC (rev 44850)
@@ -1,2 +1,2 @@
-#define VERSION "20170717"
+#define VERSION "20170720"
 #define BUG_ADDRESS "issue at texjp.org"

Modified: trunk/Build/source/texk/makejvf/write.c
===================================================================
--- trunk/Build/source/texk/makejvf/write.c	2017-07-20 00:17:46 UTC (rev 44849)
+++ trunk/Build/source/texk/makejvf/write.c	2017-07-20 13:18:57 UTC (rev 44850)
@@ -379,12 +379,12 @@
 				}
 			}
 			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 @@
 				}
 			}
 			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)



More information about the tex-live-commits mailing list