Debian Codegraph @

texmf-dist/doc/fonts/accfonts/CHANGES

raw
1 Changes to vpl2vpl between first (unnumbered) release and release 0.1
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
4 When I first wrote vpl2vpl I was under the impression that the vpl
5 file output by afm2tfm could never contain accented character
6 definitions. The first (unnumbered) release of vpl2vpl thus did not
7 implement the -b option allowed for mkt1font (to block the use of
8 predefined accented characters). I have since become aware that in
9 the rather rare case of an afm file containing composite character
10 information, afm2tfm uses that information to build definitions of
11 accented characters; I have therefore introduced a -b option in
12 version 0.1.
13
14 There were two bugs in the coding dealing with the -s option in the
15 first version of vpl2vpl. First, the shrink-factor specified by the
16 user was incorrectly applied to the underdot accent as well as to
17 dropped superscript accents. Second, the shrink-factor was not
18 correctly scaled in terms of the value of DESIGNUNITS (this chiefly
19 affected Computer Modern fonts). Both of these have been fixed in
20 version 0.1.
21
22 Another bug affected those characters (quotesingle, quotedbl,
23 backslash, underscore, braceleft, bar and braceright) which
24 dvips.enc places in the lower half of the character set, but which
25 vpl2vpl removes to make room for the normal TeX inhabitants of their
26 "slots"; in the first version of the program it was not possible to
27 include these characters in the output font. This has also been
28 fixed in version 0.1.
29
30 The handling of LIGTABLE information controlling kerning etc. has
31 been improved, to eliminate repeated instructions and "orphaned"
32 instructions with no LABEL.
33
34 In the first version of vpl2vpl I deliberately did not allow for
35 double superscript accents on tall characters such as capital
36 letters, on the grounds that this would be bad typographic practice.
37 A specific request for one such character has led me to modify
38 version 0.1 of the program to make the creation of such characters
39 possible, but I would still argue against their use.
40
41 Some minor improvements have been made to the code in various areas,
42 including checking for inappropriate input, calculation of italic
43 correction for characters with superscript accents, and placing of
44 dropped superscript accents. (However, it is likely that such
45 accents will still sometimes require manual intervention.)
46
47
48 Changes to mkt1font between first (unnumbered) release and release 0.1
49 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
51 In the first release of mkt1font, kerning information for predefined
52 accented characters was taken from the input font, even if the -b
53 option had been specified to force the redefinition of such
54 characters. This has been fixed in version 0.1: if the -b option is
55 used, kerns for characters such as "eacute" are generalised from the
56 kerns for "e" in just the same way as happens for "emacron" etc.
57
58 Similarly, predefined accented characters eliminated by the -b
59 option used to retain "ghost" entries among the unencoded characters
60 in the afm file. This too has been fixed in version 0.1.
61
62 As of version 0.1, any composite character definitions contained in
63 the afm file of the input font are eliminated from the output font,
64 since they will almost certainly be incomplete, and (if the user has
65 specified -b) will probably be wrong as well.
66
67 Version 0.1 can now properly process input fonts using MS-DOS file
68 format (with newline represented by CR/LF). It can also process
69 fonts in which the character "|" is used in the names of the
70 frequently used "noaccess def" and "noaccess put" definitions
71 (previously this fell foul of Perl's regular expression handler).
72
73 As with vpl2vpl, I have modified version 0.1 of mkt1font to permit
74 the creation of tall characters bearing double superscript accents,
75 though I do not recommend the use of such characters.
76
77 The "FontBBox" entries in the afm and pfb files now reflect any
78 increase in the maximum height or depth of characters in the output
79 font.
80
81 Various other minor improvements have been made to the code,
82 including the placing of dropped superscript accents. (As with
83 vpl2vpl, however, it is likely that such accents will still
84 sometimes require manual intervention.)
85
86
87 Changes between release 0.1 and release 0.2
88 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89
90 A. Changes common to both programs
91 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92
93 I have implemented the candrabindu ("moon-dot") accent sometimes
94 used in Indian-language material. This is achieved by overprinting a
95 breve with a dotaccent; a new command-line option (-c) has been
96 introduced to allow for font-specific adjustments in the placing of
97 the dotaccent.
98
99 The user's command-line is now stored as a comment at the head of
100 the output file(s).
101
102 The constraint on the ordering of definitions in a definition file
103 has been removed: it is no longer necessary to ensure that a
104 character is defined before it is used.
105
106 Digraphs are now implemented: if the character specified as the
107 "accent" in a definition is not in fact a valid accent character,
108 the definition is interpreted as a request for a digraph formed from
109 the "character" followed by the "accent".
110
111 A bug which placed superscript accents incorrectly over tall
112 characters already bearing "under" accents has been fixed.
113
114 The vertical positioning of "under" accents has been adjusted: they
115 are now placed slightly lower than previously.
116
117
118 B. Changes to vpl2vpl
119 ~~~~~~~~~~~~~~~~~~~~~
120
121 Fixed a bug which resulted in some accents in small caps fonts being
122 positioned at the wrong height.
123
124 Fixed a bug which resulted in small amounts of LIGTABLE information
125 being lost.
126
127
128 C. Changes to mkt1font
129 ~~~~~~~~~~~~~~~~~~~~~~
130
131 The internal organisation of the program has been cleaned up in a
132 number of respects. In particular, various subroutines are now
133 called with the appropriate formal parameters, rather than relying
134 on the existence of equivalent global variables; the fetching and
135 storing of character metric information is tidier and more
136 efficient; and kerning information is dealt with in the course of
137 the main program loop, rather than in a private (double) loop
138 afterwards.
139
140 The -s option allowing "under" accents to be shrunk by a specified
141 factor, which was previously available only in vpl2vpl, has now been
142 implemented in mkt1font also.
143
144 The output afm file previously sometimes contained spurious entries
145 for unencoded characters that duplicated items in the list of
146 encoded characters. This has been fixed.
147
148 Despite the fix introduced in version 0.1, some predefined kerning
149 information continued to find its way into the afm file even when
150 the -b option was specified to block the use of predefined accented
151 characters. A new, improved fix is now in place to prevent this. An
152 error in a regular expression which generated some undesirable kerns
153 has also been corrected.
154
155 The "FontBBox" entries in the afm and pfb files now reflect any
156 increase in the maximum width of characters in the output font, as
157 well as increases in their maximum height or depth.
158
159 Fixed a bug causing the underbar accent to be too long.
160
161 Fixed a bug causing "under" accents to be assigned the wrong depth:
162 this could result in the bottom of the accent failing to print
163 properly.
164
165
166 Changes between release 0.2 and release 0.21
167 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168
169 Changes common to both programs
170 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
171
172 The vertical positioning of "under" accents has been adjusted again
173 (the previous adjustment was a little too enthusiastic). They have
174 been raised slightly.
175
176 The height at which characters are reckoned to be so tall that
177 superscript accents placed on them must be raised above the normal
178 level has been increased slightly (from 1.1 x xheight to 1.15 x
179 xheight).
180
181 Changes between release 0.21 and release 0.211
182 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
183
184 A. Changes to vpl2vpl
185 ~~~~~~~~~~~~~~~~~~~~~
186
187 A single minor change has been made to vpl2vpl: this has been
188 necessitated by a change in the format of the LIGTABLE information
189 produced by version 8.1 of afm2tfm, which now adds identificatory
190 comments to lines referring to characters by means of octal
191 notation. Vpl2vpl strips out such comments.
192
193
194 B. Changes to mkt1font
195 ~~~~~~~~~~~~~~~~~~~~~~
196
197 Minor bugfixes have been put in place: extra spaces in the the
198 "noaccess def" and "noaccess put" definitions are now permitted, and
199 so is a character named ".null". An error message has been improved.
200
201 Changes between release 0.211 and release 0.212
202 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203
204 A. Changes to vpl2vpl
205 ~~~~~~~~~~~~~~~~~~~~~
206
207 Fixed a bug in the "double superscript accent on small caps
208 character" routine.
209
210
211 B. Changes to mkt1font
212 ~~~~~~~~~~~~~~~~~~~~~~
213
214 Fixed a bug which produced incorrect output in cases where the
215 character to be accented is defined as blank (e.g. space).
216
217 Changes to between release 0.212 and release 0.22
218 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
219
220 Changes common to both programs
221 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222
223 The programs now recognise "commaaccent" as a valid subscript
224 accent. Note that they cannot replace this subscript with the
225 superscript form used with the letter "g" (any more than they can
226 substitute the apostrophe-like form of the caron that is used with
227 "L", "d", "l" and "t"). Note also that as there is no position for
228 this accent in either the standard TeX encoding or the dvips.enc
229 variant, vpl2vpl will not actually be able to use it to build new
230 characters without further modification.
231
232 In the case where the definition file specifies, say, "z overdot"
233 and the font contains a predefined version named "zdotaccent", it
234 previously happened that the output font contained both characters.
235 This has been fixed: now only the character requested in the
236 definition file exists in the output.
237
238 Changes between release 0.22 and release 0.221
239 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
240
241 A. Changes to mkt1font
242 ~~~~~~~~~~~~~~~~~~~~~~
243
244 Fixed a bug which caused the program to fail after incorrectly
245 identifying CharStrings definitions.
246
247 Changes tbetween release 0.221 and release 0.222
248 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249
250 A. Changes to mkt1font
251 ~~~~~~~~~~~~~~~~~~~~~~
252
253 Changed FamilyName to remove only the final one of a number of
254 hyphenated elements from the font name.
255
256 Changes between release 0.222 and release 0.23
257 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
258
259 A. Changes to mkt1font
260 ~~~~~~~~~~~~~~~~~~~~~~
261
262 No changes have in fact been made to mkt1font, but its version number
263 has been raised to 0.23 to conform with those of vpl2vpl and vpl2ovp.
264
265 B. Changes to vpl2vpl
266 ~~~~~~~~~~~~~~~~~~~~~
267
268 A change has been introduced to permit the program to use the output
269 of the AFM conversion utility afm2pl, rather than the earlier afm2tfm.
270 This has been done because it has come to light that afm2tfm gives
271 incorrect values for the heights of some characters, which can cause
272 poor accent placement. Support for the output of afm2tfm has not been
273 withdrawn, but afm2pl is now definitely preferred.
274
275 B. A new program: vpl2ovp
276 ~~~~~~~~~~~~~~~~~~~~~~~~~
277
278 The greatest change as of 0.23 is the addition of a third program to
279 the suite. Vpl2ovp does essentially the same job as vpl2vpl, in that
280 it creates virtual fonts that contain arbitrarily accented characters,
281 but its output is a .ovp file suitable for use with Omega (the 16-bit
282 Unicode-aware development from TeX). Using vpl2ovp it is possible to
283 build substantial Unicode-compliant virtual fonts for use with Omega,
284 and a .def file for the set of characters I have included in my
285 earlier "IndUni" OpenType fonts is now included in the distribution.
286 (IndUni virtual fonts for Omega created with vpl2ovp are available at
287 http://bombay.indology.info/software/fonts/induni/index.html.) Glyphs
288 representing characters requiring more than a single codepoint are
289 stored in the Private Use Area, and a system of ligatures is provided
290 to allow them to be accessed. This system also permits
291 single-codepoint accented characters to be accessed through their
292 "decomposed" component parts. Thus if the characters a-macron (single
293 codepoint: U+0101) and a-macron-acute (two codepoints: U+0101 +
294 U+0301) are defined, the former will be accessible both as U+0101
295 (a-macron) and as U+0061 + U+0304 ("a" + macron); the latter will be
296 accessible both as U+0101 + U+0301 (a-macron + acute) and U+0061 +
297 U+0304 + U+0301 ("a" + macron + acute). This is a considerable
298 advantage, given the different possible ways in which Unicode can be,
299 and is, used.
300
301 Changes between release 0.23 and release 0.24
302 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303
304 A. Changes to mkt1font
305 ~~~~~~~~~~~~~~~~~~~~~~
306
307 The format expected of glyph names has been brought into line with
308 Adobe's specification, i.e. they may contain upper- and lower-case
309 letters, numerals, "_" and ".", but must begin with a letter or with
310 "_". The format expected of PFB head and tail material has been made
311 less restrictive, to match the realities of perceived usage. A bug in
312 digraph creation has been fixed. A "dotlessj" character is created for
313 use with superscript accents. Full Flex hinting is now supported.
314
315 B. Changes to vpl2vpl
316 ~~~~~~~~~~~~~~~~~~~~~
317
318 The help information has been improved.
319
320 C. Changes to vpl2ovp
321 ~~~~~~~~~~~~~~~~~~~~~
322
323 A bug has been fixed that generated "ghost" replicas of some existing
324 accent characters in the Private Use Area. The handling of digraphs
325 and underscored digraphs has been brought into better Unicode
326 compliance. The help information has also been improved.
327
328 Changes between release 0.24 and release 0.25
329 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330
331 A. Changes to mkt1font
332 ~~~~~~~~~~~~~~~~~~~~~~
333
334 Various bugs have been fixed. Rounding of non-integer values to
335 integers has been improved.
336
337 B. Changes to vpl2vpl
338 ~~~~~~~~~~~~~~~~~~~~~
339
340 No changes have in fact been made to vpl2vpl or vpl2ovp, but their
341 version number has been raised to 0.25 to conform with that of
342 mkt1font.