Debian Codegraph @

texk/web2c/omegafonts/ChangeLog

raw
1 2026-03-02 Karl Berry <[email protected]>
2
3 * TL'26 release.
4
5 2025-03-07 Karl Berry <[email protected]>
6
7 * TL'25 release.
8
9 2024-04-29 TANAKA Takuji <[email protected]>
10
11 * omfonts.{c,h}, out_ofm.c:
12 Add new option '-omit-ofm' for 'omfonts -ovp2ovf'
13 * parse_ofm.c, char_routines.c:
14 Extend maximum character code from 0x10FFFF to 0xFFFFFF
15 to support new encoding of upTeX for combining characters.
16 https://github.com/texjporg/tex-jp-build/issues/46
17 * overbmp.test, tests/inbmp.opl, tests/over{bmp,ucs}.{opl,ovp},
18 tests/adbjpn.opl, Makefile.am: Update tests.
19
20 * omfonts.c: Version 2.2.
21
22 2023-09-03 TANAKA Takuji <[email protected]>
23
24 * {check,repeat,selectfont}.test: Update tests for Windows.
25
26 2023-08-26 Karl Berry <[email protected]>
27
28 * ligkern.test: protect against $rc being defined in the environment.
29
30 2023-08-19 TANAKA Takuji <[email protected]>
31
32 * {bad,charwd,check,help,level1,ligkern,ofonts,
33 omfonts,overbmp,realnum,repeat,selectfont,
34 shorten,specialhex,version,yannis}.test:
35 Make easier to test on Windows.
36
37 2023-03-09 Karl Berry <[email protected]>
38
39 * TL'23 release.
40
41 2022-03-21 Karl Berry <[email protected]>
42
43 * TL'22 release.
44
45 2021-12-16 Luigi Scarso <[email protected]>
46
47 * Makefile.am (install-exec-hook) [WIN32]: sh syntax.
48 (Also found by Siep.)
49 https://tug.org/pipermail/tlbuild/2021q4/004983.html
50
51 2021-11-03 Karl Berry <[email protected]>
52
53 * Makefile.am (install-exec-hook) [WIN32]: install via libtool,
54 the same change as made for dvipdfmx.
55 https://tug.org/pipermail/dvipdfmx/2021-October/000301.html
56
57 2020-12-04 Karl Berry <[email protected]>
58
59 * pl-lexer.l (YY_BUF_SIZE): #define 110000, for the same
60 reason as the previous change. Two separate buffer overflows,
61 it seems.
62
63 2020-11-21 Karl Berry <[email protected]>
64
65 * pl-lexer.l (MAX_PTR): increase to 100000; the tests/xyarabic.opl
66 file has a COMMENT string longer than 10000 (the previous value),
67 but this did not normally cause an error exit status, unfortunately.
68 Finally did fail and was reported by Scott Norton here:
69 https://tug.org/pipermail/tex-k/2020-November/003391.html.
70
71 2018-10-18 Norbert Preining <[email protected]>
72
73 * ligkern_routines.c (retrieve_ligkern_table): need
74 lig_kern_size+1 for `activity' array, else glibc 2.28
75 on 32-bit architectures finds malloc error.
76 Original report from Tom Callaway,
77 https://tug.org/pipermail/tex-live/2018-September/042411.html
78
79 2018-09-09 Karl Berry <[email protected]>
80
81 * overbmp.test: LC_ALL=LANGUAGE=C.
82
83 2018-01-18 Karl Berry <[email protected]>
84
85 * error_routines.c (yyerror, warning_0, fatal_error_0,
86 internal_error_0),
87 * out_routines.c (out): printf %s instead of direct string.
88 From Debian.
89
90 2016-02-27 Akira Kakuto <[email protected]>
91
92 * omfonts.c, help.test: Add an option -charcode-format for
93 compatibility.
94
95 2015-07-07 Peter Breitenlohner <[email protected]>
96
97 * Makefile.am: Better dependencies for 'make check'.
98
99 2015-01-11 Peter Breitenlohner <[email protected]>
100
101 * error_routines.[ch], omfonts.c: Non-zero error return code.
102 * check.test: Also test writung OPL file to stdout.
103 * selectfont.test: Also test writung OVP file to stdout.
104 * bad.test, version.test: Shell scripts for new tests.
105 * tests/badofm.ofm, tests/badopl.opl, tests/badovf.{ofm,ovf},
106 tests/badovp.ovp: New test input files.
107 * Makefile.am: Add new test shell scripts and input files.
108
109 2014-11-08 Peter Breitenlohner <[email protected]>
110
111 * omfonts.c: Help texts for C and Web2C versions differ.
112 * help.test: New shell script to test help messages and options.
113
114 2014-09-22 Peter Breitenlohner <[email protected]>
115
116 * font_routines.c: Fixed packet_table realloc bug.
117 Clean up font_table and move_table memory management.
118 Reduce BLOCK 256 => 16 to reduce wasted packet_table space.
119
120 2014-08-20 Akira Kakuto <[email protected]>
121
122 * char_routines.c: Move '#define check_range' to the top-level.
123
124 2014-08-19 Peter Breitenlohner <[email protected]>
125
126 * char_routines.c, ligkern_routines.c: More OFM checking.
127 * check.test, check.{ofm,opl}, checked.opl:
128 Shell script and data for a new test.
129 * Makefile.am: Add the new test.
130
131 2014-08-18 Peter Breitenlohner <[email protected]>
132
133 * ofonts.test: Fix parallel tests.
134
135 2014-08-17 Peter Breitenlohner <[email protected]>
136
137 * ligkern_routines.c, out_routines.h, ligkern.test: Detect
138 unused parts of OFM ligkern program.
139 * tests/arabic.ovp: Use more than 64k ligkern steps.
140 * tests/liguse{,1,2}.opl (new): Additional test data.
141 * Makefile.am: Add the new test data.
142
143 2014-08-15 Peter Breitenlohner <[email protected]>
144
145 * print_routines.c (print_ofm_level), tests/*.opl, tests/*.ovp:
146 Output OFMLEVEL in hex (as in Web2C version).
147
148 * char_routines.c, ligkern_routines.[ch], manifests.h,
149 print_routines.[ch]: Handle BOUNDARYCHAR.
150
151 * ligkern.test, tests/lig{all,bch,bdy,blb}.opl,
152 tests/ligblv.{opl,ovp}, tests/ligloop1.{ofm,opl},
153 tests/ligloop2.opl: Shell script and data for a new test.
154 * Makefile.am: Add the new test.
155
156 2014-08-10 Peter Breitenlohner <[email protected]>
157
158 * ligkern_routines.c (l_hash_input): Fixed another bug.
159
160 2014-08-09 Peter Breitenlohner <[email protected]>
161
162 * ligkern_routines.c (l_hash_lookup): Fixed a bug in checking
163 for infinite ligature loops.
164
165 2014-08-08 Peter Breitenlohner <[email protected]>
166
167 * char_routines.c: Compute checksum as in Web2C version.
168 * ligkern_routines.[ch], list_routines.[ch]: Handle very long
169 ligature programs.
170
171 * yannis.test, tests/arabicr.pl, tests/arabic.ovp (new):
172 Shell script and data for a new test.
173 * Makefile.am: Add the new test.
174
175 2014-08-05 Peter Breitenlohner <[email protected]>
176
177 General cleanup.
178 * char_routines.[ch], dimen_routines.[ch], error_routines.[ch],
179 font_routines.[ch], header_routines.[ch], ligkern_routines.[ch],
180 list_routines.[ch], omfonts.[ch], out_ofm.[ch],
181 out_routines.[ch], param_routines.[ch], parse_ofm.[ch],
182 print_routines.[ch]: Drop unused code.
183 Declare functions with file scope as static.
184
185 2014-08-04 Peter Breitenlohner <[email protected]>
186
187 * char_routines.c: Compute checksum.
188 * header_routines.[ch]: Drop more unused code.
189 * shorten.test, tests/realnum.out, tests/repeat.opl,
190 tests/repeated.opl, tests/sample.{out,ovp}, tests/shorten.opl:
191 Always use computed checksum.
192
193 2014-08-03 Peter Breitenlohner <[email protected]>
194
195 * dimen_routines.c (set_indices): Fixed a dimen rounding bug.
196 * header_routines.[ch]: Drop unused code.
197 Always output SEVENBITSAFEFLAG for TFM files.
198 * shorten.test, tests/shorten.opl, (new): Shell script and data
199 for a new test.
200 * Makefile.am: Add the new test.
201
202 2014-08-02 Peter Breitenlohner <[email protected]>
203
204 * dimen_routines.c: Fixed a bug in the computation of nw, nh,
205 nd, and ni.
206
207 2014-07-10 Peter Breitenlohner <[email protected]>
208
209 * char_routines.c, ligkern_routines.c, omfonts.c,
210 param_routines.c, parse_ofm.c: Allow char codes 10000..10FFFF
211 from Supplementary Unicode Planes.
212
213 2014-07-09 Peter Breitenlohner <[email protected]>
214
215 * Makefile.am: Drop Automake conditional OMFONTS.
216 * ofonts.test, overbmp.test, tests/ofont*, tests/inbmp.opl,
217 tests/overbmp.* (new): Shell scripts and data for new tests.
218
219 2013-12-06 Peter Breitenlohner <[email protected]>
220
221 * omfonts.c (main): Use make_suffix() for implied ofm_name.
222 * selectfont.test: Add test for 'ovp2ovf foo.ovp bar.ovf'.
223 * Makefile.am (DISTCLEANFILES): Additional files.
224 Mail from TANAKA Takuji <[email protected]>, 27 Nov 2013.
225
226 2013-07-05 Peter Breitenlohner <[email protected]>
227
228 * omfonts.c (main): Use kpse_program_basename().
229
230 2013-06-28 Peter Breitenlohner <[email protected]>
231
232 * pl-lexer.l: Add '#include <kpathsea/c-memstr.h>' for strlen().
233
234 2013-01-29 Peter Breitenlohner <[email protected]>
235
236 * Makefile.am: Allow subdir-objects.
237
238 2012-12-07 Peter Breitenlohner <[email protected]>
239
240 * char_routines.c, ligkern_routines.c:
241 Drop unused variables (gcc-4.6 warning).
242
243 2012-08-25 Peter Breitenlohner <[email protected]>
244
245 * omfonts.c (PROG_IS): Compare program name case insensistively.
246 (from W32TeX).
247
248 2012-07-09 Peter Breitenlohner <[email protected]>
249
250 * pl-parser.[ch]: Regenerate with bison 2.5.1.
251
252 2012-06-20 Peter Breitenlohner <[email protected]>
253
254 * pl-lexer.l: Added the never-interactive option to prevent
255 flex from creating a problematic prototype for isatty().
256 #include <kpathsea/lib.h> and drop prototype for xstrdup().
257
258 2012-01-24 Peter Breitenlohner <[email protected]>
259
260 * pl-lexer.l: 'Correctly' scan real numbers for scan_fix().
261 Reported by Tanaka Takuji <[email protected]>.
262
263 * realnum.test, tests/realnum.opl, tests/realnum.out (new):
264 Shell script and data for a new test.
265 * Makefile.am: Add the new test.
266
267 2012-01-03 Akira Kakuto <[email protected]>
268
269 * omfonts.c: fix a typo (omfomts ---> omfonts).
270
271 2011-12-20 Peter Breitenlohner <[email protected]>
272
273 * font_routines.c (set_select_font): Select the correct MAPFONT.
274 Reported by Saito Shuzaburo via Akira Kakuto, 20 Dec 2011 08:49:10.
275
276 * selectfont.test, tests/sample.out, tests/sample.ovp,
277 tests/sample0-h.opl (new): Shell script and data for a new test.
278 * Makefile.am: Add the new test.
279
280 2011-05-30 Peter Breitenlohner <[email protected]>
281
282 * Makefile.am: Use ../../am/bin_links.am for $(bindir) links.
283
284 2011-05-04 Peter Breitenlohner <[email protected]>
285
286 * omfonts.c (main): Call kpse_set_program_name() with args
287 argv[0] and name_program, not name_program and NULL to avoid
288 lstat warnings.
289
290 * charwd.test, level1.test, omfonts.test, repeat.test,
291 specialhex.test: Always set TEXMFCNF to avoid warnings.
292
293 2011-02-15 Peter Breitenlohner <[email protected]>
294
295 * Makefile.am [WIN32]: Add o??2o??.exe wrappers.
296
297 2010-12-30 Peter Breitenlohner <[email protected]>
298
299 * omfonts.c: Check for argv[0] with .exe via strcasecmp().
300
301 2010-06-16 Peter Breitenlohner <[email protected]>
302
303 * char_routines.c (ensure_existence): Avoid OpenBSD Bus error
304 caused by faulty logic.
305 Reported by Edd Barrett, 10 Jun 2010 13:33:03.
306
307 2010-03-01 Peter Breitenlohner <[email protected]>
308
309 * char_routines.c (check_existence_all_character_fields):
310 Avoid segfault (unspecified CHARWD defaults to 0.0).
311 Reported by Akira Kakuto, 28 Feb 2010 10:34:40.
312
313 * charwd.test, tests/charwd-r.pl, tests/charwd-v.vpl (new):
314 Shell script and data for a new test.
315 * Makefile.am: Add the new test.
316
317 2010-02-26 Peter Breitenlohner <[email protected]>
318
319 * pl-lexer.l: #include <kpathsea/config.h> and drop some others.
320
321 2010-02-20 Peter Breitenlohner <[email protected]>
322
323 * pl-lexer.l: #include <kpathsea/c-proto.h> for KPSEDLL used
324 by <kpathsea/mingw32.h>.
325
326 2010-01-22 Peter Breitenlohner <[email protected]>
327
328 * omfonts.[ch] (read_in_whole, name_ofm, name_opl, name_ovp,
329 name_ovf, files): Declare file names as const_string.
330
331 2010-01-12 Peter Breitenlohner <[email protected]>
332
333 * char_routines.c (compute_ofm_character_info): Fix CHARREPEAT.
334 * tests/repeated.opl: Ajusted.
335
336 2010-01-06 Peter Breitenlohner <[email protected]>
337
338 * char_routines.c (check_existence_and_safety,
339 doublecheck_existence): Avoid segfault.
340 (check_and_correct): Call build_dimen_tables() after
341 check_existence_all_character_fields(), which may add a width.
342 (check_existence_all_character_fields): Print "" instead of NULL.
343
344 * extra_routines.c: Fix various bugs and glitches in handling of
345 extra font parameters (ivalues etc). Add warnings in case they
346 are used with OFMLEVEL<1.
347
348 2010-01-05 Peter Breitenlohner <[email protected]>
349
350 Implement basic functionality for OFMLEVEL=1 (CHARREPEAT only).
351
352 Part 1: ofm => opl:
353 * char_routines.c (print_characters), parse_ofm.c (ofm_organize):
354 Handle repeated characters..
355
356 Part 2: opl => ofm:
357 * char_routines.h (num_char_info, words_per_entry): New globals.
358 * char_routines.c (compute_ofm_character_info): Count char_infos.
359 (output_ofm_character_info): Output char_infos.
360 * out_ofm.c (compute_ofm_subsizes): Compute char_info size.
361 (output_ofm_file): Call compute_ofm_extra_stuff() much earlier.
362 (compute_ofm_subsizes): Move final check of bc, ec and related
363 error messages to char_routines.c (compute_ofm_character_info).
364 * extra_routines.c (output_ofm_extra_stuff): Allow OFMLEVEL=1
365 unless nki+nkp+nkm+nkf+nkr+nkg>0.
366
367 * omfonts.c: Version 2.1.
368
369 * level1.test, repeat.test, tests/level1.opl, tests/repeat.opl,
370 tests/repeated.opl (new): Shell scripts and data for new tests.
371 * Makefile.am: Add the new tests.
372
373 2010-01-04 Peter Breitenlohner <[email protected]>
374
375 Cleanup extern declarations:
376 char_routines.c (character_measures): Remove unused extern.
377 (bchar): Remove extern and #include "parse_ofm.h".
378 * parse_ofm.h: Extern decl of bchar (defined in parse_ofm.c).
379 * omfonts.h (file_ofm): Extern decl (defined in omfonts.c).
380 (output_ofm_header): Remove duplicate (in out_ofm.h).
381 * omfonts.c (yyin): Remove extern (declared in parser.h).
382 (output_ofm_header): #include "parse_ofm.h".
383 * out_ofm.c (header_ptr,mw,mh,md,mi): Remove unused externs.
384 (file_ofm): Remove extern and #include "omfonts.h".
385 * font_routines.h (cur_packet): Remove duplicate extern.
386 * header_routines.h (output_ofm_header): Remove duplicate extern.
387 * parser.h (yylval): Remove extern, declared in the generated
388 header pl-parser.h.
389 * pl-parser.y: #include "pl-parser.h" (for yylval).
390 * out_ofm.h (output_ofm_header): Remove (in header_routines.h).
391 (output_ofm_extra_stuff): Remove (in extra_routines.h).
392 (compute_ofm_character_info, output_ofm_character_info):
393 Remove (in char_routines.h).
394
395 2010-01-03 Peter Breitenlohner <[email protected]>
396
397 Minor bug fixes:
398 * char_routines.c (init_character): Fix a typo (bug?).
399 (init_planes): Drop initialization of char_max[plane_max].
400 (copy_characters, ensure_existence): Add check for non-existent
401 plane (plane>plane_max).
402 * dimen_routines.c (build_dimen_tables, retrieve_dimen_tables):
403 Replace malloc() by xmalloc().
404 * list_routines.c (in_cons, in_list1): Initialize index field.
405 (in_list2): Fix a typo (bug) and initialize index fields.
406 * parse_ofm.c (ofm_organize): Give correct OFMLEVEL in error
407 messages.
408 * header_routines.c (store_seven_bit_safe_flag,
409 output_ofm_header): Store as 0x80 (as does PLtoTF) and not 0x01.
410
411 2009-09-18 Peter Breitenlohner <[email protected]>
412
413 * header_routines.c (init_header): Call init_ofm_level() to
414 allow reading PL/VPL (ofm_level=-1) files.
415
416 2009-09-11 Peter Breitenlohner <[email protected]>
417
418 * pl-parser.l: Accept NFONTDIR as alias for NATURALFONTDIR for
419 compatibility with omegaware (Web2C) versions.
420
421 2009-08-27 Peter Breitenlohner <[email protected]>
422
423 Avoid maximal compiler warnings.
424
425 * char_routines.[ch] (check_existence_and_safety,
426 doublecheck_existence): Constify string params.
427 * error_routines.[ch]: Constify string params of all functions.
428 * header_routines.c (init_design_size): ANSI C definition.
429 ({init,set}_{coding_scheme,family}): Use xstrdup'ed string
430 literal to initialize non-const string (and later free it).
431 * omfonts.c (names_msg, suffixes, full_suffixes): Constify strings.
432 * out_routines.[ch] (character_measures, extensible_pieces,
433 ligature_commands, xerox_faces, named_parameters,
434 named_mathsy_parameters, named_mathex_parameters, type_directions,
435 actual_directions, accent_kinds, move_directions, rule_measures,
436 glue_shrink_stretch, glue_orders, glue_kinds): Constify strings.
437 (out): Constify string param.
438 * pl-lexer.l: (scan_string): Constify string param.
439
440 * Makefile.am (INCLUDES): Add -DNOT_WEB2C, not to import from
441 ../lib/lib.h globals defined in ../lib/main.c.
442 * dimen_routines.c (delta): Remove unused global var.
443
444 2009-08-19 Peter Breitenlohner <[email protected]>
445
446 * Makefile.am: omfonts must depend explicitly on KPATHSEA_DEPEND,
447 the implicit dependency via proglib is not enough.
448
449 2009-07-15 Peter Breitenlohner <[email protected]>
450
451 Implement DVI specials in ovp/ovf character packets.
452
453 * font_routines.c (get_hex): fix hex digit conversion.
454 * lexer.l (scan_hex_string): allow white space in hex strings.
455
456 * char_routines.c (print_packet): handle DVI specials.
457 (string_balance): new function to decide SPECIAL or SPECIALHEX.
458 * print_routines.[ch] (print_special_hex): output DVI specials.
459 * out_routines.[ch] (out_hex): new function.
460
461 * specialhex.test (new): Shell script to test specials.
462 * tests/specialhex.ovp (new): test data.
463 * Makefile.am: add the new test.
464
465 2009-06-17 Peter Breitenlohner <[email protected]>
466
467 * Makefile.am (AM_CFLAGS): enable compiler warnings.
468
469 * char_routines.c (get_char_remainder): declare as static.
470 * dimen_routines.c (min_cover, shorten, set_indices):
471 declare as static.
472 * error_routines.c: #include "error_routines.h".
473 * extra_routines.c (init_all_tables): declare as static, unused.
474 * font_routines.c (font_no_incr, packet_ptr_incr, append_to_packet,
475 move_ptr_decr, move_ptr_incr, output_ovf_fonts, in_ovf_4,
476 in_ovf_unsigned_4, in_ovf_3, in_ovf): declare as static.
477 * font_routines.h (in_ovf_4, in_ovf_unsigned_4):
478 remove declaration as external.
479 * header_routines.c (init_header_word, store_header_word,
480 retrieve_header_word, init_face, init_seven_bit_safe_flag):
481 declare as static.
482 (init_ofm_level, init_font_dir): declare as static, unused.
483 * header_routines.h (init_face, init_seven_bit_safe_flag):
484 remove declaration as external.
485 * pl-lexer.l (scan_int, scan_char, scan_fix, scan_string,
486 scan_hex_string): declare as static.
487
488 2009-06-16 Peter Breitenlohner <[email protected]>
489
490 * Makefile.am: pl-lexer.l provides yywrap, no need for $(LEXLIB).
491
492 2009-06-02 Peter Breitenlohner <[email protected]>
493
494 * dimen_routines.c, manifests.h: rename INFINITY -> WEB_INFINITY,
495 to avoid name conflict with INFINITY from cygwin <math.h>.
496
497 2009-05-31 Peter Breitenlohner <[email protected]>
498
499 * omfonts.c: allow 'omfonts -ofm2opl' to be ofm2opl etc., used
500 to test uninstalled program.
501
502 * omfonts.test (new): Shell script to test ofm2opl etc.
503 * tests/* (new): test data.
504 * Makefile.am: add the new test.
505
506 2009-04-01 Peter Breitenlohner <[email protected]>
507
508 * pl-lexer.l: Add #ifdef __MINGW32__ to source file.
509 * pl-lexer.c: Regenerated.
510
511 2009-04-01 Taco Hoekwater <[email protected]>
512
513 * pl-lexer.c: Add #ifdef __MINGW32__ to support compilation
514 using the mingw32 cross-compiler.
515
516 2008-03-13 Karl Berry <[email protected]>
517
518 * font_routines.c (font_no_incr): change test to avoid reported
519 segfault on http://norgz.info/download/gregorio.ovp. Report
520 from Elie Roux, 11 Mar 2008 17:19:46, fix from Arthur Reutenauer.
521
522 2008-03-02 Karl Berry <[email protected]>
523
524 * Makefile.in (omfonts.o): depend on y_tab.h.
525 From Alexis Ballier, 29 Feb 2008 19:27:23, via
526 https://bugs.gentoo.org/show_bug.cgi?id=209362.
527
528 2008-01-29 Peter Breitenlohner <[email protected]>
529
530 * Makefile.in: Add @configure_input@ line.
531
532 2006-05-25 Roozbeh Pournader <[email protected]>
533
534 * font_routines.c (clear_map_font): fixed default value of font_at.
535
536 * parse_ofm.c (ofm_organize): replaced magic number with constant.
537 (ofm_read_simple): fixed a 1-off offset.