Debian Codegraph @

texk/web2c/pdftexdir/ChangeLog

raw
1 2026-03-02 Karl Berry <[email protected]>
2
3 * TL'26 release.
4
5 2026-02-23 Thanh Han The <[email protected]>
6
7 * writepng.c (write_png): wrong use of | instead of &
8 when looking for PNG_COLOR_MASK_ALPHA.
9
10 2026-02-15 Karl Berry <[email protected]>
11
12 * pdftex.web (pdf_begin_string): initialize must_set_text_pos
13 to fix each character in the output being set individually.
14 Report from Christian Clason,
15 https://tug.org/pipermail/tex-live/2026-February/052142.html
16 and fix found by Hartmut Henkel,
17 https://tug.org/pipermail/tex-live/2026-February/052152.html
18
19 2026-02-08 Karl Berry <[email protected]>
20
21 * writepng.c (writepng): if envvar TEXMF_DEBUG_PNG_COPY
22 is set to 1, report why PNG copying did not happen. Report/patch
23 from Norbert. Thread:
24 https://tug.org/pipermail/tex-live/2026-February/052076.html
25 #include <stdlib.h> and <string.h> to support this.
26 * NEWS: mention this.
27
28 2026-01-18 Karl Berry <[email protected]>
29
30 * pdftex.web (print_ignored_err): send "ignored error"
31 output only to log file.
32 * NEWS: mention this.
33 * pdftex.ch: change for --file-line-error no longer worthwhile.
34
35 2026-01-15 Karl Berry <[email protected]>
36
37 * pdftex.web,
38 * pdftex.ch (print_ignored_err): omit word "error" in message
39 to avoid false positives by humans and editors (cross-engine).
40 https://tug.org/pipermail/pdftex/2026-January/009463.html
41
42 2026-01-10 Thanh Han The <[email protected]>
43
44 * pdftex.web (pdf_begin_string): must_set_text_pos if doing
45 pdf_begin_text. Report from Ulrike Fischer, 29 Sep 2025 13:14:49.
46
47 2026-01-07 Karl Berry <[email protected]>
48
49 * NEWS,
50 * pdftex_version.h,
51 * pdftex.web (pdftex_revision, pdftex_version_string):
52 version [1.40.]29 for TL26.
53
54 2025-11-10 Karl Berry <[email protected]>
55
56 * NEWS: typo.
57
58 2025-09-26 Karl Berry <[email protected]>
59
60 * writejpg.c (read_jpg_info) <M_SOF2>: check that the PDF major
61 version is 1 before complaining that the minor version is <= 2.
62 Clea Rees, https://tug.org/pipermail/pdftex/2025-September/009457.html.
63 (tests/41-jpeg-dct)
64
65 2025-05-17 Karl Berry <[email protected]>
66
67 * NEWS,
68 * pdftex_version.h,
69 * pdftex.web (pdftex_revision, pdftex_version_string):
70 version [1.40.]28 for post-TL25 fix.
71
72 2025-05-15 Thanh Han The <[email protected]>
73
74 * pdftex.web (adv_char_width): remove dd parameter; call
75 divide_scaled by the hardwired 4, instead of dd.
76 (pdf_init_font): also check that the width of character 32 is >one_bp
77 for the pdf_font_has_space_char value.
78 (pdf_begin_string, output_one_char): change adv_char_width calls
79 similarly.
80 This is to fix overlapping text in ptmr8r and other fonts,
81 reported by Ulrike 01 May 2025 10:23:07.
82 Test: 40-overlapping-text-with-pdfinterwordspaceon.
83 (pdftex r963)
84
85 2025-04-17 Karl Berry <[email protected]>
86
87 * pdftex.web (bool): rename variable to booltemp, kowtowing to C23.
88
89 2025-03-07 Karl Berry <[email protected]>
90
91 * TL'25 release.
92
93 2025-02-18 Thanh Han The <[email protected]>
94
95 * pdftex.web (pdf_begin_string): more space fixes.
96 (pdftex r958)
97
98 2025-02-17 Thanh Han The <[email protected]>
99
100 * pdftex.web (pdf_begin_string): remove "and (not must_set_text_pos)"
101 from condition for must_insert_space := true.
102 (pdftex r955)
103
104 2025-02-16 Thanh Han The <[email protected]>
105
106 * pdftex.web: fixes for previous change to add missing interword
107 spaces at font switches, following reports:
108 https://tug.org/pipermail/pdftex/2025-February/009443.html
109 https://tug.org/pipermail/tex-live/2025-February/051136.html
110 https://tug.org/pipermail/tex-live/2025-February/051139.html
111 Copied from pdftex r953.
112
113 2025-02-11 Max Chernoff <[email protected]>
114
115 * pdftex.web (scale_image): no warning if both resolutions are zero.
116 https://tug.org/pipermail/pdftex/2025-February/009441.html
117
118 2025-02-02 Karl Berry <[email protected]>
119
120 * pdftex.ch: try to give original files and line numbers for changes.
121
122 2025-01-31 Karl Berry <[email protected]>
123
124 * pdftex.ch (l.1891): have print_ignored_error respect
125 --file-line-error; noted by Martin Ruckert.
126 * pdftex.web (etex_int_pars): add eTeX_states, not
127 eTeX_state_code, as it was before; noted by Martin Ruckert.
128
129 2025-01-27 Karl Berry <[email protected]>
130
131 * NEWS: 2025 font scaling entry; belated 2024 cross-engine entry.
132
133 * am/pdftex.am (pdftex-pool.c): exit 1 if makecpool failed.
134 (pdftex-final.ch): remove $@ and exit 1 if tie failed.
135
136 2025-01-25 Karl Berry <[email protected]>
137
138 * NEWS,
139 * pdftex_version.h,
140 * pdftex.web (pdftex_revision, pdftex_version_string):
141 version [1.40.]27 for TL25.
142
143 2025-01-25 Thanh Han The <[email protected]>
144
145 * pdftex.web (print_ignored_err): new @d.
146 (ignore_primitive_error_code, ignore_primitive_error): new primitive
147 \ignoreprimitiveerror.
148 (is_bit_set): new fn.
149 (finite_shrink): if it's set, make "Infinite glue shrinkage
150 found in box being split" error into warning.
151 (Generate all \eTeX): define it.
152 (Cases for |print_param|): print it.
153 Request from Frank Mittelbach, 22 Jul 2024 22:37:26 (private mail).
154 * NEWS: mention this.
155
156 2025-01-23 Thanh Han The <[email protected]>
157
158 * pdftex.web (Glob...): remove pdf_last_f; remove uses.
159 (pdf_set_f): test and set pdf_f.
160 (pdf_begin_string): new variable move_by_tm.
161 Test gen_faked_interword_space and new move_by_tm to determine
162 when to insert a space.
163 Report from Ulrike Fischer:
164 https://tug.org/pipermail/pdftex/2024-July/009424.html
165 with followup from Ross Moore:
166 https://tug.org/pipermail/pdftex/2025-January/009426.html
167
168 2025-01-22 Karl Berry <[email protected]>
169
170 * pdftex.web (scale_image): rename resolution_ratio to one_inch.
171 Suggestion from Thanh.
172
173 2025-01-18 Andreas Scherer <https://ascherer.github.io>
174
175 * pdftex.web: Purge backslash from |maxdimen|.
176
177 2025-01-17 Max Chernoff <[email protected]>
178
179 * pdftex.web (Glob..., Set init...): new global
180 resolution_ratio==226.
181 (scale_image): use it to report a warning for too-small resolutions
182 (e.g., 1px x 1px). https://tex.stackexchange.com/questions/734919
183
184 2024-08-04 Thanh Han The <[email protected]>
185
186 * pdftoepdf.cc (write_epdf): reversed sep and pdfkeyprefix.
187
188 2024-07-26 Andreas Scherer <https://ascherer.github.io>
189
190 * pdftex.ch: Prepare for compilation with gcc-14.
191
192 2024-05-24 Thanh Han The <[email protected]>
193
194 * pdftex.web (pdf_ptex_use_underscore_code),
195 (pdf_ptex_use_underscore): new \pdfptexuseunderscore parameter.
196 (Put each ...): define it.
197 (print_param): print it.
198 (get_ptex_use_underscore): new fn to implement it.
199 (pdf_print_info): adjust Fullbanner prefix character.
200 * pdftoepdf.cc (getptexuseunderscore): declare fn.
201 (write_epdf): use it for FileName, PageNumber, InfoDict.
202
203 2024-04-18 Thanh Han The <[email protected]>
204
205 * pdftex.web (pdf_begin_string): increase tolerance for finding
206 interword spaces by 1pt, since overfull lines can have smaller
207 spaces than space-space_shrink. Report from Ulrike,
208 https://tug.org/pipermail/pdftex/2024-April/009388.html
209
210 2024-03-10 Karl Berry <[email protected]>
211
212 * TL'24 release.
213
214 2024-02-04 Karl Berry <[email protected]>
215
216 * NEWS,
217 * pdftex_version.h,
218 * pdftex.web (pdftex_revision, pdftex_version_string):
219 version [1.40.]26 for TL24.
220
221 2024-01-14 Thanh Han The <[email protected]>
222
223 * pdftoepdf.cc (write_epdf): call writeRefs at the end, to write
224 all indirect objects after writing everything else.
225 From pdftex r916 (and test in r915). Original report:
226 https://bugs.ghostscript.com/show_bug.cgi?id=706940
227
228 2023-12-24 TANAKA Takuji <[email protected]>
229
230 * wcfname.test:
231 Avoid errors on parallel test processing.
232
233 2023-11-25 TANAKA Takuji <[email protected]>
234
235 * wcfname.test: Add tests for --recorder and *.fls.
236
237 2023-11-24 TANAKA Takuji <[email protected]>
238
239 * wcfname.test: Add test for file names with over-BMP
240 (4byte UTF-8).
241 https://tug.org/pipermail/tex-live/2023-November/049685.html
242
243 2023-10-27 Thanh Han The <[email protected]>
244
245 * tounicode.c (deftounicode): sscanf %lX into unsigned long to
246 avoid failure in text extraction on BigEndian systems. Report
247 from hille42,
248 https://tug.org/pipermail/pdftex/2023-October/009342.html.
249
250 2023-09-01 Karl Berry <[email protected]>
251
252 * ptexmac.h (cmp_return): a few words of documentation about
253 the seemingly strange lack of handling the a==b case.
254 Suggested by Jim Diamond.
255
256 2023-08-28 Karl Berry <[email protected]>
257
258 * tounicode.c (undump_to_unicode): check that gu->name
259 (and gu->unicode_seq) did not get undumped as NULL.
260 Report from Gregory DUCK,
261 https://tug.org/pipermail/tex-live/2023-August/049406.html.
262
263 2023-08-27 TANAKA Takuji <[email protected]>
264
265 * tests/{cnfline,partoken}.test:
266 Make easier to test on Windows.
267
268 2023-08-26 Karl Berry <[email protected]>
269
270 * writet1.c (t1_builtin_enc): guard somewhat against corrupt pfbs,
271 in the dup and dup dup checking. Report from Gregory DUCK,
272 https://tug.org/pipermail/tex-live/2023-August/049400.html.
273
274 2023-08-20 TANAKA Takuji <[email protected]>
275
276 * {expanded,pdfimage,pdftex,pdftosrc,ttf2afm,wcfname,
277 wprob}.test:
278 Make easier to test on Windows.
279
280 2023-08-18 Hironobu Yamashita <[email protected]>
281
282 * pdftex.web: minor cleanup (sync with etex.ch r24155)
283
284 2023-03-29 TANAKA Takuji <[email protected]>
285
286 * wcfname.test:
287 Sync with update of fn-generate.perl.
288
289 2023-03-09 Karl Berry <[email protected]>
290
291 * TL'23 release.
292
293 2023-02-21 Phelype Oleinik <[email protected]>
294
295 * pdftex.web: reduce memory usage for \special shipout,
296 a la HH/luatex.
297
298 2023-02-14 Thanh Han The <[email protected]>
299
300 * writet1.c (cs_mark) <CS_SEAC>: look for the composite(d) glyphs too,
301 to include in /CharSet. Original report from John Lienhard
302 for Lucida: https://tug.org/pipermail/lucida/2023-February/000922.html
303 Also happens with DejaVuSerif: tests/31-CharSet-miss-composite-char.
304 (pdftex r902)
305
306 2023-02-14 Thanh Han The <[email protected]>
307
308 * tounicode.c (set_glyph_unicode): take new glyph_unicode_entry arg.
309 (is_last_byte_valid): new fn.
310 (write_tounicode): stop writing range when last byte of a
311 beginbfrange is no longer valid, that is, >255.
312 Report from Ben JW:
313 https://tug.org/pipermail/tex-live/2023-February/048845.html
314 and corresponding veraPDF issue:
315 https://github.com/veraPDF/veraPDF-library/issues/1253#issuecomment-1420125850
316
317 2023-02-14 Hironori Kitagawa <[email protected]>
318
319 * wcfname.test:
320 Avoid errors on parallel test processing.
321 Report from Ken Brown.
322
323 2023-02-12 Phelype Oleinik <[email protected]>
324 and Karl Berry <[email protected]>
325
326 * pdftex.web (Implement \.{\\special}): add comments explaining
327 that write_stream(tail):=null is an overflow assignment with the
328 current memory_word structure, and is overwritten in enctex2.ch.
329
330 2023-02-11 Thanh Han The <[email protected]>
331
332 * pdftex.ch (pdf_font_has_space_char): xmalloc and maintain new array.
333 * pdftex.web (pdf_init_font): update pdf_font_has_space_char array.
334 (pdf_read_dummy_font): use pdf_space_font_name instead of
335 hardwired "dummy-space".
336 (pdf_begin_string): use real space char if pdf_font_has_space_char,
337 else call pdf_insert_interword_space.
338 (pdf_space_font_code): new \pdfspacefont primitive.
339 (Put each ...): define it.
340 (Cases of |print_cmd_chr|...): print it.
341 (Declare act...): switch on it.
342 (Implement \.{\\pdfspacefont}): implement it.
343 (Glob...): declare pdf_space_font_name.
344 (Set init...): initialize it.
345 * pdftex.defines,
346 * ptexlib.h,
347 * mapfile.c (hasspacechar, pdfmaplinesp): new fns.
348 * NEWS: mention new behavior.
349
350 2023-02-17 Karl Berry <[email protected]>
351
352 * NEWS,
353 * pdftex_version.h,
354 * pdftex.web (pdftex_revision, pdftex_version_string):
355 version [1.40.]25 for TL23.
356
357 2023-12-28 Thanh Han The <[email protected]>
358
359 * pdftex.web: use real space char for \pdfinterwordspaceon,
360 but only works for fonts containing the real space char.
361
362 2023-01-20 Phelype Oleinik <[email protected]>
363
364 * pdftex.web: implement shipout keyword for delayed expansion
365 with \pdfliteral and \special, like non-\immediate \write.
366 (pdf_out_literal): check for pdf_lateliteral_node.
367 (pdf_special): check for latespecial_node.
368 (latespecial_node): new @d (4)
369 (pdf_lateliteral_node): new @d (pdftex_first_extension_code + 1).
370 (Implement \.{\\special}),
371 (Implement \.{\\pdfliteral}): look for `shipout' keyword.
372 (scan_pdf_ext_late_toks): new procedure.
373 (Display the whatsit) <latespecial_node, <pdf_lateliteral_node>:
374 new cases.
375
376 2022-12-28 Thanh Han The <[email protected]>
377
378 * pdftex.web (Display the whatsit...) <pdf_dest_node>: indicate
379 if a pdfdest is a struct (pdftex r888). Report from Ulrike Fischer,
380 https://tug.org/pipermail/pdftex/2022-December/009315.html
381
382 2022-12-28 TANAKA Takuji <[email protected]>
383
384 * wcfname.test, am/pdftex.am:
385 Add tests for file names with UTF-8 characters.
386
387 2022-12-21 Thanh Han The <[email protected]>
388
389 * pdftex.web (pdf_omit_info_procset_code),
390 (pdf_omit_procset): new parameter \pdfomitprocset.
391 (Put each...): add it.
392 (Generate ProcSet if desired): rename from <Generate ProcSet>;
393 output /ProcSet if the parameter is negative,
394 or if the parameter is zero and we are generating PDF 1.x (not 2.x).
395 Request by Ross,
396 https://tug.org/pipermail/pdftex/2022-December/009310.html
397
398 2022-11-30 Thanh Han The <[email protected]>
399
400 * pdftex.web (Finish the PDF file): omit call to pdf_print_info
401 if pdf_omit_info_dict = 0. Report from Ulrike,
402 https://tug.org/pipermail/pdftex/2022-November/009308.html
403 (from pdftex r885)
404
405 2022-05-23 Thanh Han The <[email protected]>
406
407 * writettf.c (ttf_write_OS2): don't complain about v4 of OS/2
408 table, present in GentiumPlus-Regular.ttf, v6.101,
409 released recently. Also, make the complaint about future versions
410 a warning instead of a failure.
411
412 2022-04-17 Thanh Han The <[email protected]>
413
414 * pdftex.web (pdf_omit_info_dict_code),
415 (pdf_omit_info_dict): new parameter \pdfomitinfodict.
416 (Put each...): add it.
417 (Output the cross-reference stream dictionary),
418 (Output the trailer): omit /Info if parameter is nonzero.
419 Request by Ulrike for the pdf A-4 standard.
420 https://tug.org/pipermail/pdftex/2022-April/009282.html
421
422 2022-04-12 Marcel Kr\"uger <[email protected]>
423
424 * pdftex.web (Write out resource list): Write forms last,
425 to avoid recursive xforms clobbering |pdfpagegroupval|.
426 https://tug.org/pipermail/pdftex/2022-April/009276.html
427 https://tug.org/pipermail/pdftex/2022-April/009280.html
428
429 2022-03-21 Karl Berry <[email protected]>
430
431 * TL'22 release.
432
433 2022-01-10 Karl Berry <[email protected]>
434
435 * am/pdftex.am: do not silence tangle-sh.
436
437 2021-11-07 Andreas Scherer <https://ascherer.github.io>
438
439 * pdftex.web: Use WEB meta-comment for stale code.
440
441 2021-11-05 Karl Berry <[email protected]>
442
443 * pdftex_version.h,
444 * pdftex.web (pdftex_revision, pdftex_version_string):
445 version [1.40.]24 for TL'22, in advance, for structured dest test.
446
447 2021-11-04 Marcel Kr\"uger <[email protected]>
448
449 * pdftex.web: Implement support for PDF 2.0 structure destinations.
450
451 2021-09-25 Karl Berry <[email protected]>
452
453 * pdftex.web: always call pdf_warning with prepend_nl true,
454 to avoid warnings showing up in the midst of the output, e.g., from:
455 '\pdfoutput=1 \noindent \pdfstartlink goto num 99\pdfendlink'
456
457 This might cause a blank line, but doing the test as in print_nl
458 to check if we are already at the beginning of the terminal line
459 seems too intrusive at this late date, affecting other messages.
460
461 2021-09-03 Thanh Han The <[email protected]>
462
463 * pdftex.web (prev_tail): new global.
464 (tail_append): maintain it.
465 (insert_before_tail): new macro.
466 (If |tmp_k1| is not null...): insert auto-kern before a
467 null discretionary inserted by |wrapup| (i.e., explicit hyphen)
468 if appropriate. Report (2) from Robert Schlicht.
469 https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
470
471 2021-09-03 Thanh Han The <[email protected]>
472
473 * pdftex.web (append_discretionary): insert autokern
474 (\pdfprependkern/pdfappendkern) after
475 hyphen char inserted by hyphenation. Report (3) from Robert Schlicht.
476 https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
477
478 2021-08-21 Thanh Han The <[email protected]>
479
480 * pdftex.web (cp_skipable): make autokerns "skipable", so character
481 protrusion works with chars having autokern
482 (\pdfprependkern/\pdfappendkern). Report (1) and patch from
483 Robert Schlicht,
484 https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-August/004338.html
485
486 2021-07-13 Hironobu Yamashita <[email protected]>
487
488 * regex/regexec.c: Avoid MSVC compiler error.
489 -> error C2059: syntax error: ':'
490 MSVC does not allow empty expression for ternary
491 conditional operator (?:) which is a GNU C extension.
492 https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html
493 https://stackoverflow.com/questions/3319075/
494
495 2021-02-17 Karl Berry <[email protected]>
496
497 * NEWS,
498 * pdftex_version.h,
499 * pdftex.web (pdftex_revision, pdftex_version_string):
500 version [1.40.]23 for post-TL21 fmt fix.
501
502 2021-01-04 Thanh Han The <[email protected]>
503
504 * pdftex.web (letter_space_font): use explicit \fontdimen6 (quad)
505 if specified:
506 https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-June/004335.html
507
508 And avoid problem when single-character command
509 is used with \letterspacefont:
510 https://mailman.ntg.nl/pipermail/ntg-pdftex/2021-June/004336.html
511
512 Both reports from Robert Schlict.
513 (pdftex r853, r854)
514
515 2021-06-15 Marcel Fabian Krueger <[email protected]>
516
517 * ptexlib.h (glyph_unicode_entry): use integer, not long,
518 to allow dumping without making .fmt platform dependent.
519 See surrounding thread at:
520 https://tug.org/pipermail/tex-live/2021-June/047132.html
521
522 2021-03-23 Karl Berry <[email protected]>
523
524 * TL'21.
525
526 2021-03-16 Karl Berry <[email protected]>
527
528 * writefont.c (write_fontdictionary): pdftex_fail with message
529 instead of assertion. From Martin Budaj, Mar 16, 2021 at 8:47 AM.
530
531 2021-02-22 Phelype Oleinik <[email protected]>
532
533 * pdftex.web: avoid "expansion depth" overflow with \numexpr.
534
535 2021-02-17 Karl Berry <[email protected]>
536
537 * NEWS,
538 * pdftex_version.h,
539 * pdftex.web (pdftex_revision, pdftex_version_string):
540 version [1.40.]22 for TL21.
541
542 * char-warning-pdftex.ch: doc tweak.
543
544 2021-02-13 Karl Berry <[email protected]>
545
546 * am/pdftex.am (pdftex_ch_srcs): adjust for split enctex changes.
547
548 2021-02-06 Akira Kakuto <[email protected]>
549
550 * pdftex.web: sync \tracingparagraphs fix from tex.web.
551
552 2021-01-28 Marcel Fabian Krueger <[email protected]>
553
554 * tounicode.c ((un)dumptounicode): use integer, not size_t,
555 so .fmt files work across platforms.
556
557 2021-01-20 Karl Berry <[email protected]>
558
559 * NEWS: update.
560 * ptexmac.h (undumpcharptr): use xmalloc, not malloc.
561
562 2021-01-20 Marcel Fabian Krueger <[email protected]>
563
564 (Un)dump \pdfglyphtounicode assignments in the .fmt.
565 * pdftex.web (Dump/Undump pdftex data): call (un)dumptounicode.
566 * ptexlib.h ((un)dumptounicode): declare.
567 * tounicode.c ((un)dumptounicode): define.
568 * ptexmac.h ((un)dumpcharptr): #define here, from writeimg.c
569 (using generic_dump).
570 * writeimg.c: #defines moved.
571 ntg-pdftex mail, 17 Jan 2021 21:47:33.
572
573 2021-01-04 Thanh Han The <[email protected]>
574
575 * ttf2afm.c (make_name): yet another attempt at filtering
576 control characters, since the test font, SourceCodePro (as well
577 as many other Mac fonts), actually contains control characters
578 (24 and 25), due to UTF-16BE.
579
580 2021-01-11 Karl Berry <[email protected]>
581
582 * ttf2afm.c (make_name): better to use unsigned char.
583
584 2021-01-10 Karl Berry <[email protected]>
585
586 * ttf2afm.c (make_name): go back to copying all characters
587 to try to placate NetBSD. No harm in it?
588 https://tug.org/pipermail/tlbuild/2021q1/004780.html
589
590 2021-01-06 Karl Berry <[email protected]>
591
592 * ttf2afm.c (make_name): let's exclude iscntrl() per Thanh,
593 but accept crlf and tab.
594
595 2021-01-05 Karl Berry <[email protected]>
596
597 * ttf2afm.c (make_name): copy all characters, not just isprint().
598 From Akira/Mojca.
599
600 2021-01-04 Thanh Han The <[email protected]>
601
602 * ttf2afm.c (make_name): new fn.
603 (read_font): output FontName etc. in afm.
604 Request from Doug McAllaster, mail to Thanh of 4 Jan 2021 14:17:40.
605
606 2020-10-31 Thanh Han The <[email protected]>
607
608 * pdftex.web (pdf_begin_string): don't output fake space
609 unless pdf_doing_string. pdftex r838-839.
610 Report from Ulrike Fischer, 18oct20.
611
612 2020-08-31 Marcel Fabian Krueger <[email protected]>
613
614 * pdftex.web (Scan the argument for command |c|) <expanded_code>:
615 free_avail(def_ref) to avoid memory exhaustion with many \expanded.
616
617 2020-08-04 Andreas Scherer <https://ascherer.github.io>
618
619 * pdftex.web: Pick a few obvious nits.
620
621 2020-08-03 Andreas Scherer <https://ascherer.github.io>
622
623 * pdftex.ch: Move pdfTeX variants of MLTeX code next to originals.
624
625 2020-07-22 Akira Kakuto <[email protected]>
626
627 * pdftex.web, writeimg.c: Show unfound file names in
628 fatal error messages.
629 https://tug.org/pipermail/pdftex/2020-July/009203.html
630
631 2020-07-20 Andreas Scherer <https://ascherer.github.io>
632
633 * pdftex.ch: Avoid overful hboxes in table-of-contents.
634
635 2020-07-19 Karl Berry <[email protected]>
636
637 * char-warning-pdftex.ch: new file to implement new feature;
638 if \tracinglostchars>=3, missing characters cause an error and not
639 just a diagnostic message. Also, always report the hex code of the
640 missing character. From David Jones, tex-implements 30jun2020.
641 * am/pdftex.am (pdftex_ch_srcs): add it.
642 * change-files.txt: update.
643
644 2020-07-17 Andreas Scherer <https://ascherer.github.io>
645
646 * am/pdftex.am: Avoid changefile ambiguity.
647
648 2020-06-11 Thanh Han The <[email protected]>
649
650 * pdftex.web (Create link annotations...): check for gen_running_link.
651 (pdf_running_link_{off,on}_node): new @d for new primitives.
652 (Put each ...): define them.
653 (Cases of |print_cmd_chr|...): print them.
654 (Declare act...): switch on them.
655 (Implement \.{\\pdfrunninglinkoff}, ...on): new modules to
656 implement them.
657 (Display the whatsit...),
658 (Mark a partial copy...),
659 (Wipe out the whatsit...): handle them as whatsits.
660 (gen_running_link): new global, define and initialize.
661 (Output the whatsit...): set gen_running_link according
662 to the new primitives.
663 pdftex r835. Following suggestion from Ulrike Fischer,
664 https://tug.org/pipermail/tex-live/2018-November/042759.html.
665
666 2020-06-10 Thanh Han The <[email protected]>
667
668 * pdftex.web (end_link): warn instead of fatal for
669 "\pdfendlink ended up in different nesting level than \pdfstartlink".
670 pdftex r832. Suggestion from Ulrike Fischer,
671 https://tug.org/pipermail/tex-live/2018-November/042759.html.
672
673 2020-06-03 Thanh Han The <[email protected]>
674
675 * pdftex.web: Initialize save_tail to avoid a value of 0 given at
676 compile time. Remove unnecessary codes. (from Hironobu
677 Yamashita). pdftex r829.
678 https://mailman.ntg.nl/pipermail/ntg-pdftex/2020-May/004330.html
679
680 2020-06-02 Thanh Han The <[email protected]>
681
682 * pdftex.web (auto_kern): @d=3, rather than "explicit".
683 (Display kern |p|): report auto_kern message; avoid link(r)
684 when r=null. pdftex r828. Report from Robert Schlict,
685 https://mailman.ntg.nl/pipermail/ntg-pdftex/2020-May/004317.html
686
687 2020-05-31 Hironobu Yamashita <[email protected]>
688
689 * writepng.c: Suppress a compiler warning: '&&' within '||'
690
691 2020-05-15 Akira Kakuto <[email protected]>
692
693 * pdftoepdf.cc, pdftosrc.cc, NEWS: remove support of poppler.
694
695 2020-05-14 Karl Berry <[email protected]>
696
697 * pdftoepdf-poppler0.68.0.cc,
698 * pdftoepdf-poppler0.69.0.cc,
699 * pdftoepdf-poppler0.70.0.cc,
700 * pdftoepdf-poppler0.71.0.cc,
701 * pdftoepdf-poppler0.72.0.cc,
702 * pdftoepdf-poppler0.75.0.cc,
703 * pdftoepdf-poppler0.76.0.cc,
704 * pdftoepdf-poppler0.83.0.cc,
705 * pdftoepdf-poppler0.86.0.cc,
706 * pdftosrc-newpoppler.cc,
707 * pdftosrc-poppler0.71.0.cc,
708 * pdftosrc-poppler0.72.0.cc,
709 * pdftosrc-poppler0.76.0.cc,
710 * pdftosrc-poppler0.83.0.cc: remove these interim stabs at poppler
711 support; now poppler is not supported in TL.
712 See source/m4/kpse-xpdf-flags.m4 for some discussion.
713
714 2020-03-28 Thanh Han The <[email protected]>
715
716 * pdftex.web (load_expand_font, vf_def_font): do not call
717 copy_expand_params on null_font. pdftex r823.
718 Original report from Robert Schlicht,
719 https://tug.org/pipermail/tex-live/2020-March/045099.html
720 https://mailman.ntg.nl/pipermail/ntg-pdftex/2020-March/004307.html
721
722 2020-03-27 Karl Berry <[email protected]>
723
724 * TeX Live 2020, pdftex 1.40.21.
725
726 2020-02-29 Akira Kakuto <[email protected]>
727
728 Add pdftoepdf-poppler0.86.0.cc to support system poppler 0.86.0.
729
730 2019-12-30 Akira Kakuto <[email protected]>
731
732 * utils.c: Not include poppler-config.h, by assuming that
733 POPPLER_VERSION is defined properly.
734
735 2019-12-10 Hironori Kitagawa <[email protected]>
736
737 * am/pdftex.am (pdftex_ch_srcs): add zlib-fmt.ch.
738
739 2019-11-25 Joseph Wright <[email protected]>
740
741 * pdftex.web: New primitive \pdfmajorversion.
742 (pdf_major_version_code, pdf_major_version, print_param,
743 <Put each...>): housekeeping.
744 (<Initialize table entries...>): default 1.
745 (<Glob...>): fixed_pdf_major_version.
746 (pdf_version_written, <Set init...>): rename from
747 pdf_minor_version_written.
748 (check_pdfversion): rename from check_pdfminorversion,
749 and also check pdf_major_version for sanity, and set the fixed_ value,
750 and use pdf_major_version in the %PDF- line.
751 (pdf_begin_obj, pdf_begin_dict, <Initialize variables ...>,
752 <Implement \.{\\pdfximage}>): change call to check_pdfversion.
753 <Undump pdftex data>: undump pdf_major_version.
754 (scan_image): include pdf_major_version in call to read_image.
755 * pdftoepdf.cc (read_pdf_info): new arg major_pdf_version_wanted,
756 and check it when including PDF.
757 * ptexlib.h (readimage, undumpimagemeta): new integer args in decl.
758 * writeimg.c (readimage, undumpimagemeta): new arg
759 pdfmajorversion, and check it.
760 * writepng.c (read_png_info): check fixedpdfmajorversion
761 along with fixedpdfminorversion for various png color attributes.
762
763 2019-08-06 Karl Berry <[email protected]>
764
765 * tests/cnfline.test,
766 * tests/cnfline.tex: new files.
767 * am/pdftex.am (pdftex_tests): add pdftexdir/tests/cnfline.test.
768 (cnfline.log): depend on pdftex$(EXEEXT).
769
770 2019-05-08 Akira Kakuto <[email protected]>
771
772 * writeimg.c: Use a new function find_input_file() to find
773 an image file.
774 A report in tex-k list:
775 https://tug.org/pipermail/tex-k/2019-May/003014.html
776
777 2019-05-03 Akira Kakuto <[email protected]>
778
779 * pdftosrc-poppler0.76.0.cc, pdftoepdf-poppler0.76.0.cc:
780 Added to support system poppler 0.76.[01].
781
782 2019-04-07 Karl Berry <[email protected]>
783
784 * TeX Live 2019.
785
786 2019-03-30 Akira Kakuto <[email protected]>
787
788 * epdf.c: Allow spaces in CharSet.
789 Reported by Robert:
790 https://tug.org/pipermail/pdftex/2019-March/009146.html
791
792 2019-03-21 Akira Kakuto <[email protected]>
793
794 * pdftoepdf-poppler0.75.0.cc: Support poppler-0.75.0.
795
796 2019-01-27 Karl Berry <[email protected]>
797
798 * pdftex.web (pdf_omit_charset_code, pdf_omit_charset
799 print_param,
800 <Put each...>,
801 get_pdf_omit_charset)
802 * writefont.c (write_fontdescriptor): reverse sense and name
803 to \pdfomitcharset.
804
805 2019-01-27 Karl Berry <[email protected]>
806
807 * pdftex.web (pdf_include_charset_code, pdf_include_charset):
808 new primitive parameter \pdfincludecharset.
809 (print_param): print_esc it.
810 (Put each...): insert in hash table.
811 (get_pdf_include_charset): new fn to get its value.
812 * writefont.c (write_fontdescriptor): check it before outputting
813 CharSet.
814
815 2019-01-19 Karl Berry <[email protected]>
816
817 * NEWS,
818 * pdftex_version.h,
819 * pdftex.web (pdftex_revision, pdftex_version_string):
820 version [1.40.]20 for TL19.
821
822 2019-01-08 Akira Kakuto <[email protected]>
823
824 * pdftosrc-poppler0.72.0.cc: Support poppler-0.73.0.
825
826 2019-01-07 Hironobu Yamashita <[email protected]>
827
828 * tounicode.c (deftounicode): suppress a compiler warning:
829 format specifies type 'unsigned int' but the argument has
830 type 'long' [-Wformat]
831 * writet3.c (writet3): suppress a compiler warning:
832 add explicit braces to avoid dangling else [-Wdangling-else]
833
834 2018-12-07 Akira Kakuto <[email protected]>
835
836 * pdftosrc-poppler0.72.0.cc, pdftoepdf-poppler0.72.0.cc:
837 Add to support system poppler-0.72.0.
838 * NEWS: Change comments on system poppler.
839
840 2018-11-01 Akira Kakuto <[email protected]>
841
842 * pdftosrc-poppler0.71.0.cc, pdftoepdf-poppler0.71.0.cc:
843 Add to support system poppler-0.71.0.
844 * NEWS: Change comments on system poppler.
845
846 2018-10-24 Karl Berry <[email protected]>
847
848 * writet1.c (t1_check_unusual_charstring): don't call
849 strlen(t1_buf_array) if it is null.
850 From Luigi, 22 Oct 2018 22:43:03.
851
852 2018-10-22 Akira Kakuto <[email protected]>
853
854 * pdftosrc-newpoppler.cc: Add a comment that it works upto
855 the poppler 0.70.0.
856 * pdftoepdf-poppler0.70.0.cc: A new file for poppler-0.70.0
857 and newer.
858
859 2018-10-02 Akira Kakuto <[email protected]>
860
861 * pdftoepdf.cc: Remove changes for w32.
862
863 2018-09-23 Akira Kakuto <[email protected]>
864
865 * pdftosrc-newpoppler.cc: Add a comment that it works upto
866 the poppler 0.69.0.
867 * pdftoepdf-poppler0.68.0.cc: Rename pdftoepdf-newpoppler.cc
868 and add comments.
869 * pdftoepdf-poppler0.69.0.cc: A new file for poppler-0.69.0
870 and newer.
871
872 2018-09-18 Nick Roessler <[email protected]>
873
874 * writet1.c (t1_check_unusual_charstring): protect against buffer
875 overflow.
876
877 2018-09-09 Karl Berry <[email protected]>
878
879 * expanded.test,
880 * ttf2afm.test: LC_ALL=LANGUAGE=C.
881
882 2018-07-09 Karl Berry <[email protected]>
883
884 * writefont.c (write_fontdescriptor) [ENABLE_PDF_CHARSET]:
885 compile-time conditional for re-enabling output of PDF /CharSet,
886 which is now disabled by default.
887
888 2018-06-13 TANAKA Takuji <[email protected]>
889
890 * ptexlib.h: Output correct Unicode strings on console
891 (w32 only).
892
893 2018-06-12 Akira Kakuto <[email protected]>
894
895 * pdftoepdf.cc: Free unused memory (w32 only).
896
897 2018-06-11 Akira Kakuto <[email protected]>
898
899 * pdftoepdf.cc: Remove xfree(file_name) in order to avoid
900 to output garbage.
901 * pdftoepdf-newpoppler.cc: Remove _WIN32 changes, since
902 utf-8 names are transformed to Unicode and _wopened
903 in poppler.
904
905 2018-06-10 TANAKA Takuji <[email protected]>
906
907 * ptexlib.h, pdftoepdf.cc, pdftoepdf-newpoppler.cc:
908 Allow non-ascii file names for pdfTeX with UTF-8 source files
909 (w32 only). The function is enabled by setting
910 'command_line_encoding=utf-8' in texmf.cnf.
911
912 2018-05-29 Akira Kakuto <[email protected]>
913
914 * ptexlib.h: Discard the changes on 2018-05-11, since
915 'command_line_encoding=utf-8' is not so natural for
916 pdfTeX (w32 only).
917
918 2018-05-13 Joseph Wright <[email protected]>
919
920 * pdftex.web: New primitive \expanded based on original
921 suggestion by Heiko Oberdiek, and with work by
922 Bruno Le Floch and David Carlisle (on behalf of The LaTeX Project).
923 (expanded_code): new @d, new cases.
924 https://mailman.ntg.nl/pipermail/ntg-pdftex/2018-May/004233.html
925
926 2018-05-11 Akira Kakuto <[email protected]>
927
928 * ptexlib.h: Allow non-ascii file names in pdfTeX (w32 only).
929
930 2018-04-28 Akira Kakuto <[email protected]>
931
932 * pdftoepdf-newpoppler.cc, pdftosrc-newpoppler.cc:
933 Support poppler 0.64.0.
934
935 2018-04-14 Karl Berry <[email protected]>
936
937 * TeX Live 2018 release, pdftex 1.40.19.
938
939 2018-04-04 Jerry James <[email protected]>
940
941 * pdftoepdf-newpoppler.cc: Do not copy a Dict, get a reference instead.
942
943 2018-03-24 Hironobu Yamashita <[email protected]>
944 Hironori Kitagawa <[email protected]>
945
946 * pdftex.ch: Recover the right \lastnodetype initialization
947 value ignored by tex.ch.
948
949 2018-03-20 Hans Hagen <[email protected]>
950
951 * pdftex.web (Glob...): defined saved_pdf_cur_form.
952 (Write out pending forms): save and restore the form.
953 Original report from Alexander Grahn,
954 http://tug.org/pipermail/tex-live/2018-March/041210.html.
955
956 2018-03-06 Akira Kakuto <[email protected]>
957
958 * pdftex.web: pdftex_revision=="19".
959 Reported by Uwe Siart, 2018-03-06.
960
961 2018-01-25 Hironobu Yamashita <[email protected]>
962 and Karl Berry <[email protected]>
963
964 * writefont.c (font_is_used): import LuaTeX's font_has_subset
965 with different name.
966 (dopdffont): call it, to avoid failed assertion. (tests/09-fontobjnum)
967 Original report from Enrico Gregorio,
968 tug.org/pipermail/tex-live/2018-January/040966.html
969 followup with patch at
970 mailman.ntg.nl/pipermail/ntg-pdftex/2018-January/004209.html
971
972 2018-01-06 Karl Berry <[email protected]>
973
974 * pdftex.web (literal): if a non-PDF special is ignored,
975 also output "<special> " and the first 64 characters of the special.
976 (slow_print_substr): new procedure, although surely there's
977 already a way to print a substring of a pool string.
978
979 2018-01-01 Pali Roh\'ar <[email protected]>
980
981 Patch 1: explicitly detect bitmap PK font in fm_scan_line,
982 instead of the implicit check of ps_name and ff_name being NULL.
983 * ptexmac.h (F_PK, set_pk, unset_pk, is_pk): new macros.
984 * writefont.c (dopdffont): call writet3 if is_pk.
985 * mapfile.c (fm_scan_line): call set_pk if no fontfile
986 and no ps_name on encoding line.
987
988 Patch 2: Always embed bitmap fonts with different sizes
989 separately, even if it has a fontmap entry; i.e., no geometric
990 scaling in the generated PDF.
991 * pdftex.defines (isscalable),
992 * ptexlib.h (isscalable),
993 * mapfile.c (isscalable): new fn.
994 * pdftex.web: call isscalable instead of hasfmentry
995 in all cases except @<Output fonts definition@>.
996
997 Patch 3: Allow .enc files for bitmap PK fonts.
998 * ptexlib.h (writet3): take additional fm_entry* parameter.
999 * writefont.c (dopdffont): change call.
1000 * writet3.c (writet3): change definition;
1001 write_tounicode and encoding vector if we can.
1002 (remove_duplicate_glyph_names): new fn.
1003
1004 Patch 4: Additional checks for PK fonts in map file.
1005 * mapfile.c (check_fm_entry):
1006
1007 ChangeLog entry, some comments, error messages written or tweaked
1008 by Karl Berry; all substantive code by Pali. Patch posted at
1009 https://mailman.ntg.nl/pipermail/ntg-pdftex/2017-August/004183.html.
1010 See test-pkmap.tex for more references and some tests.
1011
1012 2017-12-16 Hironori Kitagawa <[email protected]>
1013
1014 * pdftex.web (compare_strings): Fix \pdfstrcmp error message
1015 "! File ended while ..." to report control sequence correctly.
1016 http://tug.org/pipermail/tex-k/2017-December/002838.html
1017
1018 2017-12-15 Akira Kakuto <[email protected]>
1019
1020 * tounicode.c (deftounicode): check that value is in range [0,10FFFF].
1021 Original report from Ross Moore, ntg-pdftex 30 May 2017 06:03:04.
1022
1023 2017-12-02 Karl Berry <[email protected]>
1024
1025 * am/pdftex.am (pdftex.pdf, pdftex.tex): new convenience targets
1026 for simple weave && pdftex to generate typeset output.
1027
1028 2017-11-28 Hironori KITAGAWA <[email protected]>
1029
1030 Stop \pdfprimitive\vrule\q from swallowing q, by moving prim_eqtb
1031 into the end of region 2 of eqtb instead of being a separate table.
1032 * pdftex.ch (frozen_null_font): add prim_size.
1033 * pdftex.web (prim_size): move to other region 2 definitions.
1034 (prim_eqtb_base): new constant.
1035 (prim_eq_level, prim_eq_type, prim_equiv): use prim_eqtb_base.
1036 (prim_eqtb): remove array.
1037 (Set init...): remove initializations.
1038 (Basic printing...),
1039 (Basic printing procedures): handle primitives after prim_eqtb_base.
1040 (Implement \.{\\pdfprimitive}): do not give error if argument is
1041 not a primitive, just do nothing.
1042 (Reset |cur_tok| for unexpandable primitives, goto restart):
1043 handle primitive lookups via prim_eqtb_base instead of cur_cmd*@'400.
1044 (Cases of |main_control| that are not part of the inner loop):
1045 <not undefined_primitive>: also set cur_tok.
1046 (Dump the hash table): do not dump prim_eqtb.
1047 (Undump the hash table): do not undump prim_eqtb.
1048
1049 2017-11-14 Anders Kaseorg <[email protected]>
1050
1051 * utils.c (printID): Do not hash the current directory name into
1052 the PDF ID field, since any variability in it leads to
1053 non-reproducible builds.
1054 pdftex mailing list, 2 Sep 2017 01:52:43
1055 https://bugs.debian.org/874102
1056
1057 2017-10-17 Akira Kakuto <[email protected]>
1058
1059 * pdftosrc.cc: Support also xpdf-3.04 if XPDF304 is defined.
1060 * pdftoepdf-newpoppler.cc, pdftosrc-newpoppler.cc: New files
1061 added in order to support poppler 0.59.0 or newer versions.
1062 POPPLER_VERSION should be defined. At present, simply overwrite
1063 pdftoepdf.cc and pdftosrc.cc by pdftoepdf-newpoppler.cc and
1064 pdftosrc-newpoppler.cc, respectively, in order to use these
1065 files.
1066 The current pdftoepdf.cc and pdftosrc.cc support
1067 xpdf-4.00 or newer by default, xpdf-3.04 if XPDF304 is
1068 defined, and poppler 0.57.0 or older versions if
1069 POPPLER_VERSION is defined.
1070
1071 2017-10-10 Shreevatsa R <[email protected]>
1072
1073 * pdftex.web: formatting-only fixes to make weave-able.
1074 Posted to ntg-pdftex, 15 Aug 2017 09:49:59.
1075
1076 2017-09-24 Hironori Kitagawa <[email protected]>
1077
1078 * pdftex.web: Avoid overwriting prim_* entries by primitive().
1079
1080 2017-09-14 Akira Kakuto <[email protected]>
1081
1082 * pdftosrc.cc: Fix a potential bug which I introduced on
1083 2017-08-13.
1084
1085 2017-08-13 Akira Kakuto <[email protected]>
1086
1087 * pdftosrc.cc: Remove a line, which I believe is not necessary,
1088 to avoid a crash for xpdf-4.00.
1089
1090 2017-04-19 Karl Berry <[email protected]>
1091
1092 * mapfile.c (read_field): new parameter buf_size,
1093 and check buffer for overflow, as in append_char_to_buf.
1094 (fm_scan_line): change read_field calls;
1095 set tfm_name to empty string instead of leaving NULL.
1096 (check_fm_entry): remove checks of tfm_name on every print;
1097 check for empty tfm_name rather than lack of ps_name and font file;
1098 check for non-empty tfm_name on slant/extend warnings.
1099
1100 2017-04-12 Karl Berry <[email protected]>
1101
1102 * mapfile.c (check_fm_entry): do not try to print fm->tfm_name,
1103 etc., in warnings if null.
1104 (fm_scan_line): goto bad_line if a null tfm_name,
1105 even if check_fm_entry returns true.
1106
1107 2017-04-12 Pali Roh\'ar <[email protected]>
1108
1109 * ptexmac.h (set_subfont, unset_subfont, is_subfont): remove
1110 these duplicate macros.
1111
1112 2017-03-29 Akira Kakuto <[email protected]>
1113
1114 * writepng.c: Fix the size of memory to allocate when writing
1115 SMask in write_png_rgb_alpha. Reported by David Fifield:
1116 http://tug.org/pipermail/pdftex/2017-March/009100.html
1117
1118 2017-03-18 Karl Berry <[email protected]>
1119
1120 * NEWS,
1121 * pdftex_version.h,
1122 * pdftex.web (pdftex_revision, pdftex_version_string):
1123 version [1.40.]18 for TL17.
1124
1125 2017-02-18 Heiko Oberdiek <[email protected]>
1126
1127 * pdftex.web (substr_of_str): move earlier.
1128 (Write out page object): if \MediaBox was given in \pdfpageattr,
1129 do not output our own.
1130 Mail from Michael Altmann to pdftex, 9 Feb 2017 13:19:05.
1131 http://tug.org/pipermail/pdftex/2017-February/009097.html
1132
1133 2017-02-16 Karl Berry <[email protected]>
1134
1135 * regex/regex_internal.h (alloca) [!alloca]: do not try
1136 to #define if already #defined.
1137 Report from Vincent Torri on tex-live list, 7 Jul 2016 10:48:15.
1138 (pdftex r765)
1139
1140 2016-11-05 Karl Berry <[email protected]>
1141
1142 * pdftoepdf.cc: doc fix.
1143
1144 2016-07-16 Akira Kakuto <[email protected]>
1145
1146 * pdftoepdf.cc: Use zround(stemV->getNum()) instead of stemV->getInt()
1147 in epdf_create_fontdescriptor(), since the value of stemV may be real
1148 in general.
1149
1150 2016-06-12 Karl Berry <[email protected]>
1151 and Akira Kakuto <[email protected]>
1152
1153 * utils.c (last_match_succeeded): new static boolean.
1154 (matchstrings): set it.
1155 (getmatch): use it, plus check for non-NULL match_string sooner,
1156 plus check that rm_eo >= rm_so.
1157 Original bug report from David Carlisle,
1158 http://tug.org/pipermail/tex-live/2016-June/038664.html
1159 (pdftex r759)
1160
1161 2016-06-12 Karl Berry <[email protected]>
1162 and Akira Kakuto <[email protected]>
1163
1164 * utils.c (last_match_succeeded): new static boolean.
1165 (matchstrings): set it.
1166 (getmatch): use it, plus check for non-NULL match_string sooner,
1167 plus check that rm_eo >= rm_so.
1168 Original bug report from David Carlisle,
1169 http://tug.org/pipermail/tex-live/2016-June/038664.html
1170
1171 2016-05-20 Karl Berry <[email protected]>
1172
1173 * TeX Live 2016 release.
1174
1175 2016-04-06 Karl Berry <[email protected]>
1176
1177 * pdftexextra.h (COPYRIGHT_HOLDER): don't specifically mention peb
1178 and e-TeX, as there are many other copyright holders of other pieces
1179 anyway, and Peter passed away in 2015.
1180
1181 2016-03-24 Akira Kakuto <[email protected]>
1182
1183 * writet1.c: Fix one-byte buffer overflow bug reported by Hanno Boeck:
1184 http://tug.org/pipermail/tex-live/2016-January/037686.html.
1185
1186 2016-03-21 Karl Berry <[email protected]>
1187
1188 * NEWS,
1189 * pdftex_version.h,
1190 * pdftex.web (pdftex_revision, pdftex_version_string): [1.40.]17
1191 for TL'16.
1192
1193 2016-02-15 Akira Kakuto <[email protected]>
1194
1195 * pdftex.web, pdftoepdf.cc: Add \pdfsuppressptexinfo, imported from
1196 the upstream.
1197
1198 2016-01-19 Akira Kakuto <[email protected]>
1199
1200 * pdftex.web: Avoid to crash for unusual virtual fonts which lead to
1201 font size >= 2048pt.
1202
1203 2015-08-27 Peter Breitenlohner <[email protected]>
1204
1205 * am/libpdftex.am, am/pdftosrc.am: Enable g++ warnings.
1206 * pdftoepdf.cc, pdftosrc.cc: Avoid g++ warnings.
1207 * tounicode.c: Avoid gcc warnings.
1208
1209 2015-07-28 Peter Breitenlohner <[email protected]>
1210
1211 * ptexmac.h: Avoid possible integer overflow.
1212 * writettf.h: No reason to use 'long' for 32-bit integers.
1213 * writettf.c: No reason to use the (possibly 64-bit) 'integer'.
1214
1215 2015-07-10 Peter Breitenlohner <[email protected]>
1216
1217 * am/pdftex.am, am/pdftosrc.am, am/ttf2afm.am: Dependencies for
1218 'make check'.
1219
1220 2015-07-02 Hironori Kitagawa <[email protected]>
1221
1222 * utils.c: Moved convertStringToHexString() and getmd5sum()
1223 from here to ../lib/texmfmp.c.
1224
1225 2015-06-30 Peter Breitenlohner <[email protected]>
1226
1227 * pdftex.defines, ptexlib.h, pdftex.web, utils.c: Sync with
1228 upstream r724.
1229
1230 2015-06-22 Peter Breitenlohner <[email protected]>
1231
1232 * am/pdftex.am: Use $(tie_c).
1233
1234 2015-03-07 Karl Berry <[email protected]>
1235
1236 * NEWS,
1237 * pdftex_version.h,
1238 * pdftex.web (pdftex_revision, pdftex_version_string): [1.40.]16
1239 for TL'15.
1240
1241 2015-02-16 Akira Kakuto <[email protected]>
1242
1243 * writejpg.c: support JPEG Exif in addition to JFIF.
1244 (borrowed from dvipdfm-x).
1245
1246 2014-12-12 Karl Berry <[email protected]>
1247
1248 * pdftoepdf.cc (read_pdf_info): do not even warn if
1249 pdf_inclusion_errorlevel (aka \pdfinclusionerrorlevel) is negative.
1250 Discussed with Thanh, 31 May 2011 10:17:35.
1251
1252 2014-11-06 Peter Breitenlohner <[email protected]>
1253
1254 * regex/regcomp.c [WIN64]: Use __int64 (not long) as intptr_t.
1255
1256 2014-08-19 Peter Breitenlohner <[email protected]>
1257
1258 * writepng.c: Avoid PNG warnings.
1259
1260 2014-06-26 Thanh Han The <[email protected]>
1261
1262 * pdftoepdf.cc: Put a line-ending character after writing a group dict.
1263 (Report from Ross Moore on pdftex list,
1264 http://tug.org/pipermail/pdftex/2014-June/008911.html)
1265
1266 2014-06-19 Peter Breitenlohner <[email protected]>
1267
1268 * mapfile.c, tounicode.c, writet1.c, writettf: Avoid undefined
1269 behaviour when char is signed.
1270
1271 2014-06-18 Peter Breitenlohner <[email protected]>
1272
1273 * ttf2afm.c: Avoid undefined behaviour when char is signed.
1274
1275 2014-06-16 Peter Breitenlohner <[email protected]>
1276
1277 * pdftosrc.cc: Adapt to xpdf-3.04.
1278
1279 2012-05-20 Thanh Han The <[email protected]>
1280
1281 * pdftex.web: do not try to avoid printing 0 0 Td.
1282 E.g., \rlap fails.
1283 (Report from Heiko on pdftex list, 21 May 2014 22:11:21.)
1284
1285 2014-05-06 Peter Breitenlohner <[email protected]>
1286
1287 Update to e-pTeX and e-upTeX from Akira Kakuto.
1288 * ptexlib.h (getfiledump): Move declaration also used by
1289 e-(u)pTeX from here to ../texmfmp.h.
1290 * utils.c (getfiledump): Move definition also used by
1291 e-(u)pTeX from here to ../lib/texmfmp.c.
1292
1293 2014-03-18 Akira Kakuto <[email protected]>
1294
1295 * pdftex.web and writefont.c: Import from r704.
1296
1297 2014-03-17 Peter Breitenlohner <[email protected]>
1298
1299 * pdftoepdf.cc, pdftosrc.cc: Kpathsea headers and <w2c/config.h>
1300 are now C++ safe.
1301
1302 2014-03-07 Karl Berry <[email protected]>
1303
1304 * pdftex_version.h,
1305 * pdftex.web (pdftex_revision, pdftex_version_string): [1.40.]15.
1306
1307 2014-02-14 Karl Berry <[email protected]>
1308
1309 * pdftex.web (pdf_suppress_warning_page_group): new primitive
1310 parameter \pdfsuppresswarningpagegroup.
1311 (get_pdf_suppress_warning_page_group): new fn to get its value.
1312 * pdftoepdf.cc (write_epdf): check it before issuing warning.
1313
1314 2014-01-20 Peter Breitenlohner <[email protected]>
1315
1316 TeX tuneup of 2014.
1317 * pdftex.web, tex.ch0: Adapt to TeX Version 3.14159265.
1318
1319 2014-01-09 Peter Breitenlohner <[email protected]>
1320
1321 * pdftoepdf.cc (copyObject): Always write "\nendstream" for
1322 PDF/A-1b compliance.
1323
1324 2014-01-02 Peter Breitenlohner <[email protected]>
1325
1326 * writepng.c: Allow libpng >= 1.6.3 to read images with
1327 incorrect CMF bytes.
1328
1329 2014-01-01 Karl Berry <[email protected]>
1330
1331 * All source files: update copyright years to include 2014.
1332
1333 2013-12-23 Peter Breitenlohner <[email protected]>
1334
1335 * pdftex.web (pdf_end_stream): Always write "\nendstream" for
1336 PDF/A-1b compliance.
1337
1338 2013-12-17 Peter Breitenlohner <[email protected]>
1339
1340 * pdftex.web: Always write "\n" after "obj" and before "endobj".
1341 Suggested by Vincent Immler (http://sarovar.org/tracker/#4341).
1342
1343 2013-12-04 Peter Breitenlohner <[email protected]>
1344
1345 Update to e-TeX Version 2.6 [2013-11-21].
1346 * etex_version.h, pdftex.web: Enable hyphenation of text between
1347 \beginL and \endL or between \beginR and \endR.
1348
1349 2013-09-27 Akira Kakuto <[email protected]>
1350
1351 * writet1.c (t1_subset_ascii_part): Remove UniqueID in subsets.
1352 Report from Christian Zietz (czietz/gmx/net),
1353 tex-k 01 Sep 2013 11:25:47 and previous.
1354 (Imported from dvipsk.)
1355
1356 2013-08-02 Peter Breitenlohner <[email protected]>
1357
1358 * ttf2afm.test, tests/postV[37].{afm.ttf}: New test and data.
1359 * am/ttf2afm.am: Add the new test.
1360
1361 2013-07-30 Peter Breitenlohner <[email protected]>
1362
1363 * ttf2afm.c, writettf.c: Treat unknown 'post' table versions
1364 (found in some broken fonts) as 3.0, i.e., no Glyph names.
1365
1366 2013-07-12 Peter Breitenlohner <[email protected]>
1367
1368 * am/pdftex.am, tests/pdfimage.tex: Add a .pdf image.
1369
1370 2013-07-04 Peter Breitenlohner <[email protected]>
1371
1372 * pdfimage.test, tests/pdfimage.tex: New test and data.
1373 * am/pdftex.am: Add the new test.
1374
1375 2013-06-28 Peter Breitenlohner <[email protected]>
1376
1377 * mapfile.c: First #include <w2c/config.h> via "ptexlib.h".
1378 * pdftosrc.cc: First #include <w2c/config.h>.
1379
1380 2013-06-12 Peter Breitenlohner <[email protected]>
1381
1382 Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
1383 * ptexlib.h (initstarttime, makecstring, makecfilename,
1384 getcreationdate, getfilemoddate, getfilesize): Move declarations
1385 of functions also used by e-(u)pTeX from here to ../texmfmp.h.
1386 * utils.c (initstarttime, makecstring, makecfilename,
1387 getcreationdate, getfilemoddate, getfilesize): Move definition
1388 of these functions from here to ../lib/texmfmp.c.
1389
1390 2013-04-22 Akira Kakuto <[email protected]>
1391
1392 * pdftex.web: pdftex_revision = "14"
1393
1394 2013-04-09 Peter Breitenlohner <[email protected]>
1395
1396 * pdftex.web: 1.40.13 ---> 1.40.14 for TL 2013.
1397
1398 2013-03-06 Peter Breitenlohner <[email protected]>
1399
1400 * pdftex.web: Typos.
1401
1402 2013-03-04 Peter Breitenlohner <[email protected]>
1403
1404 * am/pdftex.am: Better rules for {pdf,e}tex_version.h.
1405
1406 2013-02-28 Peter Breitenlohner <[email protected]>
1407
1408 * pdftex.web: Adapt to e-TeX 2.5.
1409
1410 2013-02-23 Peter Breitenlohner <[email protected]>
1411
1412 * etex_version.h: New file extracted from pdftex.web.
1413 * am/pdftex.am, pdftexextra.h: Adjust.
1414
1415 2013-01-28 Peter Breitenlohner <[email protected]>
1416
1417 * utils.c: Include <w2c/config.h> first for large file support.
1418
1419 2013-01-24 Peter Breitenlohner <[email protected]>
1420
1421 * wprob.test: Avoid spurious failure of parallel-tests.
1422 * am/pdftex.am: Renamed wprob.{tex,log} => pwprob.{tex,log}.
1423
1424 2013-01-10 Peter Breitenlohner <[email protected]>
1425
1426 * macnames.c, pdftex-common.h, pdftoepdf.cc, ttf2afm.c,
1427 writet1.c: Change 'const char notdef[]' -> 'char notdef[]' and
1428 remove casts (const char *) -> (char *).
1429
1430 * mapfile.c (dummy_fm_entry): Delare const_fm_entry as non-const
1431 and remove the cast.
1432
1433 * utils.c (writestreamlength): Cast length for printing.
1434
1435 2012-12-16 Peter Breitenlohner <[email protected]>
1436
1437 * am/pdftex.am (pdftex_version.h): Enable silent rules.
1438
1439 2012-11-05 Peter Breitenlohner <[email protected]>
1440
1441 * pdftex.web: Change program name into PDFTEX (not ETEX).
1442 * pdftex.ch: Remove the contents of ../tex-binpool.ch.
1443 * am/pdftex.am (pdftex_ch_srcs): Add tex-binpool.ch.
1444
1445 2012-10-19 Akira Kakuto <[email protected]>
1446
1447 * pdftoepdf.cc: In MSVC 5.0 getNewObjectNumber() requires an int
1448 return value.
1449
1450 2012-10-18 Peter Breitenlohner <[email protected]>
1451
1452 * pdftoepdf.cc: #include <w2c/config.h> early to avoid problems
1453 with the definition of boolean in <rpcndr.h> for MINGW32.
1454
1455 2012-10-09 Peter Breitenlohner <[email protected]>
1456
1457 The openbsd compat library is no longer used.
1458 * pdftoepdf.cc, ptexlib.h, utils.c:
1459 Drop #include "openbsd-compat.h".
1460 * am/pdftex.am, am/pdftosrc.am: Remove OBSDCOMPAT_*.
1461
1462 2012-10-02 Peter Breitenlohner <[email protected]>
1463
1464 Avoid (most) MinGW compiler warnings from regex code.
1465 * regcomp.c, regexec.c: ANSI C function definitions.
1466 * regcomp.c (init_dfa): Declare codeset_name as const.
1467 * regex_internal.c (re_string_reconstruct, re_dfa_add_node):
1468 Avoid unused variables (for !RE_ENABLE_I18N).
1469 * regexec.c (regexec, re_search_stub, prune_impossible_nodes):
1470 Avoid unused variables (for !_LIBC or !RE_ENABLE_I18N).
1471 (re_search_2_stub): Avoid cast const => non-const.
1472
1473 2012-09-03 Peter Breitenlohner <[email protected]>
1474
1475 * utils.c [WIN32] (printID): Convert file names '\\' -> '/'.
1476
1477 2012-08-25 Peter Breitenlohner <[email protected]>
1478
1479 * ttf2afm.c: Drop '#include <libgen.h>', we use xbasename().
1480 * ptexmac.h: Avoid C++ style comment.
1481
1482 2012-08-10 Peter Breitenlohner <[email protected]>
1483
1484 * ptexmac.h: Drop unused definition of M_PI & Co.
1485
1486 2012-08-08 Akira Kakuto <[email protected]>
1487
1488 * ptexlib.h: extern void writestreamlength(longinteger, longinteger);
1489 for largefile.
1490 extern void storepacket(internalfontnumber, integer, strnumber); to
1491 avoid a compiler warning.
1492 * utils.c: void writestreamlength(longinteger length, longinteger offset)
1493 for largefile.
1494 * vfpacket.c: void storepacket(internalfontnumber f, integer c, strnumber s)
1495 to avoid a compiler warning.
1496
1497 2012-08-03 Akira Kakuto <[email protected]>
1498
1499 * pdftex.web: Update eTeX_revision and eTeX_version_string.
1500
1501 2012-08-02 Peter Breitenlohner <[email protected]>
1502
1503 * pdftex.web: Adapt to e-TeX Version 2.5.
1504 * am/pdftex.am: Clarify *tex_version.h dependencies.
1505
1506 2012-07-28 Peter Breitenlohner <[email protected]>
1507
1508 * utils.c (initversionstring): Avoid using asprintf().
1509
1510 2012-07-19 Peter Breitenlohner <[email protected]>
1511
1512 * am/pdftex.am: Distribute pdftex_version.h.
1513 * pdftexextra.h: Use ../etexdir/etex_version.h.
1514
1515 2012-07-19 Peter Breitenlohner <[email protected]>
1516
1517 * writejbig2.c: Use LONGINTEGER_PRI instead of LONGINTEGER_PRId.
1518
1519 2012-07-15 Peter Breitenlohner <[email protected]>
1520
1521 * ttf2afm.c: Pass program name string to kpse_set_program_name.
1522
1523 2012-07-15 Akira Kakuto <[email protected]>
1524
1525 * pdftexextra.c: Must #define DLLPROC before reading pdftexd.h.
1526
1527 2012-07-14 Peter Breitenlohner <[email protected]>
1528
1529 * utils.c: Use EXIT_FAILURE instead of EX_SOFTWARE.
1530
1531 2012-07-13 Peter Breitenlohner <[email protected]>
1532
1533 * writejbig2.c: Cast xfseeko() arg2 to avoid MSVC warning.
1534
1535 2012-06-30 Peter Breitenlohner <[email protected]>
1536
1537 * pdftexextra.c [W32TeX]: #define DLLPROC for pdftex.dll.
1538
1539 2012-06-29 Peter Breitenlohner <[email protected]>
1540
1541 * utils.c [__MINGW32__]: #include <regex.h> as for Unix instead
1542 of <regex/regex.h>.
1543 * am/libpdftex.am (libpdftex_a_CPPFLAGS): Change accordingly.
1544
1545 2012-06-21 Peter Breitenlohner <[email protected]>
1546
1547 * pdftosrc.cc: Use XRef::getNumObjects instead of XRef::getSize,
1548 required for poppler >= 0.19.0.
1549
1550 2012-05-20 Thanh Han The <[email protected]>
1551
1552 * pdftex.defines (get/setimagegroupref): these replace imagegroupref.
1553 * ptexlib.h: likewise.
1554 * writeimg.c: define them, and check for page group
1555 without object number.
1556 * pdftex.web: change calls.
1557 * pdftoepdf.cc: more page-group changes.
1558 This is all related to http://bugs.debian.org/672951.
1559
1560 2012-05-11 Peter Breitenlohner <[email protected]>
1561
1562 * pdftex.web: Adapted to e-TeX Version 2.4.
1563
1564 2012-04-15 Karl Berry <[email protected]>
1565
1566 * pdftex.web (pdftex_revision, pdftex_version_string): 1.40.13.
1567
1568 2012-04-12 Thanh Han The <[email protected]>
1569
1570 * ttf2afm.c (print_str): new macro, replacing function.
1571 (escape_eol): new fn, replacing print_str, now returning a string.
1572
1573 * writettf.c (ttf_reindex_glyphs): use %n to sscanf forms
1574 uniABCD and index123.
1575
1576 * mapfile.c (suppress_warn): way to avoid dup warnings.
1577
1578 * pdftex.web (pdf_suppress_warning_dup_dest_code,
1579 pdf_suppress_warning_dup_dest_code): new primitives
1580 \pdfsuppresswarningdupdest and \pdfsuppresswarningdupmap.
1581 (get_pdf_suppress_warning_dup_map): new fn.
1582 (warn_dest_dup): check pdf_suppress_warning_dup_dest.
1583
1584 2012-04-11 Peter Breitenlohner <[email protected]>
1585
1586 * pdftex.web: Fixed a typo in TeX text (for e-TeX).
1587
1588 2012-01-18 Peter Breitenlohner <[email protected]>
1589
1590 * writejbig2.c (getstreamlen): Change type to `off_t'.
1591 Use LONGINTEGER_TYPE and LONGINTEGER_PRId for printing.
1592
1593 2012-01-11 Peter Breitenlohner <[email protected]>
1594
1595 Consistent support for large JBIG2 files.
1596 * writejbig2.c: Change type of various struct members, local
1597 variables and findstreamstart() from `long' or `unsigned long'
1598 to `off_t'. Do not use xfseek and xfseeko for the same file.
1599
1600 2011-12-16 Peter Breitenlohner <[email protected]>
1601
1602 * pdftex.web: Change type of pdf_ptr: longinteger => integer.
1603 * pdftex-common.h: Change type of pdfptr accordingly.
1604
1605 2011-12-15 Peter Breitenlohner <[email protected]>
1606
1607 * utils.c (getfiledump): Drop `off_t' cast from arg2 of fseek().
1608 * ttf2afm.c, writettf.c: Typo in comment.
1609
1610 2011-12-12 Peter Breitenlohner <[email protected]>
1611
1612 * writejbig2.h (removed): Declarations moved ...
1613 * writejbig2.c: ... to here. Declare most functions as static.
1614 * am/libpdftex.am (libpdftex_a_SOURCES): Remove writejbig2.h.
1615
1616 2011-10-11 Peter Breitenlohner <[email protected]>
1617
1618 * pdftosrc.cc: Always use new logic for Object Streams
1619 (for xpdf without patch-40-objectStream-support-for-pdftosrc).
1620
1621 2011-09-30 Peter Breitenlohner <[email protected]>
1622
1623 * wprob.test: New shell script to test for uninitialized line.
1624 * am/pdftex.am: Add the new test.
1625
1626 2011-09-30 Peter Breitenlohner <[email protected]>
1627
1628 * pdftosrc.test: Shell script for a new test.
1629 * tests/test-{13,15}.{pdf,xref} (new): Test input and expected
1630 output (from Hartmut Henkel <hartmut_henkel@gmx,de>).
1631 * am/pdftosrc.am: Adjust.
1632
1633 2011-07-25 Peter Breitenlohner <[email protected]>
1634
1635 * pdftoepdf.cc, pdftosrc.cc: #include <assert.h> for both xpdf
1636 and poppler.
1637
1638 2011-07-11 Peter Breitenlohner <[email protected]>
1639
1640 * pdftosrc.cc: Rewrite the Object Stream handling for poppler
1641 (or xpdf without patch-40-objectStream-support-for-pdftosrc).
1642
1643 * pdftoepdf.cc: Replace `#ifdef HAVE_GETPDFMAJORVERSION' by
1644 '#ifdef POPPLER_VERSION' for poppler >= 0.12.
1645
1646 2011-05-12 Peter Breitenlohner <[email protected]>
1647
1648 * writepng.c: #define PNG_FP_1 for libpng < 1.5.0.
1649
1650 2011-05-11 Peter Breitenlohner <[email protected]>
1651
1652 * writepng.c: Fix for 16bit images in pdf 1.4 (8bit) mode,
1653 from Hartmut Henkel. Expand the png_* macros introduced for
1654 libpng-1.2.x => 1.4.x => 1.5.x.
1655
1656 2011-05-09 Peter Breitenlohner <[email protected]>
1657
1658 * writepng.c: Fixes for libpng 1.5.2 copied/adapted from luaTeX.
1659
1660 2011-05-05 Karl Berry <[email protected]>
1661
1662 * pdftex.web (pdfTeX_banner): etex version before pdftex version.
1663 (pdftex_revision, pdftex_version_string): bump to 12.
1664 * pdftexextra.h (BANNER): change redundantly-specified banner
1665 again and again.
1666 (These changes approved by Thanh.)
1667
1668 2011-05-03 Peter Breitenlohner <[email protected]>
1669
1670 * pdftex.web, tex.ch0: Remove pdfeTeX_banner, no more pdfeTeX.
1671
1672 2011-05-02 Akira Kakuto <[email protected]> <[email protected]>
1673
1674 * pdftex.web: Append eTeX_version_string to pdfTeX_banner.
1675
1676 2011-05-02 Peter Breitenlohner <[email protected]>
1677
1678 Avoid "deprecated conversion from string constant to 'char*'"
1679 warnings from g++-4.4.
1680 Unfortunately both xpdf and poppler declare lots of function
1681 parameters as 'char *' that should actually be 'const char *'.
1682 Compiling just the parts required for TeX Live with g++-4.4
1683 yields >10000 such warnings for each of xpdf and poppler.
1684
1685 * pdftoepdf.cc, pdftosrc.cc: Cast string constants to 'char *'
1686 in order to avoid more such warnings when compiling pdfTeX.
1687
1688 2011-04-29 Karl Berry <[email protected]>
1689
1690 * all files: update copyright notices.
1691
1692 2011-04-07 Peter Breitenlohner <[email protected]>
1693
1694 * pdftex.web: Adapted to e-TeX Version 2.3.
1695
1696 2011-04-03 Peter Breitenlohner <[email protected]>
1697
1698 * pdftex.web: Adapt to ../etexdir/etex.ch: simplify e-pTeX.
1699
1700 * am/pdftex.am (etex_version.h): Derive from pdftex.web instead
1701 of ../etexdir/etex.ch.
1702
1703 2011-03-28 Peter Breitenlohner <[email protected]>
1704
1705 * am/libpdftex.am: Use AM_CFLAGS instead of libpdftex_a_CFLAGS.
1706 * am/pdftex.am: Use AM_CFLAGS instead of pdftex_CFLAGS.
1707 * am/ttf2afm.am: Use AM_CFLAGS instead of ttf2afm_CFLAGS.
1708
1709 2011-03-07 Peter Breitenlohner <[email protected]>
1710
1711 * utils.c (pdftex_fail, pdftex_warn): `program_invocation_name'
1712 has been renamed into `kpse_invocation_name'.
1713
1714 2011-01-31 Peter Breitenlohner <[email protected]>
1715
1716 * writepng.c: Remove png-1.2 cruft.
1717
1718 2011-01-31 Thomas Klausner <[email protected]>
1719
1720 * writepng.c: Fix to build with png-1.5 (and avoid `deprecated'
1721 warnings with png-1.4). The transformations part is removed on
1722 recommendation by John Bowler (a png developer).
1723
1724 2011-01-14 Peter Breitenlohner <[email protected]>
1725
1726 * pdftex.web: Adapt to ../etexdir/etex.ch:
1727 Mention \protected in error and help messages only when in
1728 in extended mode.
1729
1730 2011-01-11 Peter Breitenlohner <[email protected]>
1731
1732 * pdftex.mak, pdftex.mk (removed): Obsolete.
1733
1734 2011-01-08 Peter Breitenlohner <[email protected]>
1735
1736 * am/pdftex.am (pdftex_ch_srcs): Added enctex.ch.
1737
1738 2011-01-01 Peter Breitenlohner <[email protected]>
1739
1740 * pdftexextra.in: Renamed ...
1741 * pdftexextra.h: ... into this; #include {e,pdf}tex_version.h
1742 for {E,PDF}TEX_VERSION.
1743
1744 * pdftexextra.c (new): #include <pdftexd.h> and <lib/texmfmp.c>.
1745
1746 * am/pdftex.am: pdftexextra.[ch] are now distributed;
1747 create {e,pdf}tex_version.h instead of {e,pdf}tex.version.
1748
1749 2010-12-01 Peter Breitenlohner <[email protected]>
1750
1751 * writet1.c: Drop unreachable code (after pdftex_fail).
1752 Drop unused free_glyph_names() function.
1753
1754 2010-11-29 Peter Breitenlohner <[email protected]>
1755
1756 * writet1.c (t1_check_unusual_charstring): Drop unused variable.
1757
1758 2010-11-26 Peter Breitenlohner <[email protected]>
1759
1760 * writet1.c: Still more minor tweaks.
1761
1762 2010-11-26 Thanh Han The <[email protected]>
1763
1764 * writet1.c (t1_check_unusual_charstring): switch EOL to space
1765 before appending.
1766
1767 2010-11-26 Heiko Oberdiek <[email protected]>
1768
1769 * pdftex.web (Display the whatsit...): avoid erroneous return.
1770 http://sarovar.org/tracker/?func=detail&group_id=106&aid=4317&atid=493
1771
1772 2010-11-16 Peter Breitenlohner <[email protected]>
1773
1774 * pdftex.web (pdf_out_colorstack): There are no 'othercases'.
1775 Fix from Heiko Oberdiek <[email protected]>.
1776
1777 2010-11-14 Karl Berry <[email protected]>
1778
1779 * writet1.c: endless formatting tweaks.
1780
1781 2010-11-12 Peter Breitenlohner <[email protected]>
1782
1783 * writet1.c (load_enc_file): Bug fix (using glyph_names[256]).
1784
1785 * writet1.c: Formatting and other trivial changes, to reduce
1786 diffs against dvipsk's writet1.c.
1787
1788 2010-11-11 Thanh Han The <[email protected]>
1789
1790 * writet1.c (t1_check_unusual_charstring): new fn.
1791 (t1_subset_charstrings): call it. This resolves a bug reported by
1792 Knuth when there is a newline between the /CharStrings and the
1793 following number (dict size).
1794
1795 2010-09-29 Peter Breitenlohner <[email protected]>
1796
1797 * writeimg.c: Use png_get_*() instead of directly accessing
1798 fields of the png_info and png_ptr structs.
1799
1800 2010-09-28 Peter Breitenlohner <[email protected]>
1801
1802 * pdftex.test (new): Just testing 'pdftex -version'.
1803 * pdftexdir/am/pdftex.am: Adjusted.
1804
1805 2010-06-22 Peter Breitenlohner <[email protected]>
1806
1807 Prepare for libpng-1.4.x.
1808 * writepng.c: Define and use macros to access bit_depth and the
1809 other fields of the png_info and png_ptr structs.
1810
1811 2010-06-10 Peter Breitenlohner <[email protected]>
1812
1813 * am/pdftex.am (pdftex_cppflags): Add $(AM_CPPFLAGS).
1814 * am/ttf2afm.am (ttf2afm_CPPFLAGS): Add $(AM_CPPFLAGS).
1815
1816 2010-06-10 Peter Breitenlohner <[email protected]>
1817
1818 Reorganize web2c headers.
1819 * pdftoepdf.cc: #include <w2c/c-auto.h> instead of <c-auto.h>
1820 and <w2c/config.h> instead of "../config.h".
1821
1822 2010-06-07 Karl Berry <[email protected]>
1823
1824 * pdftex.web: (pdftex_version_string): let's be optimistic and
1825 drop the -beta.
1826
1827 2010-05-20 Peter Breitenlohner <[email protected]>
1828
1829 * pdftoepdf.cc: #include "../config.h" instead of <config.h>,
1830 required for Mac OS X Leopard.
1831
1832 2010-05-18 Peter Breitenlohner <[email protected]>
1833
1834 * pdftex.web: Adapt to ../etexdir/etex.ch:
1835 More error message with \protected, from Heiko.
1836
1837 2010-04-30 Peter Breitenlohner <[email protected]>
1838
1839 * pdftex-common.h (xstrdup): Remove decl (in <kpathsea/lib.h>).
1840 (pdfosmode): Declare as boolean as generated by Web2C.
1841 * pdftoepdf.h (deleted): Moved contents ...
1842 * pdftoepdf.cc: ... to here.
1843 #include "openbsd-compat.h" as early as possible.
1844 Add #include <kpathsea/lib.h> and drop decl of const_string.
1845 Avoid MINGW32's typedef of boolean, conflicting with the
1846 definition in <kpathsea/types.h>.
1847 * am/libpdftex.am: Adjusted.
1848
1849 * pdftex-common.h, writeimg.c (epdf_selected_page,
1850 epdf_num_pages, epdf_page_box): Change from integer to int.
1851 * pdftoepdf.cc: Remove '(int)' casts.
1852
1853 2010-04-29 Peter Breitenlohner <[email protected]>
1854
1855 * epdf.c, pdftoepdf.cc, writeenc.c: Change various function
1856 params, return values, and struct members from integer to int.
1857
1858 Avoid duplicate function prototypes in different headers.
1859 * epdf.c: Drop #include "inc-epdf.h".
1860 * inc-extra.h (deleted): Move prototypes ...
1861 * ptexlib.h: #include "pdftex-common.h", move some prototypes ...
1862 * epdf.h: #include "pdftex-common.h" instead of "inc-epdf.h" and
1863 "inc-extra.h", move some prototypes ...
1864 * image.h: Move some prototypes ...
1865 * pdftex-common.h (new): ... to here.
1866
1867 * epdf.h (deleted): Renamed ...
1868 * pdftoepdf.h (new): ... into this.
1869 * pdftex.web (pdf_last_byte): Changed type to eight_bits.
1870 * pdftoepdf.cc (notdef): Added (char *) cast.
1871 * pdftoepdf.h, ptexlib.h: Moved declarations from here ...
1872 * pdftex-common.h: ... to here, dropped a few unused ones.
1873 * am/libpdftex.am: Adjusted.
1874
1875 * pdftex-common.h: #define pdfosgetosbuf and pdfbeginobj as
1876 in pdftexcoerce.h (generated by Web2C).
1877 * pdftoepdf.cc: Use pdfbeginobj instead of zpdfbeginobj.
1878 * ptexmac.h: Use pdfosgetosbuf instead of zpdfosgetosbuf.
1879
1880 2010-04-28 Peter Breitenlohner <[email protected]>
1881
1882 * pdftex.web: Adapt to ../etexdir/etex.ch:
1883 Fixed the error message for improper use of \protected,
1884 reported by Heiko Oberdiek <[email protected]>.
1885
1886 2010-04-23 Peter Breitenlohner <[email protected]>
1887
1888 * epdf.h: #include <c-auto.h> instead of <web2c/c-auto.h> etc.
1889
1890 2010-04-22 Peter Breitenlohner <[email protected]>
1891
1892 * am/pdftex.am (EXTRA_DIST): Add etexdir/etex.ch.
1893 Use pdftexdir/etex.version instead of etexdir/etex.version.
1894
1895 2010-04-20 Peter Breitenlohner <[email protected]>
1896
1897 * ptexlib.h: Move extern declaration of ptexbanner to here
1898 from ../lib/lib.h (instatiated in ../lib/texmfmp.c).
1899
1900 2010-03-09 Peter Breitenlohner <[email protected]>
1901
1902 * ttf2afm.c: Use kpse_set_program_name(argv[0], NULL) instead of
1903 kpse_set_progname(argv[0]).
1904
1905 2010-02-14 Peter Breitenlohner <[email protected]>
1906
1907 * writet1.c (append_cs_return): Cast to byte * to avoid warning.
1908
1909 2010-02-01 Peter Breitenlohner <[email protected]>
1910
1911 * am/libpdftex.am (libpdftex_a_OBJECTS): Add dependency on
1912 $(ZLIB_DEPEND) and $(LIBPNG_DEPEND).
1913 * am/pdftex.am (pdftex_OBJECTS): Remove explicit dependency on
1914 $(ZLIB_DEPEND) alread implied by libpdftex.a.
1915
1916 2010-01-27 Peter Breitenlohner <[email protected]>
1917
1918 * avl.c (avl_copy): Proper handling of const.
1919
1920 2010-01-25 Peter Breitenlohner <[email protected]>
1921
1922 * am/libpdftex.am (libpdftex_a_CFLAGS): Enable compiler warnings.
1923
1924 Avoid most compiler warnings:
1925
1926 * ptexlib.h, writejbig2.h: ANSI C function prototypes.
1927 * avlstuff.c, mapfile.c, utils.c, vfpacket.c, writeenc.c,
1928 writefont.c, writeimg.c, writejbig2.c, writet1.c, writettf.c:
1929 ANSI C function definitions.
1930
1931 * avlstuff.c, mapfile.c, utils.c, writeenc.c, writefont.c,
1932 writejbig2.c, writepng.c, writet1.c, writettf.c: Declare
1933 functions as static.
1934
1935 * ptexlib.h: Add prototype for imagecolor().
1936 * inc-epdf.h: New file with prototypes for is_subsetable(),
1937 epdf_check_mem(), epdf_create_fontdescriptor(),
1938 epdf_mark_glyphs(), get_fd_objnum(), get_fn_objnum(), and
1939 embed_whole_font() ...
1940 * epdf.[ch]: ... removed from here.
1941 * epdf.[ch]: #include "inc-epdf.h".
1942 * inc-extra.h: New file with prototypes for stripzeros() and
1943 epdf_write_enc() ...
1944 * epdf.h: ... removed from here.
1945 * epdf.c, utils.c, writeenc.c: #include "inc-extra.h".
1946 * am/libpdftex.am (libpdftex_a_SOURCES): Add the new files.
1947
1948 * writejbig2.c: Avoid use of possibly uninitialized variables.
1949
1950 * utils.c, writefont.c, writet1.c, writettf.c:
1951 Declare various function params and args, local vars, and struct
1952 members as const.
1953
1954 * writet1.c (append_cs_return): Drop unused local variable 'k'.
1955
1956 * avlstuff.c (destroy_oentry, PdfObjTree_free),
1957 writet1.c (free_glyph_names):
1958 Skip unused static functions (via #if 0 ... #endif).
1959
1960 * utils.c (newcolorstack): Don't use value of xretalloc(),
1961 xretalloc(addr, n, t) already assigns the new pointer to addr.
1962
1963 * avl.c (avl_delete): Don't reuse const input param for
1964 non-const return value.
1965
1966 2010-01-19 Peter Breitenlohner <[email protected]>
1967
1968 * am/libpdftex.am: Add dependency on $(XPDF_DEPEND).
1969 * am/pdftosrc.am: Remove dependency on libpdftex.a.
1970
1971 2010-01-18 Peter Breitenlohner <[email protected]>
1972
1973 * epdf.c: Remove extern delaration of register_fd_entry().
1974 * pkin.c: Remove extern delaration of t3_file.
1975 * writet1.c: Remove extern delaration of fb_array.
1976 * writettf.c: Remove extern delarations of fb_array and
1977 charsetstr.
1978 * ptexlib.h: Add extern delarations of fb_array, t3_file, and
1979 register_fd_entry().
1980
1981 2009-12-12 Peter Breitenlohner <[email protected]>
1982
1983 * am/pdftex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P).
1984
1985 2009-12-06 Peter Breitenlohner <[email protected]>
1986
1987 * utils.c: Drop #ifdef HAVE_ASPRINTF and #include <stdio.h>.
1988
1989 2009-12-01 Peter Breitenlohner <[email protected]>
1990
1991 * NEWS, README: Update to version 3.1415926-1.40.10.
1992
1993 2009-10-07 Peter Breitenlohner <[email protected]>
1994
1995 * pdftoepdf.cc: Adapt to poppler-0.12.
1996
1997 * FIXME: epdf.h, ptexlib.h: Multiple prototypes for pdftex_fail,
1998 pdftex_warn, and probably others.
1999
2000 2009-10-07 Peter Breitenlohner <[email protected]>
2001
2002 * am/pdftex.am, am/ttf2afm.am: Enable compiler warnings.
2003
2004 * mapfile.c, ptexlib.h: Declare pdfinitmapfile() param string
2005 as const.
2006 * pdftex.ch (get_strings_started): Drop unused variables.
2007 * ttf2afm.c: All functions: ANSI C definition, declare as static.
2008 (ttf_fail): Declare as noreturn.
2009 (ttf_fail, ttf_warn, name_lookup, ttf_seek_tab, ttf_seek_off):
2010 Declare param strings as const.
2011 (get_kern_value): Comment out unused function.
2012
2013 2009-10-04 Peter Breitenlohner <[email protected]>
2014
2015 * pdftex.ch (do_extension): Recover variables unused by TeX.
2016
2017 2009-09-16 Thanh Han The <[email protected]>
2018
2019 * writettf.c: patch for TTC from Liu Yubao <[email protected]>
2020
2021 2009-09-06 Peter Breitenlohner <[email protected]>
2022
2023 * am/pdftex.am: Adapt to new makecpool with one argument.
2024
2025 2009-09-02 Peter Breitenlohner <[email protected]>
2026
2027 * am/libpdftex.am, am/pdftosrc.am: Prepare compiler warnings.
2028
2029 2009-08-20 Peter Breitenlohner <[email protected]>
2030
2031 * utils.c: #include <kpathsea/version.h> and drop extern decls.
2032
2033 2009-08-19 Peter Breitenlohner <[email protected]>
2034
2035 * am/ttf2afm.am (ttf2afm_DEPENDENCIES): Use default_dependencies.
2036
2037 2009-08-18 Peter Breitenlohner <[email protected]>
2038
2039 * am/pdftex.am: SyncTeX now integrated into ../texmfmp.h.
2040
2041 2009-08-16 Peter Breitenlohner <[email protected]>
2042
2043 * am/pdftex.am (pdf_tangle): Use tangle-sh.
2044 Adapt to tangle-sh and web2c-sh.
2045
2046 2009-08-13 Peter Breitenlohner <[email protected]>
2047
2048 * am/pdftex.am (pdftex_c_h): avoid to split the C code.
2049
2050 2009-08-12 Karl Berry <[email protected]>
2051
2052 * pdftex.web (sup_dest_names_size): increase to 500000;
2053 test document from Peter Abbott to Karl, 12 Aug 2009 12:24:43.
2054
2055 2009-07-13 Thanh Han The <[email protected]>
2056
2057 * mapfile.c: treat TTC fonts as TTF
2058 * writejpg.c: fix bitmap resolution
2059 * writettf.c: fix segfault for certain TTF fonts
2060 * pdftex.web: enable pk generation by default
2061
2062 2009-06-26 Thanh Han The <[email protected]>
2063
2064 * pdftex.web: bugfix from Hartmut: fix \pdfobj file {foo} for files
2065 foo that don't end with '\n'
2066
2067 2009-06-25 Peter Breitenlohner <[email protected]>
2068
2069 * epdf.h, ttf2afm.c, writet1.c:
2070 removed #include <kpathsea/c-proto.h>.
2071 * avlstuff.c, epdf.c: removed #include <kpathsea/c-proto.h> and
2072 #include <stdarg.h>.
2073
2074 2009-06-23 Peter Breitenlohner <[email protected]>
2075
2076 * avlstuff.c, epdf.c, ttf2afm.c, writet1.c: #include <stdarg.h>,
2077 not <kpathsea/c-vararg.h>.
2078
2079 2009-06-04 Karl Berry <[email protected]>
2080
2081 * am/pdftex.am (pdftex_LDADD): add libpdftex.a here.
2082 (pdftex_ldadd): remove it from here, so we do not try
2083 to link pdftosrc with it.
2084 Report from vvv, tlbuild mail 03 Jun 2009 21:45:00.
2085
2086 2009-05-07 Norbert Preining <[email protected]>
2087
2088 * pdftosrc.cc: add warning that poppler version doesn't support
2089 object streams.
2090
2091 2009-05-05 Peter Breitenlohner <[email protected]>
2092
2093 * pdftoepdf.cc, pdftosrc.cc, utils.c: adapt for poppler.
2094
2095 patches from Norbert Preining <[email protected]>
2096
2097 2009-02-18 Peter Breitenlohner <[email protected]>
2098
2099 * pdftoepdf.cc: Uninclude <config.h>, included later by "epdf.h".
2100
2101 2004-08-21 Peter Breitenlohner <[email protected]>
2102
2103 * pdfetex.ch2: Adapted to e-TeX version 2.2.
2104
2105 2004-08-26 Olaf Weber <[email protected]>
2106
2107 * pdfetexextra.in: File was renamed from pdftexextra.h; the
2108 current pdfTeX and e-TeX versions are substituted from
2109 ../pdftexdir/pdftex.version and ../etexdir/etex.version. Variant
2110 of code supplied by Peter Breitenlohner <[email protected]>.
2111
2112 * pdfetex.mk: Added rule to insert pdfTeX and e-TeX versions into
2113 pdfetexextra.h. Variant of code supplied by Peter Breitenlohner
2114 <[email protected]>.
2115
2116 2004-08-25 Olaf Weber <[email protected]>
2117
2118 * pdfetex.mk: vadjust.ch moved from pdfxtexdir to pdftexdir.
2119
2120 2004-08-17 Olaf Weber <[email protected]>
2121
2122 * pdfetex.mk: Resurrected etex.fix, there is again a need to
2123 include late-breaking changes.
2124
2125 2004-07-29 Peter Breitenlohner <[email protected]>
2126
2127 * pdfetex.ch[12]: Somewhat rearrange handling of kern and math
2128 nodes in order to reduce interference between eTeX and pdfTeX
2129 change files.
2130
2131 * pdfetex.ch1 (hlist_out): Keep full mixed direction typesetting
2132 code.
2133
2134 2004-07-25 Peter Breitenlohner <[email protected]>
2135
2136 * pdfetex.ch[12]: Reorganize additional command codes for convert
2137 and last_item in order to reduce interference between eTeX and
2138 pdfTeX change files.
2139
2140 2004-07-23 Peter Breitenlohner <[email protected]>
2141
2142 * pdfetex.ch[12], tex.ch[01]: Reorganize handling of banner
2143 string in order to reduce interference between eTeX, pdfTeX,
2144 and web2c change files.
2145
2146 2004-07-22 Peter Breitenlohner <[email protected]>
2147
2148 * pdfetex.ch[12]: Removed unused token types for pdfTeX's
2149 additional token list parameters.
2150
2151 2004-07-19 Peter Breitenlohner <[email protected]>
2152
2153 * pdfetex.ch[12], tex.ch0: Reorganize handling of additional
2154 token list and integer parameters and e-TeX's additional
2155 penalties in order to reduce interference between eTeX, pdfTeX,
2156 and web2c change files.
2157
2158 * pdfetex.mk (pdfetex.ch): Remove tex.ch2 from build rules.
2159
2160 * tex.ch2: Removed.
2161
2162 2004-07-17 Peter Breitenlohner <[email protected]>
2163
2164 * pdfetex.mk: Rewrite build rules for pdfetex.{web,ch},
2165 remove etex.{ch0,ch1,fix}, tex.ch2, and several non-dependencies.
2166
2167 * pdfetex.ch2: Adapt to eTeX changes.
2168
2169 * ChangeLog: New file.
2170
2171 (This file public domain.)