Debian Codegraph @

texk/dvipdfm-x/ChangeLog

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 2026-03-02 Karl Berry <[email protected]>
2
3 * TL'26 release.
4
5 2026-01-13 TANAKA Takuji <[email protected]>
6
7 * pst_obj.c: Check NULL pointer for a new ojbect.
8 * configure.ac: version 20260113.
9
10 2026-01-11 Hironori Kitagawa <[email protected]>
11 * pst.h: Increase PST_STRING_LEN_MAX to 32767
12 to avoid buffer overflow. Report from David Carlisle:
13 https://tug.org/pipermail/tex-live/2026-January/051972.html
14 https://tug.org/pipermail/dvipdfmx/2026-January/000393.html
15
16 2026-01-07 Karl Berry <[email protected]>
17
18 * configure.ac,
19 * xbb.c (show_version),
20 * dvipdfmx.c (show_version): copyright 2026, version 260107.
21
22 2025-04-13 Akira Kakuto <[email protected]>
23
24 * dvipdfmx.c: Reinstate an option -o - to send output to
25 standard output. This option has been disabled unintentionally
26 for a long time.
27
28 2025-04-10 Karl Berry <[email protected]>
29
30 * configure.ac: version 20250410.
31
32 2025-04-09 Karl Berry <[email protected]>
33
34 * pdfobj.c (pdf_get_object): fix possible seg fault in
35 object stream parsing. Report and patch from Shuqiao Zhang:
36 https://tug.org/pipermail/tex-live/2025-April/051444.html
37
38 * xdvipdfm-pdf.test: new test, for this (pdfobj) and the page
39 Group (pdfgroup) fix from Clerk Ma.
40 * Makefile.am (tests): add it.
41 * tests/xdvipdfm-pdfobj.xdv,
42 * tests/xdvipdfm-pdfgroup.dvi: new test input files.
43 * tests/rpki-ecosystem.drawio.pdf,
44 * tests/xdvipdfm-pdfgroup-0318.pdf: inclusion files for the tests.
45
46 2025-03-17 Clerk Ma <[email protected]>
47
48 * epdf.c (pdf_include_page): check for the page Group being NULL
49 before dereferencing it. (r74687)
50
51 2025-03-17 TANAKA Takuji <[email protected]>
52
53 * vf.c: Store combining characters in vitual fonts with indices
54 and save memories to fix issue reported by gbb 60166.
55 https://okumuralab.org/tex/mod/forum/discuss.php?d=3903
56 * configure.ac: version 20250317.
57
58 2025-03-14 Max Chernoff <[email protected]>
59
60 * pdffont.c: Switch to using only A-Z in the tag since numerical
61 digits are invalid per the PDF spec. Thanks to Yukimasa Morimi,
62 https://tug.org/pipermail/dvipdfmx/2025-March/000370.html
63
64 2025-03-13 Max Chernoff <[email protected]>
65
66 * dvipdfmx.c, dvipdfmx.h, pdffont.c: Use deterministic font names.
67 Report from Paulo Ney de Souza,
68 https://tug.org/pipermail/dvipdfmx/2025-March/000353.html
69
70 2025-03-07 Karl Berry <[email protected]>
71
72 * TL'25 release.
73
74 2025-02-22 Karl Berry <[email protected]>
75
76 * dvipdfmx-upjf3.test,
77 * xdvipdfm-bad.test: remove /tmp/dvipdfmx.* files created by these
78 tests. Report from Marc Baudoin,
79 https://tug.org/pipermail/tlbuild/2025q1/005642.html
80
81 This should be fixed within the dvipdfmx program and these
82 removals changed to tests that the temp files don't exist; see
83 https://tug.org/pipermail/dvipdfmx/2025-February/000351.html
84
85 En passant, set svn keywords for all *.test file,
86 for consistency.
87
88 2025-02-10 Karl Berry <[email protected]>
89
90 * data/dvipdfmx.cfg (V): now generate PDF 1.7 by default.
91 * tests/dvipdfmx.cfg: likewise.
92
93 2025-02-05 Clerk Ma <[email protected]>
94
95 * epdf.c: Fix page's opacity.
96
97 2025-02-02 Yukimasa Morimi <[email protected]>
98
99 * truetype.c: Fixed issues in embedded TrueType fonts (not CIDFont)
100 where incorrect character widths occurred when using 127 or more
101 glyphs, and where the 256th glyph was not displayed when using
102 full 256 glyphs.
103 * dvipdfmx-ttf0.test, cprm00.{dvi,tex}:
104 Add tests for TrueType fonts
105 from TANAKA Takuji <[email protected]>.
106 https://github.com/texjporg/tex-jp-build/issues/172
107 * configure.ac: version 20250202.
108
109 2024-11-18 Karl Berry <[email protected]>
110
111 * Makefile.am (bin_links): no longer make symlinks for ebb and
112 extractbb, as extractbb is now a separate package, reimplemented
113 in Lua: https://ctan.org/pkg/extractbb. This is because the
114 previous symlink to dvipdfmx could be exploited using -D.
115 (man1_links): likewise.
116 (install-bin-links, uninstall-bin-links) [WIN32]: likewise.
117
118 2024-10-20 TANAKA Takuji <[email protected]>
119
120 * dvipdfmx-lmr{0,1}.test, tests/UPJF-UTF16-{H,V},
121 tests/lm.map, tests/psfonts.map,
122 tests/lmr0.tex, tests/lmr0-{al,up}.dvi,
123 upjf_{full,omit}.{cnf,vf}, upjf1_{full,omit}.{vf,zvp0},
124 upjf2_full.{vf,zvp0}, upjv_{full,omit}.vf, Makefile.am:
125 Add tests for upTeX and OFM.
126 https://github.com/texjporg/tex-jp-build/issues/170
127
128 2024-10-19 TANAKA Takuji <[email protected]>
129
130 * dvipdfmx-upjf{,2,3}.test, tests/upjf.tex,
131 tests/upjf{,-{hara,ipa,noto}}.map, tests/Makefike_upjf:
132 Update tests. Search system texmf for tfm/otf fonts
133 if kpathsearch is installed in the system.
134
135 2024-09-22 TANAKA Takuji <[email protected]>
136
137 * tfm.c: More strict check to interpret OFM FONTDIR
138 as pTeX vertical writing.
139 https://github.com/texjporg/tex-jp-build/issues/170#issuecomment-2295037307
140 https://github.com/texjporg/tex-jp-build/issues/99
141 * configure.ac: version 20240922.
142
143 2024-05-18 TANAKA Takuji <[email protected]>
144
145 * dvi.c: Remove obsolete comments.
146 * dvipdfmx-upjf3.test, tests/upj{f,v}4_full.{vf,zvp0},
147 tests/upjf-ipa.map, tests/Makefile_upjf, Makefile.am: Add
148 a test for upTeX new encoding. It requires IPA MJ Mincho font.
149 https://github.com/texjporg/tex-jp-build/issues/46
150
151 2024-05-11 TANAKA Takuji <[email protected]>
152
153 * dvi.c: Ensure enc_name "UTF16" prior to encoding conversion
154 from UTF32 to UTF16.
155 * dvipdfmx-upjf3.test, tests/upjf3.{tex,dvi},
156 tests/upj{f,v}-h{u,i}.tfm,
157 tests/upj{f,v}3_full.{vf,zvp0}, tests/upjf-noto.map,
158 tests/Makefile_upjf, Makefile.am: Add a test for
159 upTeX new encoding. It requires Noto Hentaigana fonts.
160 https://github.com/texjporg/tex-jp-build/issues/46
161 * configure.ac: version 20240511.
162
163 2024-04-29 TANAKA Takuji <[email protected]>
164
165 * tfm.c: Fix segfaults.
166 * dvipdfmx-upjf2.test, tests/UPJF-UTF16-{H,V},
167 tests/upjf-hara.map: Update tests.
168 https://github.com/texjporg/tex-jp-build/issues/46
169 * configure.ac: version 20240429.
170
171 2024-04-27 TANAKA Takuji <[email protected]>
172
173 * tfm.{c,h}, vf.c: Support upTeX new encoding
174 for combining characters via virtual fonts.
175 * cidtype2.c: Enable to treat Combining Katakana-Hiragana
176 (Semi-)Voiced Sound Mark in cid_to_code().
177 * dvipdfmx-upjf2.test, tests/upjf2.{tex,dvi}, tests/upj{f,v}.pl,
178 tests/upj{f,v}-c.{pl,tfm}, tests/upjf1-r.{pl,tfm},
179 tests/upj{f,v}2_full.{vf,zvp0}, tests/upjf{,-hara}.map,
180 tests/Makefile_upjf, Makefile.am: Add a test for
181 upTeX new encoding. It requires HaranoAji fonts.
182 https://github.com/texjporg/tex-jp-build/issues/46
183 * configure.ac: version 20240427.
184
185 2024-04-09 TANAKA Takuji <[email protected]>
186
187 * dvipdfmx-incl.test, tests/multi_incl.{tex,dvi},
188 tests/sue-mp.pdf, Makefile.am:
189 Add tests for including images multiple times
190 from Hironori Kitagawa <[email protected]>.
191
192 2024-04-07 Yukimasa Morimi <[email protected]>
193
194 * pdfximage.c: fix an issue where the PDF becomes large when
195 inserting the same image multiple times.
196 https://github.com/texjporg/tex-jp-build/pull/169
197 * configure.ac: version 20240407.
198
199 2024-03-10 Karl Berry <[email protected]>
200
201 * TL'24 release.
202
203 2024-03-06 TANAKA Takuji <[email protected]>
204
205 * configure.ac: version 20240305.
206
207 2024-03-05 Max Chernoff <[email protected]>
208
209 * pdfximage.c (pdf_ximage_load_image): check that strcmp args
210 are not non-null. Report from Hartmut Henkel,
211 https://tug.org/pipermail/tex-live/2024-March/050136.html
212
213 2024-02-25 Max Chernoff <[email protected]>
214
215 * spc_util.{c,h}: Add "named" keyword to "pdf:image" special
216 * pdfdoc.{c,h}: Allow selecting a page by named destination
217 * {epdf,pdfximage,spc_pdfm,xbb}.{c,h}: Refactor to support above.
218
219 2024-02-10 Yukimasa Morimi <[email protected]>
220
221 * cidtype2.c, sfnt.h, tt_cmap.{c,h}:
222 Look up the TrueType cmap format 14 subtable when mapping CID to
223 Unicode Variation Sequence in new Adobe-Japan1-UCS2 CMap.
224 https://github.com/texjporg/tex-jp-build/issues/155
225
226 2024-02-10 TANAKA Takuji <[email protected]>
227
228 * cidtype2.c: Fix an issue on glyph conversion of
229 characters over BMP.
230 Add conversion between "FULLWIDTH YEN SIGN" and "YEN SIGN".
231 https://github.com/texjporg/tex-jp-build/issues/165
232 * configure.ac: version 20240210.
233
234 2024-02-05 Karl Berry <[email protected]>
235
236 * configure.ac,
237 * xbb.c (show_version),
238 * dvipdfmx.c (show_version): copyright 2024, version 20240205.
239
240 2023-11-24 Akira Kakuto <[email protected]>
241 * dpxutil.c: Calculate time zone offset in the same way as
242 in pdftex.
243 * configure.ac: version 20231124.
244
245 2023-11-18 Yukimasa Morimi <[email protected]>
246
247 * cidtype2.c, unicode.c: Support for new Adobe-Japan1-UCS2 CMap.
248 Ignore variation selectors, when mapping from CID to Unicode.
249 Converts CJK Unified Ideographs with variant selectors to
250 CJK Compatibility Ideographs, if possible.
251 https://github.com/texjporg/tex-jp-build/issues/155
252 * configure.ac: version 20231118.
253
254 2023-08-11 TANAKA Takuji <[email protected]>
255
256 * dpxfile.c: Avoid compiler warning on MinGW.
257 * xdvipdfm-{ann,bad,bb,bkm,psz,ptx,res,rev,ttc}.test,
258 xdvipdfmx.test, dvipdfmx-upjf.test:
259 Make easier to test on Windows.
260
261 2023-07-08 TANAKA Takuji <[email protected]>
262
263 * cidtype0.c, pdffont.c:
264 Replace multibyte characters <’> U+2019 by ASCII characters.
265
266 2023-04-29 TANAKA Takuji <[email protected]>
267
268 * {vf,tfm}.c:
269 Fallback multibyte characters in virtual fonts to
270 OFM fonts for (u)pTeX.
271 https://github.com/texjporg/tex-jp-build/issues/99
272 * configure.ac: version 20230429.
273 * dvipdfmx-upjf.test, Makefile_upjf, tests/upjf-r00.{ofm,opl},
274 tests/upjv-r00.{ofm,opl}, tests/upjf1-r.{tfm,pl},
275 tests/upjf1_{full,omit}.{vf,zvp0}, Makefile.am:
276 Add new tests for fallback virtual font to OFM.
277
278 The rule for virtual fonts (VF) fallback is extended:
279 If a VF has no entry of a codepoint and the first
280 MAPFONT designates an OFM for (u)pTeX, then we designate the
281 glyph (usually with a fullwidth metric) of the same codepoint
282 with the same metrics of the codepoint in the OFM.
283
284 2023-03-09 Karl Berry <[email protected]>
285
286 * TL'23 release.
287
288 2023-02-09 Karl Berry <[email protected]>
289
290 * xbb.c (show_version),
291 * configure.ac,
292 * dvipdfmx.c (show_version): copyright 2023.
293
294 2022-07-10 TANAKA Takuji <[email protected]>
295
296 * {dvipdfmx,spc_pdfm}.c, dpxconf.{c,h}, man/dvipdfmx.1:
297 Add a new option --pdfm-str-utf8 to make pdfmark and/or bookmark
298 by upLaTeX + hyperref/pdfcomment package + dvipdfmx without CMap.
299 * dvipdfmx-upjf.test, tests/Makefile_upjf, tests/upjf.dvi:
300 Add tests for the option --pdfm-str-utf8.
301 https://github.com/texjporg/tex-jp-build/issues/143
302 * configure.ac: version 20220710.
303
304 2022-06-15 Clerk Ma <[email protected]>
305
306 * cidtype2.c, tt_cmap.c: Support some TrueType fonts in macOS
307 which use 0-4 cmap.
308
309 2022-06-13 Akira Kakuto <[email protected]>
310
311 * pdfximage.c: Fix a bug due to an uninitialized variable
312 pointed out in
313 https://tug.org/pipermail/dvipdfmx/2022-June/000340.html.
314 (Windows only)
315
316 2022-04-06 TANAKA Takuji <[email protected]>
317
318 * {dvi,dvipdfmx,tfm}.c, dvi.h:
319 Warn if interpreting OFM FONTDIR as pTeX vertical writing
320 with option -v.
321
322 2022-03-21 Karl Berry <[email protected]>
323
324 * TL'22 release.
325
326 2022-02-27 TANAKA Takuji <[email protected]>
327
328 * dvipdfmx-upjf.test, Makefile.{am,in},
329 tests/Makefile_upjf,
330 tests/upjf-g00.{opl,ofm}, tests/upjv-g00.{opl,ofm}:
331 Add a new test for pTeX & OFM FONTDIR.
332
333 2022-02-24 TANAKA Takuji <[email protected]>
334
335 * dvipdfmx-upjf.test, Makefile.{am,in},
336 tests/Makefile_upjf, tests/upjv{,-r,-g}.tfm,
337 tests/upjf.{tex,dvi,map}, tests/upjv_{full,omit}.vf,
338 tests/UPJF-UTF16-V:
339 Add a new test for upTeX vertical writing.
340
341 2021-11-17 Akira Kakuto <[email protected]>
342
343 * spc_dvips.c: Realize PSTricks on XeTeX without -dNOSAFER,
344 in the way described in
345 https://tug.org/pipermail/dvipdfmx/2021-November/000308.html
346 * configure.ac: version 20211117.
347
348 2021-11-12 Karl Berry <[email protected]>
349
350 * dvipdfmx.c (show_usage): mention -i.
351 Change bug report line to CTAN package page, for more information.
352
353 2021-11-03 Naveen M K <[email protected]>
354
355 * Makefile.am (install-exec-hook) [WIN32]: install via libtool,
356 so as to install the real program, not just the libtool wrapper.
357 Found for msys2.
358 https://tug.org/pipermail/dvipdfmx/2021-October/000301.html
359
360 2021-10-29 Marcel Fabian Kr\"uger <[email protected]>
361
362 * cidtype0.c: Fix a bug that dvipdfmx segfaults when embedding
363 a CFF based OpenType font which does not contain a private
364 dictionary.
365 * configure.ac: version 20211029.
366
367 2021-10-16 Akira Kakuto <[email protected]>
368
369 * dvipdfmx.c: Fix a bug that the -r option was not effective,
370 as reported in
371 https://tug.org/pipermail/dvipdfmx/2021-September/000296.html.
372 * configure.ac: version 20211016.
373
374 2021-09-26 Akira Kakuto <[email protected]>
375 * pdfdev.c: Remove all my changes on 2021-03-04 and 2021-03-05
376 which were completely wrong.
377 * pkfont.c: Before calling kpse_find_glyph(ident, ...), remove
378 a suffix .pfb from the ident, if the suffix exists, because the
379 suffix prevents mktexpk to work right.
380 * configure.ac: version 20210926.
381
382 2021-06-09 Shunsaku Hirata <[email protected]>
383
384 * pdfencoding.c: Replace the changes made on 2021-06-02. The
385 segmentation fault problem was introduced by the changes in
386 rev.7557 which were not just problematic but also making it
387 unclear that it's not possible to freely choose which
388 encodings to use as the base encoding. Remove useless base
389 encoding entry which was causing the problem from the
390 pdf_encoding struct.
391 * configure.ac: Version 20210609.
392
393 2021-06-05 Shunsaku Hirata <[email protected]>
394
395 * pdfximage.c: Improved error messages when PDF/PS inclusion
396 fails. Output page numbers too.
397 * configure.ac: Version 20210605.
398
399 2021-06-02 Masamichi HOSODA <[email protected]>
400
401 * pdfencoding.c: Fix a segmentation fault on pdfencoding.
402 https://tug.org/pipermail/dvipdfmx/2021-May/000270.html
403 https://github.com/texjporg/tex-jp-build/issues/114
404
405 2021-05-31 Karl Berry <[email protected]>
406
407 * dvipdfmx.1: bug reporting address now [email protected]
408 (https://lists.tug.org/dvipdfmx).
409
410 2021-05-05 Akira Kakuto <[email protected]>
411
412 * pdfximage.c: Support non-ascii TMP and TEMP to call
413 Ghostscript.
414
415 2021-04-17 Akira Kakuto <[email protected]>
416
417 * pkfont.c: Remove all changes in 2020-12-14 and recover the
418 original pkfont.c.
419
420 2021-04-15 Akira Kakuto <[email protected]>
421
422 * tfm.c: Improve to find ofm files.
423
424 2021-04-03 Akira Kakuto <[email protected]>
425
426 * pkfont.c: Remove unnecessary changes made on 2020-12-14.
427
428 2021-03-23 Karl Berry <[email protected]>
429
430 * TL'21.
431
432 2021-03-18 Akira Kakuto <[email protected]>
433
434 * dvipdfmx.c: A bug in compat mode is found and fixed by
435 Christian Schenk:
436 https://tug.org/pipermail/tex-live/2021-March/046609.html
437 * configure.ac: Version 20210318.
438
439 2021-03-14 Akira Kakuto <[email protected]>
440
441 * dvipdfmx.c: Do not allow directory separators in an optarg
442 in an option -i optarg for security reason.
443
444 2021-03-05 Akira Kakuto <[email protected]>
445
446 * pdfdev.c: Correct the incomplete fix on 2021-03-04.
447 * pdffont.c: Avoid unnecessary warnings, reported in
448 https://tug.org/pipermail/dvipdfmx/2021-March/000242.html
449
450 2021-03-04 Akira Kakuto <[email protected]>
451
452 * pdfdev.c: Fix to call mktexpk with correct arguments when
453 pdftex.map is used and type1 font is not found.
454 Reported by Igor Liferenko:
455 https://tug.org/pipermail/dvipdfmx/2021-March/000241.html
456 * configure.ac: Version 20210304.
457
458 2021-02-12 Shunsaku Hirata <[email protected]>
459
460 * dvi.c: Fix a bug (segfault) that current_font is not checked
461 properly when catch_phantom=1.
462 * configure.ac: Version 20210212.
463
464 2021-01-31 Shunsaku Hirata <[email protected]>
465
466 * spc_misc.c: Processing of pdffontatrr special should be
467 delayed until the end of the document since the font may not
468 be loaded at the time this special is executed.
469
470 2021-01-26 Shunsaku Hirata <[email protected]>
471
472 * dvipdfmx.c: Set the runtime flag suppressing error messages
473 for kpathsea library when "-q" option is used.
474 * dvipdfmx.c, xbb.c: Update copyright year.
475 https://tug.org/pipermail/dvipdfmx/2021-January/000216.html
476
477 2021-01-24 Shunsaku Hirata <[email protected]>
478
479 * spc_misc.c: Add a compatibility special pdffontattr.
480 * configure.ac: Version 20210124.
481
482 2021-01-22 Shunsaku Hirata <[email protected]>
483
484 * cidtype0.c: Fix the VORG bug reported in
485 https://tug.org/pipermail/dvipdfmx/2021-January/000193.html
486 * configure.ac: Version 20210122.
487
488 2021-01-16 Shunsaku Hirata <[email protected]>
489
490 * pdfximage.c: Dvipdfmx behavior changed. Now it stops
491 processing and exits with non-zero exit status when image
492 inclusion fails.
493 * dvi.c: Ignore dvi_set with invalid gid when processing DVI
494 files created by dvilua[la]tex.
495 * dvipdfmx.c: Bump copyright year.
496 * configure.ac: Version 20210116.
497
498 2021-01-15 Shunsaku Hirata <[email protected]>
499
500 * dvi.c, dvipdfmx.c, pdfdoc.[ch]: Experimental support for
501 dviluatex extended fnt_def. Separate annot_grow (linkmargin)
502 for horizontal and vertical direction can be specified.
503 * configure.ac: Version 20210115.
504
505 2021-01-10 Shunsaku Hirata <[email protected]>
506
507 * cmap_read.c, t1_load.c: Fix a bug causing a segfault
508 reported as dvipdfmx-upjf.test test failure. Add missing size
509 tests for the data comparison.
510 https://tug.org/pipermail/tlbuild/2021q1/004765.html
511
512 2021-01-09 Shunsaku Hirata <[email protected]>
513
514 * cidtype0.c, cidtype2.c, pdffont.[ch], type0.c: Fix a bug
515 that vertical metrics are not written. Introduced in rev.56400.
516 * configure.ac: Version 20210109.
517
518 2020-12-16 Karl Berry <[email protected]>
519
520 * dvipdfmx.c (show_usage): -f loads an additional map file,
521 does not omit loading of default map(s).
522 https://tug.org/pipermail/dvipdfmx/2020-December/000146.html
523
524 2020-12-16 Shunsaku Hirata <[email protected]>
525
526 * spc_pdfm.c: Fix a bug introduced in rev.56265: When the
527 resource dictionary (of some resource category) is an indirect
528 object and then pdf:put operation is done against that
529 resource category, the operation fails. Now this situation is
530 taken into account. (The content of old resource is merged
531 into new one).
532 * configure.ac: Version 20201216.
533
534 2020-12-14 Akira Kakuto <[email protected]>
535
536 * pkfont.c: Fix an incorrect argument for mktexpk.
537 https://tug.org/pipermail/dvipdfmx/2020-December/000142.html.
538 * configure.ac: Version 20201214.
539
540 2020-11-11 Shunsaku Hirata <[email protected]>
541
542 * spc_html.c: Fix a bug that html-special was not working
543 after the changes introduced in rev.55722 (pdf:bann accepts a
544 reference ID).
545 * type0.c: Add pseudo-unique tag to ToUnicode CMap name again.
546 * configure.ac: Version 20201111.
547
548 2020-10-31 Shunsaku Hirata <[email protected]>
549
550 * pdfximage.c: Fix a bug that mps images are not reused when
551 they are included multiple times. Bug introduced by "Forward
552 reference" support added on 2020-07-21.
553 * configure.ac: Version 20201031.
554
555 2020-10-28 Shunsaku Hirata <[email protected]>
556
557 * cidtype0.c: Fix a bug that the conditional for deciding if
558 CIDSet should be written is inverted. CIDSet is deprecated in
559 PDF version 2.0.
560 * cidtype2.c, type1.c, type1c.c: Do not write CIDSet and
561 CharSet when the output PDF version is set to 2.0 or higher.
562 * configure.ac: Version 20201028.
563
564 2020-10-19 Shunsaku Hirata <[email protected]>
565
566 * cidtype0.c, cidtype2.c, type0.c: User defined CID-to-GID
567 PostScript CMap with filename of the form
568 REGISTRY-ORDERING-PSFontName can be loaded (if exist) for
569 mapping CIDs to GIDs. This feature can be used for directory
570 mapping CIDs to GIDs instead of
571 CID -> to-code CMaps -> TrueType cmap -> GID route.
572 * data/Adobe-Japan1-YuMincho-Regular: An example of CID-to-GID
573 CMap file.
574 * configure.ac: Version 20201019.
575
576 2020-10-14 Shunsaku Hirata <[email protected]>
577
578 * tt_cmap.c: Fix a bug that checking array indices is wrong.
579 * cidtype2.c: Warning message when CID is mapped to a sequence
580 of several Unicode characters is corrected. Fix a wrong
581 assumption introduced by xdvipdfmx.
582 * configure.ac: Version 20201014.
583
584 2020-10-08 Shunsaku Hirata <[email protected]>
585
586 * dvi.c: Fix problems introduced by the changes on 2020/10/03.
587 Fix a possible problem of invalid access. Fix a problem that
588 non-BMP characters are not handled properly for the "unicode"
589 encoding.
590 * spc_pdfm.c: pdf:bcolor and pdf:scolor accept both fill and
591 stroke color specified at the same time. Change the behavior
592 when an indirect object is specified for pdf:pageresources.
593 * configure.ac: Version 20201008.
594
595 2020-10-06 Akira Kakuto <[email protected]>
596
597 * spc_dvips.c: Add an option -dALLOWPSTRANSPARENCY in
598 GS_CALCULATOR to obtain correct results in PSTrics for XeTeX
599 in the case of newer Ghostscript such as gs-9.53.3.
600 Reported in
601 https://tug.org/pipermail/dvipdfmx/2020-October/000109.html
602
603 2020-10-06 Shunsaku Hirata <[email protected]>
604
605 * dvipdfmx.c: Fix a bug that printing output file name is wrong.
606 * dvi.c: Change XeTeX font handling. Convert glyph metrics to
607 an internal format at load time. Don't interpret type1
608 CharStrings again and again.
609 * configure.ac: Version 20201006.
610
611 2020-10-05 Karl Berry <[email protected]>
612
613 * man/dvipdfmx.1: update date.
614
615 2020-10-05 Shunsaku Hirata <[email protected]>
616
617 * man/dvipdfmx.1: Fix a problem in the man page as reported in
618 https://tug.org/pipermail/dvipdfmx/2020-October/000107.html.
619
620 2020-10-03 Shunsaku Hirata <[email protected]>
621
622 * cid.c, cid.h: Add "const" attribute to arguments fontmap_rec
623 and fmap_opt.
624 * cmap.c: Correct calculation of min-bytes and max-bytes. Fix
625 indentation.
626 * dvi.c, mpost.c, pdfdev.[ch], pdffont.[ch]: Simplify input
627 text handling. The "mapc" option is handled in dvi.c.
628 * configure.ac: Version 20201003.
629
630 2020-09-26 Shunsaku Hirata <[email protected]>
631
632 * pdfobj.c: Fix a bug that the max number of indirect objects
633 is wrongly set, causing a problem when too many indirect
634 objects are created.
635 * pdflimit.h: Add PDF_NUM_INDIRECT_MAX indicating the maximum
636 number of indirect objects which can be allocated as described
637 in PDF Ref. v.1.7 and ISO 32000-1.
638 * configure.ac: Version 20200926.
639
640 2020-09-24 Shunsaku Hirata <[email protected]>
641
642 * pdffont.c: Fix a bug introduced by the recent font related
643 changes which can cause a problem when there is a font
644 defined but not used.
645 * configure.ac: Version 20200924.
646
647 2020-09-22 Shunsaku Hirata <[email protected]>
648
649 * cid.[ch], cidtype0.[ch], cidtype2.[ch], pdfdev.c,
650 pdffont.[ch], pkfont.[ch], truetype.[ch], type0.[ch],
651 type1.[ch], type1c.[ch]: Revise font related code and largely
652 simplify it. Type0 and CIDFont now use the same struct as
653 simple fonts.
654 * Makefile.am, cid_p.h: Remove cid_p.h.
655 * pdfdraw.[ch]: Fix a bug in calculation of determinant.
656 Enable few functions for future improvement.
657 * dpxutil.c: Fix a bug in the roll operation.
658 * configure.ac: Version 20200922.
659
660 2020-09-07 Shunsaku Hirata <[email protected]>
661
662 * spc_misc.c: Fix a bug that the upper limit of stack id is wrong.
663 * Update copyright years and README. Remove outdated
664 information from README.
665
666 2020-09-06 Shunsaku Hirata <[email protected]>
667
668 * spc_pdfm.c: pdf:bcolor and pdf:scolor now accept new
669 keywords "fill" and "stroke" to indicate either of fill/stroke
670 color is specified.
671 * spc_misc.[ch], specials.[ch]: New special commands for
672 pdfcolorstack are added. This is a compatibility feature to
673 pdfcolorstack in pdftex.
674 * configure.ac: Version 20200906.
675
676 2020-09-05 Shunsaku Hirata <[email protected]>
677
678 * spc_pdfm.c: Workaround for an issue that occurs when an
679 indirect object (object reference) is used for a resource
680 dictionary entry in pdf:put command. The content of an already
681 existing resource dictionary is copied to the new dictionary.
682 * pdfobj.c, pdfdoc.c: pdf_indirect stores a pointer to the
683 object itself but there is no way to know if the object is
684 released. This can result in using junk pointers. To resolve
685 this issue, a list is added to record released indirect objects.
686 * configure.ac: Version 20200905.
687
688 2020-09-02 Shunsaku Hirata <[email protected]>
689
690 * pdfnames.c: Fix an incompatible behavior introduced by the
691 previous changes on the named object (rev.55887).
692 * configure.ac: Version 20200902.
693
694 2020-08-26 Shunsaku Hirata <[email protected]>
695
696 * spc_pdfm.c: Fix a bug exposed by the previous changes on the
697 named object (rev.55887). Remove unnecessary spc_flush_object.
698 * configure.ac: Version 20200826.
699
700 2020-08-16 Shunsaku Hirata <[email protected]>
701
702 * dpxutil.[ch]: Add stack operation.
703 * epdf.[ch], pdfdraw.[ch]: Revise Clip path support for PSTricks.
704 Revert changes related to "rectadd" introduced in rev.31262
705 and rev.31302 which cause non-conforming behavior in "clip"
706 operatation.
707 * dvi.[c], mpost.c, pdfdev.[ch], pdfdoc.[ch], pdfdraw.[ch],
708 spc_html.c, spc_misc.c. spc_pdfm.c, spc_xtx.c, specials.[ch]:
709 Revise bcontent support. Try to resolve various inconsistent
710 behaviors when special commnads are used within pdf:bcontent
711 and pdf:econtent. dev_coords and pt_fixee are removed from pdf
712 module and moved to specials.c.
713 * mpost.h, spc_html.h, spc_misc.h, spc_pdfm.h, spc_xtx.h:
714 Update copyright years.
715 * configure.ac: Version 20200816.
716
717 2020-08-08 Shunsaku Hirata <[email protected]>
718
719 * fontmap.[ch], pdffont.[ch], tt_aux.[ch], tt_cmap.[ch]:
720 Use uint32_t for TTC index.
721
722 2020-07-31 Shunsaku Hirata <[email protected]>
723
724 * cid.c: Avoid accessing array elements exceeding max array index.
725 * spc_pdfm.c: Check array elements also for to-unicode conversion.
726 * tt_cmap.c: Additional changes are required for the previous CMap name fix.
727
728 2020-07-29 Shunsaku Hirata <[email protected]>
729
730 * spc_pdfm.c: Improve codes in unicode conversion and
731 annotation rect calculation.
732 * spc_xtx.c: Add missing reset_xgstate().
733 * tt_cmap.c: Add wmode to auto-generated CMap names.
734
735 2020-07-28 Clerk Ma <[email protected]>
736
737 * pdfobj.c: Simple modifications for LIBDPX.
738
739 2020-07-26 Shunsaku Hirata <[email protected]>
740
741 * cmap_write.c: Change ariable names.
742 * dvipdfmx.c: Remove unused variables. Modify init sequence.
743 Page size specified as a command line option overwrites
744 settings specified by pagesize specials.
745 * pdfdev.[ch], pdfdoc.[ch], pdfencrypt.[ch], pdfobj.[ch]:
746 File static variables are now placed in a single struct.
747 * pdfparse.[ch], spc_pdfm.c: PDF parse object function is
748 called with a callback function to be called when an object of
749 unknown type is encountered.
750 * pdfximage.c: Do not include an unnecessary file.
751 * dpxconf.[ch], xbb.c: Add is_xbb in dpx_conf.
752 * dpxutil.[ch], dvi.c, dvipdfmx.c: Add dpx_util_read_length().
753 * configure.ac: Version 20200726.
754
755 2020-07-24 Shunsaku Hirata <[email protected]>
756
757 * cidtype0.c: Fix a bug introduced in rev.37144 that generated
758 CIDType0 font file is corrupt when the "force fixed-pitch"
759 option is enabled.
760 * pdfximage.c: "filename" was wrongly used for cached converted
761 PS images.
762
763 2020-07-21 Shunsaku Hirata <[email protected]>
764
765 * pdfdoc.[ch], pdfnames.[ch], pdfobj.c, pdfximage.[ch],
766 spc_dvips.c, spc_html.c, spc_misc.c, spc_pdfm.c, specials.c:
767 "Forward reference" of image objects is also supported.
768 Object reference by name is now available globally but not
769 only for the "special" module.
770 * configure.ac: Version 20200721.
771
772 2020-07-19 Shunsaku Hirata <[email protected]>
773
774 * pdfdraw.c: Avoid invoking gs operation for an empty ExtGState.
775
776 2020-07-18 Shunsaku Hirata <[email protected]>
777
778 * dvipdfmx.c, pdfximage.[ch]: Don't call ordinary functions
779 such as pdf_close_images() which can call ERROR() in
780 error_cleanup(). This can result in a recursive call of
781 error_cleanup().
782
783 2020-07-11 Shunsaku Hirata <[email protected]>
784
785 * pdfdev.c, pdfdoc.c, pdfdraw.[ch], pdfobj.[ch], spc_pdfm.c:
786 ExtGState can be manipulated with a dedicated stack.
787 Add new specials pdf:bxgstate and pdf:exgstate to push/pop
788 ExtGState into/from the stack.
789 * pdfcolor.c: Fix a bug that assignment was missing
790 in pdf_color_compare().
791 * configure.ac: Version 20200711.
792
793 2020-07-04 Shunsaku Hirata <[email protected]>
794
795 * pdfcolor.c, spc_util.c: Fix a bug in pdfcolor.c.
796 Add initialization of a variable and NULL pointer check.
797 * configure.ac: Version 20200704.
798
799 2020-07-02 Shunsaku Hirata <[email protected]>
800
801 * pdfdoc.c, spc_pdfm.c: Possible fix for a bug that pdf:btrans
802 inside pdf:bcontent and pdf:econtent does not work correctly.
803 Extend pdf:bann to accept a reference ID which can be used
804 later to refer the annotation dictionary object. When
805 line-breaks occur, it just points to the first annotation
806 dictionary of the line-breaking annotation series.
807
808 2020-06-28 Shunsaku Hirata <[email protected]>
809
810 * dvi.[ch], spc_dvipdfmx.c, spc_pdfm.c, specials.[ch]: Two new
811 special commands added as workarounds for \phantom text issue
812 in creating annotation (link). "pdf:xann" which extends the
813 current annotation area by a specified amount.
814 "dvipdfmx:catch_phantom" to control the behavior of dvipdfmx,
815 when this is set to true, then dvipdfmx extends the annotation
816 area when it encounters "horizontal movement" such as DVI
817 "right". Optionally height and depth of such area can be
818 specified (default: current font size for height and depth 0).
819 * pdfcolor.c: Change prefix for ColorSpace resource name to "XC".
820 * pdfdoc.c: Add missing release object.
821
822 2020-06-27 Shunsaku Hirata <[email protected]>
823
824 * pdfcolor.[ch], pdfdoc.c, pdfdraw.c, spc_util.c: An extension
825 to the color support. All color-spaces can be supported (only
826 for pdf: color commands). ColorSpace can be specified by a
827 name key (e.g. DeviceRGB) or an object reference which is a
828 reference to an object defining ColorSpace itself.
829 * configure.ac: Version 20200627.
830
831 2020-06-24 Akira Kakuto <[email protected]>
832
833 * dpxfile.c, pdfximage.c: Remove unnecessary changes on
834 2020-06-22.
835
836 2020-06-22 Akira Kakuto <[email protected]>
837
838 * dvipdfmx.c: Move dpx_delete_old_cache(image_cache_life)
839 because image caching did'nt work.
840 * dvi.c: Use MFOPEN() instead of fopen().
841 * dpxfile.c, pdfximage.c: Use generalized stat() to handle
842 UTF-8 names (Windows only).
843
844 2020-06-21 Shunsaku Hirata <[email protected]>
845
846 * tt_cmap.c: Lower priority for Soft-hyphen U+00AD when
847 generating ToUnicode CMap.
848 * tt_cmap.c, type1c.c: Cause an error when "CFF " table is not
849 found. (Possibly due to variable font which uses unsupported
850 "CFF2" table)
851
852 2020-06-09 Hironobu Yamashita <[email protected]>
853
854 * pdfdev.c: Another workaround for fake-bold issue.
855 (See changes 2019-06-30 and 2020-02-29)
856
857 2020-05-26 Akira Kakuto <[email protected]>
858
859 * dvi.c: Introduce rgba_used in order to indicate that
860 rgba_color for a XeTeX font is used or not. It enables full
861 range of opacity, 0-255.
862 * configure.ac: Version 20200526.
863
864 2020-05-10 TANAKA Takuji <[email protected]>
865
866 * vf.c: reduce message by '-v' less than by '-vv' for
867 fallback of virtual fonts.
868
869 2020-05-03 TANAKA Takuji <[email protected]>
870
871 * dvipdfmx-upjf.test, Makefile.{am,in},
872 tests/Makefile_upjf, tests/upjf{,-r,-g}.tfm,
873 tests/upjf.{tex,dvi,map}, tests/upjf_{full,omit}.vf,
874 tests/upjf_{full,omit}.cnf, tests/UPJF-UTF16-H:
875 Add a new test for fallback of virtual fonts.
876 * vf.c: Tweak debugging message for fallback of virtual fonts.
877
878 2020-03-27 Karl Berry <[email protected]>
879
880 * TeX Live 2020.
881
882 2020-03-15 TANAKA Takuji <[email protected]>
883
884 * tfm.c, tfm.h, vf.c: Fallback multibyte character
885 in virtual font for (u)pTeX.
886 * configure.ac: version 20200315.
887 https://github.com/texjporg/tex-jp-build/issues/99
888
889 A new rule for virtual fonts is implemented:
890 If a virtual font has no entry of a codepoint and the first
891 MAPFONT designates a (u)pTeX TFM(JFM), then we designate the
892 glyph (usually with a fullwidth metric) of the same codepoint
893 in the TFM(JFM) with the smallest font ID.
894 The new rule helps to shrink size of Japanese virtual fonts.
895
896 2020-02-29 Hironobu Yamashita <[email protected]>
897
898 * pdfdev.c: Revert the commit on 2019-06-30: see
899 https://tug.org/pipermail/tex-live/2020-February/044855.html.
900 Note that the problem with fake-bold reappears!
901 https://tug.org/pipermail/dvipdfmx/2019-June/000014.html.
902
903 2020-02-12 Akira Kakuto <[email protected]>
904
905 * dvipdfmx.c: Fix a potential bug in set_default_pdf_filename().
906 see https://tug.org/pipermail/tex-live/2020-February/044731.html
907
908 2020-02-06 Shunsaku Hirata <[email protected]>
909
910 * pdfobj.c: In pdf_new_string(), the supplied string was
911 checked and dvipdfmx aborted when it was NULL. This check
912 is removed since it is actually not necessary. The string is
913 regarded simply as an empty string if it is NULL from now on.
914 See https://tex.stackexchange.com/questions/522794/problem-in-updated-tex-live,
915 although we can't reproduce the problem.
916 * spc_pdfm.c: Add two pdftex specials which are basically
917 similar to the existing dvipdfmx special "pdf:literal",
918 "pdf:page:" and "pdf:direct:". It is not possible to test
919 properly since exact spec is unknown to us. Currently,
920 "pdf:direct:" is just an alias of "pdf:page:". It cannot be
921 properly implemented at present.
922
923 2020-01-24 Akira Kakuto <[email protected]>
924
925 * dvi.c: Forgot to null-terminate strings in the previous
926 changes.
927
928 2020-01-22 Akira Kakuto <[email protected]>
929
930 * dvi.c: Correct wrong sizes of opassword and upassword
931 in scan_special_encrypt().
932
933 2020-01-16 Karl Berry <[email protected]>
934
935 * xbb.c (show_version),
936 * dvipdfmx.c (show_version): copyright 2020.
937 * configure.ac: version 20200116 for TL'20.
938
939 2019-11-14 Akira Kakuto <[email protected]>
940
941 * mt19937ar.c: Add to support common font names in all
942 platforms when SOURCE_DATE_EPOCH is suitably set. A pseudo
943 random number generating program coded by Takuji Nishimura and
944 Makoto Matsumoto.
945 * README: Add a subject "11. Random number generating function".
946 * mem.h: Add "#define srand(x) init_genrand((x))", etc. because
947 it is the only common header file for dpxcrypt.c, pdfencrypt.c,
948 and pdffont.c, which use rand().
949 * Makefile.am: Add mt19937ar.c.
950 * configure.ac: Version 20191114.
951
952 2019-11-13 Akira Kakuto <[email protected]>
953
954 * spc_dvips.c: Add -dDELAYSAFER in GS_CALCULATOR because
955 SAFER mode became the default in the gs-9.50.
956
957 2019-09-08 Akira Kakuto <[email protected]>
958
959 * dvi.c: Show appropriate message if unsupported pfa
960 is used. Reported in
961 https://tug.org/pipermail/dvipdfmx/2019-September/000031.html.
962
963 2019-08-24 Shunsaku Hirata <[email protected]>
964
965 * dpxutil.c: Timezone offset is incremented by 1 hour if
966 tm_isdst > 0, as suggested in
967 https://tug.org/pipermail/dvipdfmx/2019-July/000017.html
968 * pdfcolor.c: Always output color change instruction when color
969 push/pop is invoked. Fix for the issue reported in
970 https://tug.org/pipermail/dvipdfmx/2019-August/000029.html
971 * configure.ac: Version 20190824.
972
973 2019-08-17 Shunsaku Hirata <[email protected]>
974
975 * pdfdoc.c, spc_pdfm.c: Workaround for some problems reported
976 in https://tug.org/pipermail/dvipdfmx/2019-August/000021.html.
977 Try to deref page resource dictionary when adding page resources.
978 Allow direct objects for page resources.
979 * configure.ac: Version 20190817.
980
981 2019-08-05 Shunsaku Hirata <[email protected]>
982
983 * pdfobj.c: Ignore zlib error while uncompressing data.
984 Z_DATA_ERROR is ignored when avail_in is 0.
985 Accepting some incorrectly written compressed data.
986 Reported by Jens Adam:
987 https://tug.org/pipermail/tex-live/2019-August/043983.html
988 * dvipdfmx.c: Fix a bug that 'm' option was broken.
989 This option must be processed before dvi_init().
990 Bug reported to TUG mailing list:
991 https://tug.org/pipermail/dvipdfmx/2019-July/000019.html
992 * configure.ac: Version 20190805.
993
994 2019-08-03 Shunsaku Hirata <[email protected]>
995
996 * tt_gsub.c: Fix a bug that OTL coverage data were not read and
997 were initialized to wrong values when LigatureSetCount was 0.
998 Similar issue is found also in alternate substitution.
999 Reported by Jens Adam:
1000 https://tug.org/pipermail/tex-live/2019-August/043983.html
1001
1002 2019-06-30 Shunsaku Hirata <[email protected]>
1003
1004 * pdfdev.c: Fix a bug that fake-bold is not handled properly
1005 in some situations as reported in
1006 https://tug.org/pipermail/dvipdfmx/2019-June/000014.html.
1007 When text rendering mode is changed within a text block which
1008 is enclosed by q and Q, the change does not affect subsequent
1009 text blocks. Current implementation of text handling is not
1010 robust so we may need to reconsider it.
1011
1012 2019-06-01 Shunsaku Hirata <[email protected]>
1013
1014 * unicode.c: Fix a bug that end of buffer check was wrong.
1015
1016 2019-05-26 Shunsaku Hirata <[email protected]>
1017
1018 * cmap_write.c, dvipdfmx.c, pdfdev.c, pdfdev.h, pdfdoc.c
1019 spc_dvips.c, spc_pdfm.c, truetype.c, xbb.c:
1020 Fix for compiler warnings.
1021 * tt_post.c: Add missing "*/" in a deactivated section.
1022 * system.h: "pragma warning" only when _MSC_VER is defined.
1023
1024 2019-05-22 Shunsaku Hirata <[email protected]>
1025
1026 * tt_gsub.c: Fix a bug that otl_gsub_read_alternate() and
1027 otl_gsub_read_ligature() exit loops wrongly for erroneous
1028 data, which leads to uninitialized values.
1029 Reported by Chih-Hsuan Yen:
1030 https://tug.org/pipermail/dvipdfmx/2019-May/000004.html.
1031 * configure.ac: Version 20190522.
1032
1033 2019-05-08 Akira Kakuto <[email protected]>
1034
1035 * dpxfile.c: Avoid buffer overflow.
1036
1037 2019-05-08 Shunsaku Hirata <[email protected]>
1038
1039 * spc_pdfm.c: Transformation also applies to annotations
1040 created by pdf:ann.
1041
1042 2019-05-07 Shunsaku Hirata <[email protected]>
1043
1044 * tt_cmap.c: Fix a bug that CFF charset data were not read.
1045 * unicode.c: Fix a bug that end-of-buffer calculation was
1046 wrong.
1047
1048 2019-05-05 Shunsaku Hirata <[email protected]>
1049
1050 * pdfdoc.c: g option affects only annotations created by
1051 "pdf:bann/eann" and html "a link" specials.
1052 Report from Joseph Wright:
1053 https://tug.org/pipermail/tex-live/2019-May/043612.html
1054
1055 2019-05-03 Shunsaku Hirata <[email protected]>
1056
1057 * specials.c: transformation applied to current point was not
1058 done properly.
1059
1060 2019-05-03 Akira Kakuto <[email protected]>
1061
1062 * dpxfile.c, mfileio.h, pdfximage.c: Support non-ascii file
1063 names in default code page of OS irrespective of values of a
1064 variable 'command_line_encoding' (Windows only).
1065
1066 2019-05-03 Shunsaku Hirata <[email protected]>
1067
1068 * pdfobj.c, pdfobj.h: Add support for ASCIIHex and ASCII85
1069 decode filter. Support for decoding stream data with multiple
1070 filters applied. Remove unused function.
1071 * tt_cmap.c, tt_gsub.[ch]: Revise ToUnicode CMap creation for
1072 OpenType. Use GSUB for mapping unencoded glyphs to Unicode
1073 (XeTeX support), lowering priority of CJK compatibility
1074 ideographs.
1075 * configure.ac: Version 20190503.
1076
1077 2019-04-07 Karl Berry <[email protected]>
1078
1079 * TeX Live 2019.
1080
1081 2019-04-01 Shunsaku Hirata <[email protected]>
1082
1083 * pdfencoding.c: Fix a bug that dvipdfmx wrongly tries to
1084 create ToUnicode CMap even when there is no valid mapping
1085 entry. It just results in "Invalid CMap" warning.
1086
1087 2019-03-30 Akira Kakuto <[email protected]>
1088
1089 * spc_xtx.c: "ap->curptr" was copied to "buffer" without
1090 length validation. Fix this security problem.
1091 * spc_pdfm.c: "ap->curptr" was copied to "buffer" without
1092 length validation. Fix this security problem.
1093 * specials.c: Error message was written using vsprintf(),
1094 which has no length limitation. Use vsnprintf() instead.
1095
1096 Report from Andy Nguyen of ETH Zurich.
1097
1098 2019-03-05 Clerk Ma <[email protected]>
1099
1100 * tt_table.c: Fix 'null character(s)' warning caused by
1101 fonts like Roboto (Android) or YuMincho (Windows 10).
1102
1103 2019-02-25 Hironobu Yamashita <[email protected]>
1104
1105 * tt_cmap.c (is_PUA_or_presentation):
1106 Skip also CJK Radicals Supplement, to lower the priority for
1107 double encoded glyphs. This does not break tounicode entries
1108 for glyphs which are only encoded in this region.
1109
1110 2019-02-25 Shunsaku Hirata <[email protected]>
1111
1112 * tt_post.c: Since OpenType ver. 1.7, PostScript glyph names
1113 more than 32767 are allowed for version 2.0 post table. Some
1114 minore fixes in chek of valid index range.
1115 * configure.ac: Version 20190225.
1116
1117 2019-02-23 Hironobu Yamashita <[email protected]>
1118
1119 * tt_post.c (tt_lookup_post_table): Fix a bug that the loop
1120 exceeds post->numberOfGlyphs (= the size of post->glyphNamePtr).
1121 https://github.com/texjporg/tex-jp-build/issues/74
1122
1123 2019-02-11 Karl Berry <[email protected]>
1124
1125 * configure.ac,
1126 * dvipdfmx.c: copyright 2019.
1127
1128 2019-02-10 Hironobu Yamashita <[email protected]>
1129
1130 * cidtype0.c, cidtype2.c: Fix typo.
1131
1132 2019-01-27 Shunsaku Hirata <[email protected]>
1133
1134 * spc_pdfm.c: Suppress a warning in tounicode special.
1135 Dvipdfmx had been giving a wrong warning when an optional
1136 argument to tounicode special is not supplied.
1137
1138 2018-12-27 Clerk Ma <[email protected]>
1139
1140 * pdfobj.c: Introduce a static variable pdf_output_file_stats
1141 for LIBDPX. It does not affect (x)dvipdfmx.
1142
1143 2018-12-21 Shunsaku Hirata <[email protected]>
1144
1145 * dvi.[ch], dvipdfmx.c, pdfdoc.[ch], pdfencrypt.[ch],
1146 spc_pdfm.c: Add a new special pdf:trailerid for directly
1147 specifying trailer ID.
1148 * spc_tpic.c, tfm.c, tt_gsub.c: Avoid compiler warning.
1149 * configure.ac: Version 20181221.
1150
1151 2018-10-12 Shunsaku Hirata <[email protected]>
1152
1153 * dvipdfmx.c: Fix a bug that landscape option is not handled
1154 properly.
1155 * configure.ac: Version 20181012.
1156
1157 2018-10-08 Shunsaku Hirata <[email protected]>
1158
1159 * mpost.c: Fix a bug in inline PS code handling.
1160 * dpxfile.c, pdfencrypt.c, type0.c: Avoid compiler warnings.
1161 * pdfobj.c: Fix a bug in (unused) TIFF predictor code.
1162 * configure.ac: Version 20181008.
1163
1164 2018-10-07 Simon Cozens <[email protected]>
1165
1166 * pdfobj.c: Clear static variables to allow PDF funcfions to
1167 be used more than once.
1168
1169 2018-10-02 Shunsaku Hirata <[email protected]>
1170
1171 * dvipdfmx.c: Fixed a bug in handling of command line option '-M'.
1172 * mpost.c: Fixed a bug in MetaPost generated PS files.
1173 Font selection had not been properly done for gsave/grestore.
1174 * configure.ac: Version 20181002.
1175
1176 2018-09-16 Shunsaku Hirata <[email protected]>
1177
1178 * dvi.[ch], dvipdfmx.c: Fixed a bug that papersize special does
1179 not work (introduced in the previous change). Command line
1180 options other than papersize now take precedence over special
1181 command options.
1182 * dpxconf.[ch], tt_aux.c: Moved always_embed flag to dpx_conf.
1183 * pdfencrypt.c: Fixed a bug that calculation of encryption key
1184 was not done properly for RC4 and revision 2-3 AES security.
1185
1186 2018-09-16 Shunsaku Hirata <[email protected]>
1187
1188 * dpxutil.[ch], dvi.[ch], dvipdfmx.c, pdfdoc.[ch], pdfencrypt.[ch],
1189 pdffont.[ch], xbb.c: Remove duplicated code. Reorganize
1190 initialization process. Use struct for passing options.
1191 * configure.ac: Version 20180916.
1192
1193 2018-09-14 Shunsaku Hirata <[email protected]>
1194
1195 * agl.[ch], bmpimage.c, cid.[ch], cidtype0.[ch], cidtype2.[ch],
1196 cmap.[ch], cmap_read.c, dpxconf.[ch], dpxfile.[ch], dvi.[ch],
1197 dvipdfmx.[ch], epdf.c, fontmap.[ch], jp2image.c, jpegimage.c,
1198 mpost.[ch], pdfcolor.[ch], pdfdev.[ch], pdfdoc.[ch], pdfdraw.c,
1199 pdfencoding.[ch], pdfencrypt.[ch], pdffont.[ch], pdfobj.[ch],
1200 pdfximage.[ch], pngimage.c, spc_pdfm.c, spc_util.[ch],
1201 specials.[ch], subfont.[ch], t1_char.c, tfm.[ch], truetype.c,
1202 tt_aux.[ch], tt_cmap.[ch], tt_gsub.[ch], type0.[ch], type1.c,
1203 type1c.c, vf.[ch], xbb.c: Cleanup. Remove duplicated code.
1204 Reorganize global variables.
1205 * configure.ac: Version 20180914.
1206
1207 2018-09-09 Karl Berry <[email protected]>
1208
1209 * xdvipfm-bb.test: LC_ALL=LANGUAGE=C.
1210
1211 2018-09-06 Shunsaku Hirata <[email protected]>
1212
1213 * pdfencoding.c: Reverted change made for 20071115.
1214 ToUnicode creation for simple font was broken. Not working
1215 as intended at all.
1216 * pdfdoc.c, epdf.c, pdffont.c: Rearranged code.
1217 * pdfobj.c: Added some debugging code.
1218 * configure.ac: Version 20180906.
1219
1220 2018-09-04 Shunsaku Hirata <[email protected]>
1221
1222 * pdfobj.c: More fix on circular reference issue.
1223 * configure.ac: Version 20180904.
1224
1225 2018-09-02 Shunsaku Hirata <[email protected]>
1226
1227 * dvi.c: Experimental support for XeTeX transparency font feature.
1228 * cid.c, cid_p.h, cidtype0.c, cmap.[ch], cmap_p.h, fontmap.[ch],
1229 pdfdev.c, pdffont.c, tt_cmap.[ch], type0.c:
1230 Removed reverse CMap mappings. Do not use cff charset data
1231 directly in pdfdev. Using reverse CMap for ToUnicode creation
1232 causes problems since input CMap can not be assumed to be
1233 always Unicode. Also, current implementation is imcomplete.
1234 * configure.ac: Version 20180902.
1235
1236 2018-08-28 Shunsaku Hirata <[email protected]>
1237
1238 * otl_conf.[ch]: Removed. This undocumented feature is no
1239 longer used.
1240 * Makefile.am: Update for otl_conf.[ch] removal.
1241
1242 2018-08-27 Shunsaku Hirata <[email protected]>
1243
1244 * jpegimage.c: Do not write application specific markers which
1245 are not necessary for displaying images.
1246 * pdfencrypt.c: Set a compatibility flag bit for PDF 2.0.
1247 * spc_pdfm.c: Fixed a bug that string objects are not handled
1248 properly in pdf:stream special. Additional dictionay keys can
1249 be specified for tounicode conversion.
1250 * configure.ac: Version 20180827.
1251
1252 2018-08-23 Shunsaku Hirata <[email protected]>
1253
1254 * type1.c: Add glyph names of component glyphs used by seac
1255 operator to CharSet string.
1256 * configure.ac: Version 20180823.
1257
1258 2018-08-21 Shunsaku Hirata <[email protected]>
1259
1260 * pdfobj.c: Fix for "infinite loop" detection. Now handles the
1261 case of circular reference properly.
1262 * pdfencrypt.c: Fixed bug that key size is not adjusted
1263 correctly.
1264 * configure.ac: Version 20180821.
1265
1266 2018-08-18 Shunsaku Hirata <[email protected]>
1267
1268 * cidtype2.c: Workaround for CIDSet issue. All glyphs
1269 including component glyphs and dummy glyphs except .notdef
1270 should be listed in CIDSet.
1271
1272 2018-08-17 Shunsaku Hirata <[email protected]>
1273
1274 * cmap_write.c, tt_cmap.[ch], type0.c: Fixed a bug that
1275 CMapName in CMap resource is not properly written.
1276 Not correctly handles PostScript name and string objects.
1277 Use CMapName constructed from font's BaseFont entry.
1278 * spc_pdfm.c, spc_pdfm.h, specials.c: Added new special command
1279 pdf:pageresources similar to pdfTeX \pdfpageresources
1280 primitive.
1281 * pdfencrypt.c: Adobe extension for AES 256-bit encryption is
1282 not necessary for PDF version 2.0.
1283
1284 2018-05-23 Akira Kakuto <[email protected]>
1285
1286 * dvi.c: First search for an input file with a suffix .xdv
1287 or .dvi. Report from Andreas Scherer:
1288 http://tug.org/pipermail/tex-k/2018-May/002882.html.
1289
1290 2018-05-16 Akira Kakuto <[email protected]>
1291
1292 * pdfparse.c: Revert. The changes on 2018-05-14 must be
1293 problematic. Again, kanji characters including 0x5c can't be
1294 used as names of image files in (e)-pTeX.
1295
1296 2018-05-14 Akira Kakuto <[email protected]>
1297
1298 * pdfparse.c: Allow image file names including 0x5c for
1299 (e)-pTeX in CP932-like system (Windows only).
1300
1301 2018-05-06 Akira Kakuto <[email protected]>
1302
1303 * tt_cmap.c: Revert a part of changes in 2017-12-09,
1304 which breaks to give tounicode entries for ligatures.
1305 http://tug.org/pipermail/tex-live/2018-May/041608.html.
1306 * configure.ac: Version 20180506.
1307
1308 2018-04-28 Stefan Br\"uns <[email protected]>
1309
1310 * pngimage.c: Fix a bug which causes a segfault with 1/2/4-bit
1311 transparent indexed PNGs.
1312 * configure.ac: Version 20180428.
1313
1314 2018-03-03 Akira Kakuto <[email protected]>
1315
1316 * xbb.c: Remove unused lines.
1317
1318 2018-03-02 Akira Kakuto <[email protected]>
1319
1320 * epdf.c, pdfobj.c, pdfobj.h: Remove multiple warnings.
1321
1322 2018-03-01 Hironobu Yamashita <[email protected]>
1323
1324 * pdfobj.c: Fix typo and improve a warning (incomplete fix).
1325
1326 2018-02-17 Shunsaku Hirata <[email protected]>
1327
1328 * cid.c, dpxfile.[ch], dvipdfmx.c, epdf.c, jp2image.c,
1329 jpegimage.c, pdfcolor.c, pdfencoding.c, pdfencrypt.c,
1330 pdflimits.h, pdfobj.[ch], pdfximage.c, pngimage.c,
1331 spc_dvips.c, spc_pdfm.c, spc_tpic.c, type0.c, xbb.c:
1332 Accept PDF version tag 2.0.
1333 * numbers.[ch], tfm.c: Remove format specific number
1334 representation from numbers.[ch].
1335 * configure.ac: Version 20180217.
1336
1337 2018-01-27 Hironobu Yamashita <[email protected]>
1338
1339 * tfm.c, number.[ch]: Support new JFM spec (3-byte characters
1340 in TYPE > 0).
1341
1342 2017-12-21 Akira Kakuto <[email protected]>
1343
1344 * jpegimage.c: If j_info->xdpi and j_info->ydpi are not
1345 determined in JPEG_scan_file(), they are assumed to be 72.0.
1346
1347 2017-12-09 Jiang Jiang <[email protected]>
1348
1349 * tt_cmap.c (is_PUA_or_presentation, add_to_cmap_if_used):
1350 Skip KANGXI RADICALs which are commonly double encoded.
1351 http://tug.org/pipermail/xetex/2017-June/027147.html
1352
1353 2017-10-02 Hironori Kitagawa <[email protected]>
1354
1355 * dvi.c: Initialize direction mode in clear_state(). See
1356 https://github.com/texjporg/tex-jp-build/issues/30
1357
1358 2017-09-18 Shunsaku Hirata <[email protected]>
1359
1360 * tt_gsub.c: Fixed a bug that only last specified OTL GSUB
1361 feature was enabled.
1362 * configure.ac: Version 20170918.
1363
1364 2017-08-25 Akira Kakuto <[email protected]>
1365
1366 * pdfximage.h, spc_pdfm.c: Remove MAX_IMAGES which is not
1367 needed.
1368
1369 2017-08-06 Shunsaku Hirata <[email protected]>
1370
1371 * dpxutil.[ch], epdf.c, pdfdoc.[ch], pdfximage.c, xbb.c:
1372 Support for /Rotate page attribute in PDF inclusion.
1373 * configure.ac: Version 20170806.
1374
1375 2017-06-27 Akira Kakuto <[email protected]>
1376
1377 * pdfdoc.c: Simplify the change in pdf_doc_get_page().
1378 * configure.ac: Change version number to distinguish from TL 2017.
1379
1380 2017-06-25 Akira Kakuto <[email protected]>
1381
1382 * pdfdoc.c: Discard the backward compatibility for pdf BoundingBox
1383 in pdf_doc_get_page(), to be consistent with the latex
1384 driver dvipdfmx.def.
1385
1386 2017-06-25 Shunsaku Hirata <[email protected]>
1387
1388 * tt_cmap.c: Fix a bug that different CMaps are not attached
1389 to each instances of font using different OpenType layout features.
1390 Fix a bug that ToUnicode support for substituted glyph was incomplete.
1391
1392 2017-06-24 Shunsaku Hirata <[email protected]>
1393
1394 * spc_pdfm.c: Remove unused variable attr in spc_handler_pdfm_image().
1395
1396 2017-05-19 Karl Berry <[email protected]>
1397
1398 * Version 20170318 for TeX Live 2017 release.
1399
1400 2017-05-08 Akira Kakuto <[email protected]>
1401
1402 * pdfdraw.c: Replace a small number 1.0e-8 by OUR_EPSILON = 2.5e-16,
1403 responding incompletely to
1404 http://tug.org/pipermail/tex-live/2017-May/040090.html.
1405
1406 2017-04-26 Paul Vojta <[email protected]>
1407
1408 * dvi.c, dvipdfmx.c, spc_html.c, spc_util.c: Support additional
1409 length units.
1410
1411 2017-04-16 Shunsaku Hirata <[email protected]>
1412
1413 * tt_cmap.c: Fix a bug that generation of GID to CID mapping for
1414 format 2 CFF charsets was wrong. "unicode" encoding support was
1415 broken for fonts using this format.
1416
1417 2017-04-15 Shunsaku Hirata <[email protected]>
1418
1419 * fontmap.c, tt_cmap.c, tt_gsub.c, tt_gsub.h, pdffont.c: Removed
1420 undocumented OpenType Layout GSUB support. Added simplified version of
1421 OpenType Layout GSUB support. Fontmap option "-l otl_tags" enables
1422 OpenType GSUB features specified by otl_tags, where otl_tags is a ":"
1423 separated list of OpenType Layout feature tags
1424 (or strings of script.language.feature form).
1425
1426 2017-04-12 Akira Kakuto <[email protected]>
1427
1428 * dvipdfmx.c: Fix a bug in static const char *optstrig.
1429
1430 2017-04-09 Shunsaku Hirata <[email protected]>
1431
1432 * tt_cmap.c: Vertical writing support had been broken since at some
1433 point of xdvipdfmx merge for "unicode" encoding. Apply vert/vrt2 GSUB
1434 feature when generating Unicode mapping.
1435
1436 2017-03-18 Karl Berry <[email protected]>
1437
1438 * xbb.c: update copyright years.
1439
1440 * xdvipdfm-bb.test: remove any ^%%Creat line, not just %%CreationDate.
1441 * tests/*.[x]bb: remove %%Creator: lines since they embed version.
1442
1443 2017-03-18 Akira Kakuto <[email protected]>
1444
1445 Bump version to 20170318 for TeX Live 2017.
1446
1447 2017-03-01 Akira Kakuto <[email protected]>
1448
1449 * dvipdfmx.c: Command line -p option wins papersize and pagesize
1450 specials, as dvips.
1451
1452 2017-02-17 Akira Kakuto <[email protected]>
1453
1454 * dvi.c: Add possibly forgotten braces.
1455
1456 2017-01-24 Akira Kakuto <[email protected]>
1457
1458 * jpegimage.c: Support Exif tags 0x5110, 0x5111, and 0x5112 in order to
1459 avoid warnings for some kind of jpeg images. Changes are borrowed from
1460 writejpg.w by Luigi in the recent LuaTeX.
1461
1462 2016-12-29 Hironobu Yamashita <[email protected]>
1463
1464 * cid_basefont.h: Add data for STHeiti-Regular-Acro, and correct
1465 several data.
1466
1467 2016-12-18 Akira Kakuto <[email protected]>
1468
1469 * dvi.c, dvi.h, dvipdfmx.c, mpost.c, pdfencoding.c, pdfobj.c,
1470 pdfparse.c, pdfparse.h, tt_cmap.c, type0.c, type1.c, vf.c, xbb.c:
1471 Merge libdpx by Clerk Ma at https://github.com/clerkma/ptex-ng.
1472
1473 2016-10-30 Akira Kakuto <[email protected]>
1474
1475 * pdffont.c, pdfobj.h: Use (time_t)-1 for INVALID_EPOCH_VALUE.
1476
1477 2016-10-05 Akira Kakuto <[email protected]>
1478
1479 * dpxfile.c: Use PATH_MAX instead of _MAX_PATH.
1480
1481 2016-10-03 Akira Kakuto <[email protected]>
1482
1483 * dpxfile.c: Sync with MikTeX.
1484
1485 2016-06-25 Shunsaku Hirata <[email protected]>
1486
1487 Modify to make PDF/A generation a bit easier.
1488 * pdfobj.c: Do not compress XMP Metadata.
1489 * cidtype2.c, type1.c, type1c.c: Always write CIDSet for CIDType2 and
1490 CharSet for Type1 font. Check consistency of glyph width.
1491
1492 2016-06-19 Shunsaku Hirata <[email protected]>
1493
1494 * dvipdfmx.c: Disable overriding "D" option setting from
1495 dvipdfmx:config special.
1496 * configure.ac: Change version from 20160307 to 20160619 in order to
1497 distinguish the new one from that in TeX Live 2016.
1498
1499 2016-05-20 Karl Berry <[email protected]>
1500
1501 * Version 20160307 for TeX Live 2016.
1502
1503 2016-05-10 Hironori Kitagawa <[email protected]>
1504
1505 * cidtype2.c: Fix bugs in horizontal-vertical mixed scripts by
1506 TrueType fonts.
1507
1508 2016-05-08 Masamichi HOSODA <[email protected]>
1509
1510 * dvi.c, dvipdfmx.c, dvipdfmx.h, special.c: Add new specials to handle
1511 command line options.
1512 * spc_dvipdfmx.c, spc_dvipdfmx.h: Add for the new specials.
1513 * Makefile.am, Makefile.in: Change for the added spc_dvipdfmx.c,
1514 and spc_dvipdfmx.h.
1515
1516 2016-05-06 Akira Kakuto <[email protected]>
1517
1518 * pdffont.c: Avoid to crash for too large a value of SOURCE_DATE_EPOCH.
1519 (w32 only).
1520
1521 2016-05-04 Akira Kakuto <[email protected]>
1522
1523 * pdfdoc.c, pdfencrypt.c, pdffont.c, pdfobj.h, xbb.c: Improve the
1524 support of SOURCE_DATE_EPOCH.
1525
1526 2016-05-02 Akira Kakuto <[email protected]>
1527
1528 * pdfdoc.c, xbb.c: Apply the patch by Alexis,
1529 http://tug.org/pipermail/tex-live/2016-May/038339.html
1530 for the support of SOURCE_DATE_EPOCH.
1531 * pdfencrypt.c: Use gmtime instead of localtime if SOURCE_DATE_EPOCH
1532 is given, to be consistent with the patch by Alexis.
1533
1534 2016-03-07 Karl Berry <[email protected]>
1535
1536 * man/dvipdfmx.1: .B not .b.
1537 Report on tex-k from esr, 29 Feb 2016 12:30:31.
1538
1539 2016-03-07 Akira Kakuto <[email protected]>
1540
1541 * configure.ac, tests/*.[bb,xbb]: Update version number to 20160307
1542 for TeX Live 2016.
1543
1544 2016-03-01 Akira Kakuto <[email protected]>
1545
1546 * dvipdfmx.c, dvipdfmx.h, mpost.c: Introduce a new option --mvorigin.
1547 The translation of the origin in MP inclusion by using dvipdfmx.def
1548 or xdvipdfmx.def is enabled only if the option --mvorigin is set.
1549
1550 2016-02-25 Akira Kakuto <[email protected]>
1551
1552 * dvipdfmx.c: Change the default value of pdfdecimaldigits from 2
1553 to 3, to be consistent with pdfTeX.
1554
1555 2016-02-24 Akira Kakuto <[email protected]>
1556
1557 * pdfdoc.c, pdfencrypt.c, pdffont.c, pdfobj.h, xbb.c: Support to output
1558 a unique pdf file from a unique xdv/dvi file. If an environment
1559 variable SOURCE_DATE_EPOCH is defined correctly like
1560 SOURCE_DATE_EPOCH=1456304783, the value is used as the current time,
1561 and if the name of the output pdf file is the same, its content is
1562 exactly unique.
1563
1564 2016-02-23 Masamichi HOSODA <[email protected]>
1565
1566 * pdfdoc.c: Support UTF-16 with null bytes as labels.
1567
1568 2016-02-23 Jonathan Kew <[email protected]>
1569
1570 * dvicodes.h, dvi.c, pdfdev.[ch]: Support xetex 0.99995 output
1571 (dvi format 7) that includes ActualText content.
1572
1573 2016-02-17 Akira Kakuto <[email protected]>
1574
1575 * spc_pdfm.c: Remaining fix for that on 2016-02-13.
1576
1577 2016-02-13 Akira Kakuto <[email protected]>
1578
1579 * spc_pdfm.c: Remove maybe-redundant code to obtain consistency
1580 between dvi (dvipdfmx) and xdv (xdvipdfmx) with respect to
1581 \special{pdf:dest...}.
1582
1583 2016-02-09 Jiang Jiang <[email protected]>
1584
1585 * dvi.c: Tweak skip_native_font_def() to make it handle more
1586 flags.
1587 * dpxutil.c: Remove a redundant check found by -Wall.
1588
1589 2016-02-09 Akira Kakuto <[email protected]>
1590
1591 * dvi.c: disable check_postamble() introduced by Peter, because
1592 features embolden != 0, slant != 0, and extend != 1 do not work.
1593
1594 2016-01-30 Akira Kakuto <[email protected]>
1595
1596 * tt_post.c: Check post->glyphNamePtr[gid] before an access
1597 in tt_get_glyphname(). Reported by Werner LEMBERG:
1598 http://tug.org/pipermail/tex-live/2016-January/037696.html.
1599
1600 2016-01-19 Akira Kakuto <[email protected]>
1601
1602 * dpxfile.c: Remove trailing directory separators if any in
1603 dpx_get_tmpdir().
1604
1605 2016-01-11 Shunsaku Hirata <[email protected]>
1606
1607 * pdfobj.c, mfileio.[ch]: Modification on handling of xref table.
1608 More permissive on treating white-spaces but more strict on
1609 handling tokens.
1610
1611 2016-01-07 Akira Kakuto <[email protected]>
1612
1613 * epdf.c: A typo in a message.
1614 * xbb.c: Change copyright year.
1615 * tests/: Change test data.
1616
1617 2016-01-06 Akira Kakuto <[email protected]>
1618
1619 * t1_load.c: Avoid to crash for unsupported type1 fonts as native fonts.
1620 * configure.ac: version 20160106.
1621 * almost all files: change Copyright year.
1622
1623 2016-01-04 Akira Kakuto <[email protected]>
1624
1625 * dvi.c: Symplify support of native type1 fonts in XeTeX.
1626
1627 2016-01-03 Akira Kakuto <[email protected]>
1628
1629 * dpxfile.c: Change \ to / for WIN32 also in the case where
1630 HAVE_MKSTEMP is defined (win32 only).
1631 * cff.h, dvi.c, t1_load.c: Improve the change made on 2015-08-05.
1632 The static function static int is_notdef_notzero() in dvi.c is removed.
1633
1634 2015-12-30 Shunsaku Hirata <[email protected]>
1635
1636 * epdf.[ch], pdfdoc.[ch], pdfximage.[ch],
1637 spc_{dvips,html,misc,pdfm,util}.c, spc_util.h: Don't use global variables
1638 for selecting boundary box. Cleanups.
1639
1640 2015-12-29 Shunsaku Hirata <[email protected]>
1641
1642 * dvipdfmx.c, dvi.c: Allow empty password in pdf:encrypt special.
1643 * dvipdfmx.c, pdfdoc.[ch], pdfobj.[ch]: Add option to disable Xref
1644 stream and object stream.
1645
1646 2015-12-28 Shunsaku Hirata <[email protected]>
1647
1648 * bmpimage.c, dvipdfmx.c, pdfobj.[ch], pngimage.c: Support for predictor
1649 functions for FlateDecode filter. PNG optimal and TIFF2 predictor functions
1650 are currently implemented. It solves the preblem that PNG images become
1651 sometimes larger in size when embedded in PDF file.
1652
1653 2015-12-26 Shunsaku Hirata <[email protected]>
1654
1655 * pngimage.c: Workaround for Adobe Potoshop generated PNGs which have
1656 cHRM chunk but not gAMA chunk.
1657 * agl.c, spc_pdfm.c, unicode.c, unicode.h: Addition of some
1658 Unicode related functions. Try conversion to UTF16BE only for string
1659 objects which can be considered as a valid Unicode text.
1660
1661 2015-12-24 Shunsaku Hirata <[email protected]>
1662
1663 * t1_load.c: Support for get/putinterval and get/put in encoding
1664 definition found in some Type1 fonts such as cmctt10.pfb.
1665
1666 2015-11-05 Karl Berry <[email protected]>
1667
1668 * data/dvipdfmx.cfg (D): add -dAutoRotatePages=/None.
1669 Suggestion/request from Akira, 4 Nov 2015 22:41:14.
1670
1671 2015-09-27 Akira Kakuto <[email protected]>
1672
1673 * dvipdfmx.c: Remove conditional error message in kpathsea_debug,
1674 since there should be no errors.
1675
1676 2015-08-25 Peter Breitenlohner <[email protected]>
1677
1678 * Most .c and .h files: Update Copyright years.
1679 Replace '(unsigned) long' by '(unsigned) int' or '(u)int32_t'
1680 except when needed with for ftell() and fseek().
1681
1682 2015-08-23 Peter Breitenlohner <[email protected]>
1683
1684 * agl.[ch], cid.[ch], cidtype0.[ch], cidtype2.[ch], cmap_p.h,
1685 cs_type2.[ch], dpxcrypt.[ch], dpxutil.[ch], dvi.c, fontmap.[ch],
1686 otl_conf.c, pdfcolor..[ch], pdfdev.h, pdfdoc.c, pdfencoding.c,
1687 pdfencrypt.[ch], pdfnames.[ch], pdfobj.[ch], sfnt.h, spc_pdfm.c,
1688 spc_xtx.c, truetype.c, t1_char.[ch], tt_cmap.[ch], unicode.[ch]:
1689 No reason to use 'long' for 32-bit integers.
1690
1691 * system.h: Moved #undef's for Win32 symbols from here ...
1692 * error.h, mpost.c: ... to here.
1693
1694 2015-08-21 Peter Breitenlohner <[email protected]>
1695
1696 * dvipdfmx.c (main): Drop CDECL.
1697 * agl.c, otl_opt.c, pdfencoding.c, pdfnames.c, pdfobj.c,
1698 t1_char.c, tt_cmap.c, tt_glyf.c:
1699 Replace 'static <TYPE> CDECL' => 'static inline <TYPE>'.
1700 * system.h: Drop __cdecl and CDECL.
1701
1702 2015-08-14 Peter Breitenlohner <[email protected]>
1703
1704 * pdfcolor.[ch]: Drop unused pdf_color_set_default().
1705
1706 * pdfdev.h: Drop pdf_dev_setfont() and pdf_dev_set_colormode().
1707
1708 * pdfdoc.[ch]: Drop unused pdf_doc_{end,make}_article().
1709 Declare pdf_doc_get_mediabox() as static.
1710
1711 * pdfdraw.h: Drop pdf_dev_{fill,eofill,stroke,fillstroke}(), and
1712 pdf_dev_grestoreall().
1713
1714 * pdfnames.[ch]: Declare printable_key() as static.
1715
1716 * pdfximage.h: Drop pdf_ximage_disable_ebb().
1717
1718 * tfm.[ch]: Drop tfm_get_space(). Skip tfm_string_{depth,height}.
1719
1720 * tt_table.[ch]: Declare tt_get_name() as static.
1721
1722 2015-08-14 Peter Breitenlohner <[email protected]>
1723
1724 * cff.[ch]: Declare cff_match_string() as static.
1725 * cff.h: Drop unused '#define cff_is_stdstr(s)'.
1726
1727 * cid.[ch]: Declare CIDFont_new(), CIDFont_release(),
1728 CIDFont_flush(), and CIDFont_cache_init() as static.
1729
1730 * cmap.[ch]: Declare CMap_match_codespace() as static.
1731 * cmap_write.h: Put '#if 0...#endif' around Map_ToCode_stream().
1732
1733 2015-08-13 Peter Breitenlohner <[email protected]>
1734
1735 * agl.[ch]: Declare agl_load_listfile() as static.
1736
1737 * cff_types.h: Drop unused type l_size.
1738
1739 * dpxutil.[ch]: Extern sputx(), getxpair(), putxpair(),
1740 ostrtouc(), and esctouc() moved from here ...
1741 * cmap_write.c: ... to here or ...
1742 * pst_obj.c: ... to here as static.
1743
1744 2015-08-12 Peter Breitenlohner <[email protected]>
1745
1746 * mpost.[ch]: Extern check_for_mp() moved from here ...
1747 * pdfximage.c: ... to here as static.
1748
1749 2015-08-05 Akira Kakuto <[email protected]>
1750
1751 * dvi.c: Introduce a new static function static int is_notdef_notzero()
1752 to fix the support of native type1 fonts. The t1disasm is required.
1753 The fix is intended as an intermediate one until more fine fix is given.
1754
1755 2015-08-03 Peter Breitenlohner <[email protected]>
1756
1757 * dvi.c: Better detection of bad (inconsistent) DVI files.
1758 * xdvipdfm-bad.test: New shell script to test bad DVI files.
1759 * tests/ids_2_6.dvi, tests/ids_3_2.dvi, tests/ids_a_b.dvi,
1760 tests/opc_fe.dvi, tests/ptx_2_2.dvi, tests/ptx_6_6.dvi,
1761 tests/rev_2_2.dvi, tests/rev_2_3.dvi, tests/void.dvi: New test
1762 input data (bad DVI files).
1763 * Makefile.am: Add the new test and input data.
1764
1765 2015-07-31 Peter Breitenlohner <[email protected]>
1766
1767 * dvipdfmx.c, xbb.c: Use getopt_long() for option parsing.
1768
1769 2015-07-30 Peter Breitenlohner <[email protected]>
1770
1771 * xdvipdfm-ptx.test: New shell script to test Ascii pTeX output.
1772 * xdvipdfm-rev.test: New shell script to test TeX-XeT output.
1773 * tests/ptex.dvi, tests/reverse.dvi: New test input data.
1774 * Makefile.am: Add the new tests and input data.
1775
1776 2015-07-29 Peter Breitenlohner <[email protected]>
1777
1778 * Makefile.am, ac/withenable.ac, configure.ac, dvipdfmx.c,
1779 xbb.c: Only one binary and a symlink dvipdfmx->xdvipdfmx.
1780 * ac/dvipdfm-x.ac (removed): Obsolete configure options.
1781 * dvipdfm*.test (removed): Obsolete tests.
1782 * tests/img*.{bb,bbx} (removed): Obsolete test data.
1783
1784 2015-07-29 Peter Breitenlohner <[email protected]>
1785
1786 Make dvipdfmx and xdvipdfmx essentially the same.
1787 * dvicodes.h: Slightly reformat.
1788 * dvi.c: Run-time decision to hanlde XeTeX extensions only for
1789 id_byte 6 and Ascii pTeX extension only for post_id_byte 3.
1790 * pdfdev.c: Remove '#ifdef XETEX' (one probably a mistake).
1791 * pdfdoc.c: New artbox handling only for XDV files (from XeTeX).
1792 * system.h: Drop redundant #include <kpathsea/c-auto.h>.
1793
1794 2015-07-28 Peter Breitenlohner <[email protected]>
1795
1796 * pdfdoc.c: Somewhat simplify to avoid compiler warnings.
1797
1798 2015-07-22 Akira Kakuto <[email protected]>
1799
1800 * epdf.c. pdfdoc.c, pdfobj.h, pdfximage.c, spc_pdfm.c, spc_util.c, xbb.c:
1801 Support pagebox=artbox etc. in PDF inclusion. It works with a new
1802 dvipdfmx.def. Thanks Y. Terada.
1803
1804 2015-07-18 Akira Kakuto <[email protected]>
1805
1806 * epdf.c, pdfobj.c: Try to embed a PDF image, even if the PDF version
1807 is newer than the setting.
1808
1809 2015-07-08 Simon Cozens <[email protected]>
1810
1811 * pngimage.c: Fixed a typo "XObjcect" => "XObject".
1812
1813 2015-07-07 Peter Breitenlohner <[email protected]>
1814
1815 * Makefile.am: Better dependencies for 'make check'.
1816 * ac/dvipdfm-x.ac: Fixed a typo.
1817 * xdvipdfmx.test: Fixed a typo.
1818
1819 2015-07-06 Peter Breitenlohner <[email protected]>
1820
1821 * dpxcrypt.c: Bugfix: Replace byte => uint8_t.
1822 * dpxcrypt.[ch]: Replace u{8,32,64} => uint{8,32,64}_t.
1823 * pdfencrypt.c: Declare pdf_enc_init() as static.
1824 drop useless cast (const char *) => (char *).
1825 * unicode.h: Drop unnecessary #include <inttypes.h>.
1826
1827 2015-07-04 Shunsaku Hirata <[email protected]>
1828
1829 * jpegimage.c: Use size_t, uint32_t,... instead of short/long int.
1830 * dpxcrypt.c/h, dvi.c/h, pdfencrypt.c/h, dvipdfmx.c, pdfobj.c:
1831 Add AES encryption support in PDF ecryption.
1832 * pngimage.c : Support images with 16 bit depth.
1833 * unicode.c/h: Add UTF-8 decoding function.
1834
1835 2015-05-23 Jiang Jiang <[email protected]>
1836
1837 * dvi.c: Fix Type1 font encoding and metrics.
1838
1839 2015-05-21 Karl Berry <[email protected]>
1840
1841 * version 20150515 for TL'15.
1842
1843 2015-05-06 Akira Kakuto <[email protected]>
1844
1845 * dvi.c: Do not identify Type1 fonts as TrueType or OpenType.
1846
1847 2015-05-04 Peter Breitenlohner <[email protected]>
1848
1849 * cidtype0.c: Avoid compiler warnings:
1850 (CIDFont_type0_get_used_chars, CIDType0Error_Show,
1851 CIDFontInfo_init, CIDFontInfo_close, -CIDType0Error,
1852 CIDFont_type0_add_CIDSet): Declare as static.
1853 (CIDFont_type0_add_CIDSet): Initialize num_glyphs, last_cid.
1854 (CIDFont_type0_open): Always initialize sfont, drop unused.
1855
1856 2015-05-01 Akira Kakuto <[email protected]>
1857
1858 * cidtype0.c: Support old compilers.
1859
1860 2015-05-01 Jiang Jiang <[email protected]>
1861
1862 * cidtype0.c, cidtype0.h, cid.c: Combine all Type 0 open functions
1863 into one. Simplify some implementations.
1864
1865 2015-04-27 Jiang Jiang <[email protected]>
1866
1867 * cidtype0.c: Fix TTC support for Type 1 Composite and Type 0 fonts.
1868
1869 2015-04-27 Jiang Jiang <[email protected]>
1870
1871 * dpxfile.c: Ignore empty file in filetype checking.
1872
1873 2015-04-26 Jiang Jiang <[email protected]>
1874
1875 * cidtype0.c, cidtype2.c: Support loading CID type 0 font from
1876 TrueType Collection.
1877
1878 * truetype.c: Fix offset in offset for TrueType loading.
1879
1880 2015-04-25 Jiang Jiang <[email protected]>
1881
1882 * cff_dict.c: Be more permissive in CFF dict parsing, fix Yuppy SC
1883 and Yuppy TC fonts support.
1884
1885 2015-04-25 Jiang Jiang <[email protected]>
1886
1887 * sfnt.c: Fix Mac TrueType font support.
1888 bug found by Richard Koch <[email protected]>.
1889
1890 2015-04-21 Peter Breitenlohner <[email protected]>
1891
1892 * dvi.c, tt_cmap.c: Fixed a dfont bug, from Akira,
1893 bug found by Dohyun Kim <[email protected]>.
1894
1895 2015-04-19 Shunsaku Hirata <[email protected]>
1896
1897 * pngimage.c: Ask libpng to do gamma correction with assumed
1898 screen gamma 2.2.
1899
1900 2015-04-12 Shunsaku Hirata <[email protected]>
1901
1902 * pdfobj.c: Fix some problems in reading cross-reference streams.
1903 * pngimage.c: Support PNG gAMA chunk.
1904 * jpegimage.c: Various fixes in handling JPEG Exif data
1905 (possible overflow and buffer overrun), adjusting indent and spaces.
1906 * jp2image.c: JPEG2000 opacity channel support.
1907 * pdfcolor.c: Update for PDF 1.7 in pdfcolor.c.
1908
1909 2015-04-05 Shunsaku Hirata <[email protected]>
1910
1911 * pngimage.c: XMP Metadata support for PNG images.
1912
1913 2015-03-27 Peter Breitenlohner <[email protected]>
1914
1915 * mfileio.[ch]: Use mfgets() parameters as for fgets().
1916
1917 2015-03-24 Peter Breitenlohner <[email protected]>
1918
1919 * bmpimage.c, dpxcrypt.c, dvi.c, fontmap.[ch], jpegimage.c,
1920 pdfcolor.[ch], pdfdev.[ch], pdfdoc.c, pdfdraw.c, spc_tpic.c,
1921 spc_util.c, spc_xtx.c, xbb.c: Copyright "2014" => "2015".
1922
1923 2015-03-24 Akira Kakuto <[email protected]>
1924
1925 * dvipdfmx.c: Change "Copyright (C) 2002-2014" to
1926 "Copyright (C) 2002-2015".
1927
1928 2015-03-17 Khaled Hosny <[email protected]>
1929
1930 * pdfcolor.c, pdfcolor.h, pdfdoc.c, pdfdraw.c, spc_util.c: Add spot
1931 colors support, based on patch by Apostolos Syropoulos.
1932
1933 2015-03-15 Khaled Hosny <[email protected]>
1934
1935 * tests/*.{bb,xbb}: Update version number.
1936
1937 2015-03-15 Karl Berry <[email protected]>
1938
1939 * configure.ac: version 20150315 for TL'15.
1940
1941 2015-03-12 Akira Kakuto <[email protected]>
1942
1943 * jpegimage.c: Fix a bug introduced by me on 2015-02-16.
1944
1945 2015-03-01 Shunsaku Hirata <[email protected]>
1946
1947 * spc_tpic.c: Make tpic "ar" command dvips compatible to fix the problem
1948 that an excess line is drawn when "ar" command is used along
1949 with dvips transformation commands.
1950
1951 2015-02-25 Peter Breitenlohner <[email protected]>
1952
1953 * fontmap.h (pdf_insert_native_fontmap_record): Declare also
1954 without '#ifdef XETEX'.
1955 * fontmap.c (pdf_insert_native_fontmap_record): Define also
1956 without '#ifdef XETEX'; drop redundant test for path==NULL.
1957
1958 2015-02-24 Peter Breitenlohner <[email protected]>
1959
1960 * dvi.c (dvi_locate_native_font): Avoid sprintf() buffer overrun.
1961
1962 * dvi.c (dvi_locate_native_font): Fix a small memory leak.
1963
1964 2015-02-21 Khaled Hosny <[email protected]>
1965
1966 * dvi.c (dvi_locate_font, dvi_locate_native_font): make sure the
1967 all members of loaded font struct are initialized, avoid crash in
1968 dvi_close for simple fonts because hvmt member is not initialized.
1969 Fixes the xdvipdfmx-bkm test.
1970 * dvi.c (dvi_locate_native_font): fix loading files without absolute
1971 paths.
1972 * dvi.c (dvi_locate_native_font): fix loading TTC fonts.
1973 * xdvipdfm-ttc.test, tests/ttc.dvi, tests/ttc.tex, tests/test.ttc,
1974 Makefile.am: new test.
1975 * dvi.c (dvi_locate_native_font): correctly load vertical glyph
1976 metrics.
1977 * configure.ac, Makefile.am: drop FreeType dependency.
1978 * dvi.c, fontmap.c, fontmap.h: remove the nonop pdf_load_native_font.
1979 * fontmap.c, fontmap.h (pdf_insert_{native_}fontmap_record): return
1980 the newly inserted record.
1981 * dvi.c: adapt.
1982
1983 2015-02-21 Akira Kakuto <[email protected]>
1984
1985 * dvi.c: Read glyph advances without the need for FreeType, based on
1986 patch by Clerk Ma.
1987 * fontmap.c, fontmap.h: Stop loading FreeType fonts.
1988
1989 2015-02-16 Akira Kakuto <[email protected]>
1990
1991 * jpegimage.c: Fix jpeg_get_density().
1992
1993 2015-01-07 Akira Kakuto <[email protected]>
1994
1995 * bmpimage.c, dpxcrypt.c, dvi.c: Avoid compiler warnings.
1996
1997 2015-01-07 Khaled Hosny <[email protected]>
1998
1999 * pdfdev.c (pdf_dev_reset_fonts): don't reset text_state.bold_param
2000 unless called for a new page, otherwise we "forget" that the last font
2001 was a fake bold font and don't reset text stroke when this function
2002 gets called immediatly after a fake bold font is used
2003 (https://sourceforge.net/p/xetex/bugs/105/).
2004 * pdfdev.h, pdfdoc.c, pdfdraw.c, spc_xtx.c: adapt.
2005
2006 2014-12-03 Akira Kakuto <[email protected]>
2007
2008 * xbb.c: Support to specify a page in a multi-page PDF to extract
2009 bounding box, usage: extractbb -p page foo.pdf.
2010
2011 2014-12-01 Karl Berry <[email protected]>
2012
2013 * data/dvipdfmx.cfg (D): add back -sPAPERSIZE=a0, needed for
2014 pstricks under xetex; retain -dEPSCROP, needed for negative llx/lly.
2015 From Akira, thread at
2016 http://tug.org/pipermail/xetex/2014-November/025664.html.
2017
2018 2014-11-29 Peter Breitenlohner <[email protected]>
2019
2020 * dvipdfmx.test, xdvipdfmx.test: Also test --showpaper option.
2021
2022 2014-11-29 Akira Kakuto <[email protected]>
2023
2024 * dvipdfmx.c, dpxconf.c, dpxconf.h: Add an option --showpaper which
2025 shows available paper formats and exits.
2026
2027 2014-11-29 Karl Berry <[email protected]>
2028
2029 * dvipdfmx.c (show_usage): use [all pages] instead of (-).
2030 From peb.
2031
2032 2014-11-28 Karl Berry <[email protected]>
2033
2034 * dvipdfmx.c (main): accept --extractbb per help message.
2035 (show_usage): one line of description.
2036 * xbb.c (show_usage): likewise.
2037 Suggestion from Tom Schneider, texhax 22 Nov 2014 08:53:19.
2038
2039 2014-11-19 Peter Breitenlohner <[email protected]>
2040
2041 * dvipdfmx.c: Modified support to make DLL(s) in W32TeX.
2042
2043 2014-11-15 Akira Kakuto <[email protected]>
2044
2045 * dvipdfmx.c: Support to make DLL in W32TeX.
2046
2047 2014-11-05 Akira Kakuto <[email protected]>
2048
2049 * dpxfile.c: Check if fqpn == NULL in dpx_open_file(), because
2050 MESG (fqpn) crashes if fqpn == NULL.
2051
2052 2014-11-04 Peter Breitenlohner <[email protected]>
2053
2054 * pkfont.c: Fix the messed up formatting codes.
2055 * pdfparse.c: Avoid undefined behaviour when char is signed.
2056
2057 2014-11-03 Shunsaku Hirata <[email protected]>
2058
2059 * pdfdev.c: Do not convert integer part of real numbers to long int
2060 when printing a real number.
2061 * pdfparse.c: Do not use temporary integer values for storing
2062 parsed numbers.
2063 * pkfont.c: Remove debugging codes, additional fixes in formatting
2064 integer values.
2065
2066 2014-10-29 Shunsaku Hirata <[email protected]>
2067
2068 * pkfont.c: Cast unsigned integers when they appear in subtractions
2069 to obtain results in double.
2070
2071 2014-10-05 Akira Kakuto <[email protected]>
2072
2073 * spc_dvips.c: Add " showpage\n" to a temporary file gs_in because
2074 Ghostscript 9.15 gives an empty pdf without it
2075 in dpx_file_apply_filter().
2076
2077 2014-10-03 Akira Kakuto <[email protected]>
2078
2079 * spc_dvips.c: Fix a bug in spc_dvips_at_end_page (void), that is
2080 change "if (!temporary_defs)" to "if (temporary_defs)".
2081
2082 2014-09-29 Akira Kakuto <[email protected]>
2083
2084 * spc_pdfm.c: Minor cleanup.
2085
2086 2014-09-25 Peter Breitenlohner <[email protected]>
2087
2088 * {bmp,jp2,jpeg,png}image.[ch], xbb.c: More cleanup (whitespace
2089 and long => int or uint32_t).
2090
2091 2014-09-24 Peter Breitenlohner <[email protected]>
2092
2093 * jp2image.c: Add newline at end of file.
2094 (read_box_hdr): Correctly handle 8byte lbox value.
2095 (read_res__data): Change result type 'unsigned long' => 'void'.
2096 (scan_res_): Reindent.
2097
2098 No reason to use 'long' for 32-bit integers.
2099 * bmpimage.[ch], jp2image.[ch], xbb.c: Change bmp_get_bbox() and
2100 jp2_get_bbox() args 'long *' => 'int *'.
2101
2102 2014-09-20 Akira Kakuto <[email protected]>
2103
2104 * spc_pdfm.c: If input string is UTF16BE with BOM, do nothing in
2105 maybe_reencode_utf8().
2106
2107 2014-09-15 Peter Breitenlohner <[email protected]>
2108
2109 No reason to use 'long' for 32-bit integers.
2110 * dvi.[ch], pkfont.c, specials.[ch], tfm.[ch]: Use (u)int32_t
2111 instead of long, UNSIGNED_QUAD, etc.
2112 * dvipdfmx.c: Replace long => int.
2113 * jp2image.c, otl_conf.c: Drop rewind() after file_size().
2114 * mfileio.[ch]: New functions xfile_size(), xseek_absolute(),
2115 xseek_relative(), xseek_end(), and xtell_position().
2116 * numbers.[ch]: Replace (UN)SIGNED_BYTE => (un)signed char,
2117 (UN)SIGNED_PAIR => (un)signed short, (UN)SIGNED_TRIPLE =>
2118 un)signed int, (UN)SIGNED_QUAD => (u)int32_t.
2119 New functions get_unsigned_num() and get_positive_quad().
2120 * vf.c: Use get_positive_quad() and get_unsigned_num().
2121
2122 2014-09-01 Akira Kakuto <[email protected]>
2123
2124 * vf.c: Add missing break in case X1: case X2: case X3: case X4:
2125 in void vf_set_char(int32_t ch, int vf_font).
2126
2127 2014-08-24 Shunsaku Hirata <[email protected]>
2128
2129 * t1_char.c: Fix a bug in type1 handling reported by Bob Tennent
2130 (http://tug.org/pipermail/tex-live/2014-June/035580.html).
2131
2132 2014-08-22 TANAKA Takuji <[email protected]>
2133
2134 * error.h: Allow Unicode messages on Windows console.
2135
2136 2014-08-22 Peter Breitenlohner <[email protected]>
2137
2138 * vf.c (get_pkt_unsigned_num): Fixed a stupid bug/typo.
2139
2140 2014-08-21 Peter Breitenlohner <[email protected]>
2141
2142 * numbers.[ch]: New function skip_bytes().
2143 * vf.[ch]: Simplify VF reading. Replace, e.g., long => int32_t.
2144
2145 2014-08-20 Peter Breitenlohner <[email protected]>
2146
2147 * configure.ac: Add AC_TYPE_INT32_T for int32_t.
2148 * numbers.c: Drop unused code.
2149 * numbers.h: Drop unused code.
2150 Include <inttypes.h> and <stdint.h> for int32_t and uint32_t.
2151 Clarify signed vs unsigned four byte numbers from binary files.
2152 * dvi.c: Simplify handling of DVI commands.
2153 * vf.c: Replace 'Ubyte' => 'unsigned char'.
2154
2155 2014-08-19 Peter Breitenlohner <[email protected]>
2156
2157 * pngimage.c: Avoid PNG warnings.
2158
2159 2014-08-16 Peter Breitenlohner <[email protected]>
2160
2161 * dvi.c: Drop unused variable. Use "%lu" for unsigned long vars.
2162
2163 2014-08-16 Khaled Hosny <[email protected]>
2164
2165 * dvi.c, dvicodes.h, fontmap.c, fontmap.h: Switch to XDV version 6
2166 used by latest XeTeX.
2167
2168 2014-08-16 Akira Kakuto <[email protected]>
2169
2170 * dvipdfmx.c, pdflimits.h: Set PDF_VERSION_DEFAULT = 5 to be
2171 consistent with dvipdfmx.cfg.
2172
2173 2014-08-15 Peter Breitenlohner <[email protected]>
2174
2175 * pdfobj.c: Avoid unconstifying casts. Drop unused variable.
2176 Avoid possibly uninitialized use of variable filter_name.
2177
2178 2014-08-14 Akira Kakuto <[email protected]>
2179
2180 * pdfobj.c: Return 1 even if the PDF version of included file is
2181 newer than the assumed version in check_for_pdf(), because
2182 load_image() in pdfximage.c needs very long time if format ==
2183 IMAGE_TYPE_UNKNOWN and the file size is very large.
2184 Anyway the inclusion of the PDF file fails.
2185
2186 2014-08-14 Shunsaku Hirata <[email protected]>
2187
2188 * epdf.c, pdfobj.c: Support streams with DecodeParms.
2189
2190 2014-08-12 Peter Breitenlohner <[email protected]>
2191
2192 * dvipdfm-bb.test, xdvipdfm-bb.test: Also test .bmp and .jp2.
2193 * tests/image.{bmp,dvi,jp2,tex}: Additional test input.
2194 * tests/{img,pic}{bmp,jp2}.{bb,xbb}: Expected test output.
2195 * Makefile.am (EXTRA_DIST): Add the new files.
2196
2197 2014-08-11 Peter Breitenlohner <[email protected]>
2198
2199 * jp2image.c: Declare scan_file() as static. Drop variables
2200 that are set but not used [-Wunused-but-set-variable].
2201
2202 2014-08-11 Shunsaku Hirata <[email protected]>
2203
2204 * bmpimage.[ch], jp2image.[ch] (new), pdfximage.c, xbb.c:
2205 Add support for JPEG 2000 (JP2 and JPX baseline subset) and
2206 BMP support for extractbb.
2207
2208 2014-08-11 Peter Breitenlohner <[email protected]>
2209
2210 * Makefile.am: Drop libutil.a, i.e., compile all files once for
2211 dvipdfmx and once for xdvipdfmx.
2212
2213 2014-08-05 Jiang Jiang <[email protected]>
2214
2215 * tt_cmap.c (otf_create_ToUnicode_stream, create_ToUnicode_cmap):
2216 Only load CMAP_TYPE_CODE_TO_CID cmap to do reverse lookup when
2217 constructing ToUnicode streams for PDF.
2218
2219 * type0.c, type0.h, pdffont.c: Remove redundant pdf_font_findfont()
2220 function.
2221
2222 2014-08-05 Peter Breitenlohner <[email protected]>
2223
2224 * pst_obj.c, t1_char.c: ANSI C function protos and definitions,
2225 i.e., FOO(void) instead of FOO().
2226
2227 2014-08-04 Peter Breitenlohner <[email protected]>
2228
2229 * tt_cmap.c (create_ToUnicode_cmap): Drop unused variables.
2230
2231 2014-08-04 Jiang Jiang <[email protected]>
2232
2233 * cff.c (cff_get_glyphname): Remove duplicated cff_read_charsets()
2234 call.
2235
2236 * tt_cmap.c (sfnt_get_glyphname, create_ToUnicode_cmap): Make sure
2237 we only do glyph name lookup for CFF fonts when they are not CID
2238 fonts.
2239
2240 * cmap_read.c: Fix warnings when comparing size_t with negative
2241 value (< 0).
2242
2243 2014-08-03 Jiang Jiang <[email protected]>
2244
2245 * tt_cmap.c (sfnt_get_glyphname, handle_subst_glyphs): Fix error on
2246 glyph name lookup.
2247
2248 * cff.c (cff_glyph_lookup), pdfdev.c (pdf_dev_set_string): Correctly
2249 handles the dvi file when Unicode to CID mapping file is specified,
2250 where pdf_dev_set_string() got string of cids instead of glyphs.
2251
2252 * cmap.c: Add reverse lookup from CID to Unicode codepoints.
2253
2254 * tt_cmap.c, type0.c: Refactor create_ToUnicode_cmap{4, 12}(), use
2255 reverse CMap lookup to construct ToUnicode streams.
2256
2257 2014-08-03 Akira Kakuto <[email protected]>
2258
2259 * pdfobj.c: Fix a typo in check_for_pdf().
2260
2261 2014-08-02 Shunsaku Hirata <[email protected]>
2262
2263 * tt_cmap.c: Fix a bug in unicode encoding in CFF/OpenType fonts.
2264
2265 2014-08-01 Akira Kakuto <[email protected]>
2266
2267 * type0.c: Fix a bug in Type0Font_clean (Type0Font *font).
2268
2269 2014-07-30 Khaled Hosny <[email protected]>
2270
2271 * dvi.c, dvicodes.h: Support TeX-XeT's begin_reflect and end_reclect
2272 opcodes in dvipdfmx.
2273
2274 * dvi.c (dvi_set, do_glyph_array): Use dvi_right to ensure
2275 consistency.
2276
2277 2014-07-29 Khaled Hosny <[email protected]>
2278
2279 * spc_pdfm.c: remove the #ifdef ENABLE_TOUNICODE as it is always true.
2280 * spc_pdfm.c: rename my_parse_pdf_dict to
2281 parse_pdf_dict_with_tounicode.
2282
2283 * dvipdfmx.c, dvi.c: Always accept .xdv file extension.
2284 * dvipdfmx.c: Remove some unnecessary is_xetex checks.
2285 * dvipdfmx.c: Allow DVIPDFM emulation mode even with xdvipdfmx, there
2286 is no much gain from not doing so.
2287 * pdfnames.c: Remove wrong is_xetex check.
2288
2289 * dvi.c, dvipdfmx.c, dvipdfmx.h, spc_pdfm.c: Rename is_xetex to is_xdv
2290 and set it to 1 when DVI id equals XDV_ID.
2291
2292 * pdfdev.c (pdf_dev_locate_font): Don't crash if mrec is None.
2293 * dvipdfm.test, xdvipdfm.test, Makefile.am: Test the above bug.
2294 * tests/xbmc.{dvi,tex}, tests/xbmc10.{600pk,tfm}: New test data.
2295
2296 2014-07-28 Jiang Jiang <[email protected]>
2297
2298 * dpxfile.c (qcheck_filetype): Skip opening non-existent file.
2299
2300 * tt_cmap.c (lookup_cmap12): Fix a compiler warning when trying to
2301 compare unsigned value with 0.
2302
2303 2014-07-28 Peter Breitenlohner <[email protected]>
2304
2305 * type0.c (Type0Font_*_ToUnicode_stream): Declare once as static
2306 (once again!).
2307
2308 2014-07-28 Khaled Hosny <[email protected]>
2309
2310 * dvi.c (do_pic_file): Don't insert the pic file while skimming
2311 reflected segments.
2312
2313 * tt_cmap.c (handle_subst_glyphs): Don't try to added invalid CMap
2314 entries (regression from r34718).
2315
2316 * cff.c, cff.h: Add cff_get_glyphname convenience function.
2317 * tt_cmap.c (sfnt_get_glyphname): Support getting glyph names from
2318 OpenType/CFF fonts (regression from r34718).
2319
2320 2014-07-28 Jiang Jiang <[email protected]>
2321
2322 * cid.c, pdfdev.c: Correct release of retained cff_charsets.
2323
2324 2014-07-27 Jiang Jiang <[email protected]>
2325
2326 * cff.c, cff.h, cid.c, cid_p.h, cidtype0.c, fontmap.c, fontmap.h,
2327 pdfdev.c: Fix CID-keyed fonts glyph lookup with XeTeX.
2328
2329 * pdfdev.c, pdffont.c, pdffont.h, tt_cmap.c, type0.c, type0.h: Fix
2330 reverse CMap lookup for ToUnicode map generation.
2331
2332 * cff.c: Avoid read past 65536 glyphs.
2333
2334 2014-07-26 Peter Breitenlohner <[email protected]>
2335
2336 * dpxfile.c: Add a default case to avoid compiler warnings.
2337
2338 2014-07-25 Khaled Hosny <[email protected]>
2339
2340 * dpxfile.c, dpxfile.h: Use an enum for resource type instead of
2341 preprocessor macros (easier to view in a debugger).
2342
2343 * dvi.c, vf.c: Remove unnecessary is_xetex checks; there is no reason
2344 not to support SET3 and PUT3 in xdvipdfmx (XeTeX does not use them
2345 anyway).
2346
2347 2014-07-24 Khaled Hosny <[email protected]>
2348
2349 * cff.c. cff.h, cid.c, cid.h, cid_p.h, cidtype0.c, cidtype2.c,
2350 pdffont.c, pdffont.h, sfnt.c, sfnt.h, t1_load.c, truetype.c, tt_aux.c,
2351 tt_cmap.c, tt_cmap.h, tt_glyf.c, tt_gsub.c, tt_post.c, tt_post.h,
2352 tt_table.c, type0.c, type1c.c: These files are now identical for
2353 dvipdfmx and xdvipdfmx and are part of libutil.a.
2354 * type0.h (Type0Font_get_ft_to_gid): Removed.
2355 * Makefile.am: Adapted.
2356
2357 * pdfdev.c: Reduced dvipdfmx/xdvipdfmx diffs.
2358
2359 * dvi.c: Use dvi_is_tracking_boxes when applicable.
2360
2361 2014-07-22 Khaled Hosny <[email protected]>
2362
2363 * src/dvi.c, src/dvicodes.h: Support DVI-IVD inspired text reflection
2364 for XeTeX.
2365 * src/vf.c: Adapt
2366
2367 2014-07-22 Karl Berry <[email protected]>
2368
2369 * Makefile.am (check-libutil-source-list): new target for manual
2370 checking of #ifdef XETEX list.
2371 (libutil_a_SOURCES): move type1c.c (containing #ifdef XETEX) from here
2372 (dvipdfmx_SOURCES): to here.
2373
2374 * cidtype0,
2375 * type1c.c: add disambiguating numbers to the repeated
2376 "Not a CFF/OpenType font?" message. (Many other repeated msgs remain.)
2377
2378 2014-07-21 Karl Berry <[email protected]>
2379
2380 * fontmap.c (fontmap_parse_mapdef_dps): ignore the second <
2381 in << in a map file line (just like the [ in <[ has always been
2382 ignored).
2383 * Makefile.am (EXTRA_DIST): add fullmap.tex and .dvi,
2384 just for documentation/future purposes, not executed as a new test.
2385 Report from Ulrike Fischer, 4 Jun 2014 11:15:06 +0200,
2386 http://tug.org/pipermail/tex-live/2014-June/035486.html
2387
2388 2014-07-15 Peter Breitenlohner <[email protected]>
2389
2390 * cmap_read.c: Avoid cast from pointer to integer of different
2391 size on 64-bit Windows.
2392
2393 2014-06-22 Akira Kakuto <[email protected]>
2394
2395 * spc_dvips.c: Use rungs instead of gswin32c in order to support
2396 both of gswin32c and gswin64c (Windows only).
2397
2398 2014-06-21 Khaled Hosny <[email protected]>
2399
2400 * pdfdoc.c: Set PDF Docinfo's /Producer string from pdf:docinfo if
2401 supplied (http://sourceforge.net/p/xetex/bugs/93/).
2402
2403 2014-06-20 Peter Breitenlohner <[email protected]>
2404
2405 * agl.c, cid.c, dpxfile.c, dpxutil.c, dvipdfmx.c, epdf.c,
2406 fontmap.c, mpost.c, otl_conf.c, otl_opt.c, pdfnames.c,
2407 pdfparse.c, spc_dvips.c, spc_html.c, spc_misc.c, specials.c,
2408 subfont.c: Avoid undefined behaviour when char is signed.
2409
2410 2014-06-20 Akira Kakuto <[email protected]>
2411
2412 * xbb.c: Check kpse_in_name_ok and kpse_out_name_ok in extractbb.
2413
2414 2014-06-16 Peter Breitenlohner <[email protected]>
2415
2416 * Makefile.am: Drop the obsolete ACLOCAL_AMFLAGS.
2417
2418 2014-05-22 Akira Kakuto <[email protected]>
2419
2420 * dvipdfmx.c: disable warnings in the case of -q option.
2421
2422 2014-05-13 Peter Breitenlohner <[email protected]>
2423
2424 * pdfobj.[ch] (pdf_unshift_array): Bug fix: correctly copy array
2425 elements, using memmove(). Declare pdf_unshift_array as static.
2426 Bug reported by Richard M Kreuter <[email protected]>.
2427
2428 2014-05-10 Akira Kakuto <[email protected]>
2429
2430 * bmpimage.c: Error exit instead of crashing for unsupported
2431 bmp inclusion in bmp_include_image().
2432
2433 2014-05-04 Akira Kakuto <[email protected]>
2434
2435 * dvipdfmx.c: Move special-case single option --help or --version
2436 after determination of program name (from Heiko).
2437 Change my_name for extractbb and ebb.
2438 xbb.c: Move '++flag' from inside 'if()' to 'then' part of the
2439 'if' statement (from Heiko).
2440
2441 2014-04-30 Khaled Hosny <[email protected]>
2442
2443 * tt_cmap.c: [XDVIPDFMX] prefere glyph name for glyph with PUA or
2444 alphabetic presentation forms entries in font cmap.
2445
2446 2014-04-24 Karl Berry <[email protected]>
2447
2448 * man/dvipdfm.1,
2449 * Makefile.am (dist_man1_MANS): rename man page to dvipdfmx.1.
2450 (man1_links): make a dvipdfm.1 link.
2451 [XDVIPDFMX]: make an xdvipdfmx.1 link.
2452
2453 2014-04-17 Karl Berry <[email protected]>
2454
2455 * dvipdfmx.c (show_usage): default map in practice is pdftex.map.
2456 * man/dvipdfm.1: major update to something closer to current
2457 reality, from Bob Tennent and me.
2458
2459 2014-03-31 Karl Berry <[email protected]>
2460
2461 * dvipdfmx.c (show_usage): avoid long lines in help msg,
2462 include bug reporting address, and
2463 (show_version): use printf instead of fprintf(stdout.
2464
2465 2014-03-24 Karl Berry <[email protected]>
2466
2467 * error.c (WARN, ERROR): use my_name, not loud stars.
2468 #include "dvipdfmx.h" for decl.
2469 * tt_table.c: use WARN for warnings, not fprintf.
2470
2471 2014-03-20 Karl Berry <[email protected]>
2472
2473 * dvipdfmx.c (show_version): eliminate useless leading blank line.
2474 (main): special-case --help and --version on their own to avoid
2475 possible diagnostics.
2476
2477 2014-03-18 Peter Breitenlohner <[email protected]>
2478
2479 * xbb.c: Update one more Copyright year.
2480 * tests/{img,pic}{jpeg,png,pdf}.{bb,xbb}: Update Creator.
2481
2482 2014-03-17 Karl Berry <[email protected]>
2483
2484 * configure.ac: version 20140317 for TeX Live 2014.
2485 * all files: update copyright years.
2486
2487 2014-03-17 Bob Tennent <[email protected]>
2488
2489 * dpxfile.c (dpx_open_file),
2490 * fontmap.c (pdf_load_fontmap_file): show fontmap file found,
2491 if verbose.
2492
2493 2014-03-06 Peter Breitenlohner <[email protected]>
2494
2495 * dvi.c, dvipdfmx.c: Remove unused code.
2496 * pdfdraw.c: Remove unused arg1 of pdf_dev__rectshape() and
2497 pdf_dev__flushpath().
2498
2499 2014-01-27 TANAKA Takuji <[email protected]>
2500
2501 * dvipdfmx.c: Revise procedure of reading command line arguments.
2502 (Windows only)
2503
2504 2014-01-20 Akira Kakuto <[email protected]>
2505
2506 * dpxfile.c: Fix a bug in dpx_file_apply_filter(), report from
2507 Michael Rutter <http://tug.org/pipermail/tex-live/2014-January/034771.html>
2508
2509 2014-01-13 Peter Breitenlohner <[email protected]>
2510
2511 * Makefile.am, /ac/withenable.ac, configure.ac:
2512 Replace libs/paper => libs/libpaper.
2513
2514 2014-01-13 Peter Breitenlohner <[email protected]>
2515
2516 * dbxfile.c [WIN32]: Include <wchar.h>. Avoid use of
2517 uninitialized variables cmdvw and qvw.
2518
2519 2014-01-12 TANAKA Takuji <[email protected]>
2520
2521 * dvipdfmx.c: Add '--kpathsea-debug' option and
2522 fix a bug in '--dvipdfm' option.
2523 * dvipdfmx.c, mfileio.[ch], dbxfile.c: Allow Unicode file name
2524 on Windows.
2525
2526 2014-01-02 Peter Breitenlohner <[email protected]>
2527
2528 * pngimage.c: Allow libpng >= 1.6.3 to read images with
2529 incorrect CMF bytes.
2530
2531 2013-12-16 Peter Breitenlohner <[email protected]>
2532
2533 * Makefile.am (dvipdfmx_SOURCES): Move cidtype0.c to here.
2534 From Alexey Kryukov <[email protected]>
2535
2536 2013-12-14 Peter Breitenlohner <[email protected]>
2537
2538 * spc_xtx.c: Guarantee that mline in is_pdfm_mapline(mline) is a
2539 zero-ended string when called by spc_handler_xtx_fontmapline().
2540
2541 2013-12-13 Akira Kakuto <[email protected]>
2542
2543 * spc_pdfm.c: Guarantee that mline in is_pdfm_mapline(mline) is a
2544 zero-ended string when called by spc_handler_pdfm_mapline().
2545
2546 2013-11-28 Akira Kakuto <[email protected]>
2547
2548 * xbb.c: Add suffixes ".ai", ".AI" for the Illustrator files.
2549 In recent illustrators, their default format is PDF.
2550
2551 2013-11-23 Akira Kakuto <[email protected]>
2552
2553 * mpost.c: Fix a bug which I introduced in MetaPost mode (-M option).
2554 Note that the definition of x, and y in
2555 pdf_doc_begin_page (scale, x, y) is the negative of those in
2556 pdf_doc_begin_grabbing (ident, x, y, ...).
2557
2558 2013-11-23 Akira Kakuto <[email protected]>
2559
2560 * mpost.c: Set the origin at (llx, lly) to match the new xetex.def
2561 and dvipdfmx.def.
2562
2563 2013-11-06 Akira Kakuto <[email protected]>
2564
2565 * xbb.c: Set pdf_version in extractbb to be PDF_VERSION_MAX.
2566
2567 2013-11-04 Akira Kakuto <[email protected]>
2568
2569 * pdfobj.c: Correct %c to %d since pdf_version is unsigned int.
2570 Fix a typo.
2571
2572 2013-10-24 Peter Breitenlohner <[email protected]>
2573
2574 * Makefile.am, /ac/withenable.ac, configure.ac: Use libs/paper.
2575
2576 2013-10-12 Khaled Hosny <[email protected]>
2577
2578 * dvi.c, dvicodes.h: Rename XDVI_ID to XDV_ID.
2579
2580 2013-09-30 Peter Breitenlohner <[email protected]>
2581
2582 * configure.ac: Drop the useless KPSE_LT_HACK.
2583 Drop the redundant AC_HEADER_STDC and check for mkstemp.
2584
2585 2013-09-26 Peter Breitenlohner <[email protected]>
2586
2587 * epdf.c, pdfdraw.c, pdfobj.c, pdfximage.c, spc_color.c,
2588 spc_color.c, specials.c: These files are now identical for dvipdfmx
2589 and xdvipdfmx and are part of libutil.a.
2590 * Makefile.am: Adapted.
2591
2592 * spc_pdfm.c: Reduced dvipdfmx/xdvipdfmx diffs.
2593
2594 2013-09-26 Peter Breitenlohner <[email protected]>
2595
2596 * bmpimage.c, dpxfile.c, pdfparse.c, spc_html.c, spc_tpic.c:
2597 These files are now identical for dvipdfmx and xdvipdfmx and are
2598 part of libutil.a.
2599 * Makefile.am: Adapted.
2600
2601 * cff_dict.c, pdfdraw.c, pdfobj.[ch], pdfximage.[ch],
2602 tt_table.c, type1.c: Reduced dvipdfmx/xdvipdfmx diffs.
2603
2604 2013-09-25 Peter Breitenlohner <[email protected]>
2605
2606 * pdfnames.c: Fix (x)dvipdfm-bkm.test (notjump).
2607
2608 2013-09-24 Peter Breitenlohner <[email protected]>
2609
2610 * pdfnames.[ch], pdfobj.c, specials.c: Fix (x)dvipdfm-res.test
2611 (tikz-bug).
2612
2613 * tests/annot.{dvi,tex}: Test a broken link annotation.
2614
2615 2013-09-20 Akira Kakuto <[email protected]>
2616
2617 * dpxcrypt.h, dpxcrypt.c: Use uint32_t instead of unsigned long to
2618 calculate MD5, because it leads to an error if compiled with clang
2619 on 64bit OS X, reported by T. Yamamoto.
2620
2621 2013-09-12 Peter Breitenlohner <[email protected]>
2622
2623 * (x)dvipdfm-bkm.test: Additional tests with bookmarks.
2624 * tests/bookm.{dvi,tex}: Additional test input files.
2625 * Makefile.am: Adapted.
2626
2627 2013-09-01 Peter Breitenlohner <[email protected]>
2628
2629 * spc_util.c: This file is identical for dvipdfmx and xdvipdfmx,
2630 now part of libutil.a.
2631
2632 2013-08-18 Peter Breitenlohner <[email protected]>
2633
2634 * epdf.c (add_stream_flate): Use z_const.
2635 * pdfobj.c (pdf_add_stream_flate): Use z_const.
2636
2637 2013-08-12 Peter Breitenlohner <[email protected]>
2638
2639 * dvipdfmx.c (show_usage): Adapt to modified program (stdin).
2640 * xdvipdfm-psz.test: Fixed a typo (found by Mojca Miklavec).
2641
2642 2013-08-11 Akira Kakuto <[email protected]>
2643
2644 * dvipdfmx.c: pdf_filename should not be NULL to compare it with
2645 a string.
2646
2647 2013-08-10 Peter Breitenlohner <[email protected]>
2648
2649 * dvipdfmx.[ch]: Declare and define 'char *my_name' as
2650 "dvipdfmx" or "xdvipdfmx" and use it instead of PROGNAME.
2651 * pdfdoc.c, pdfencrypt.c: Use my_name instead of PACKAGE.
2652
2653 * dvipdfmx.c, pdfobj.c: Use option '-o -' for output to stdout.
2654
2655 * dvipdfmx.c, dvi.c: Allow dvipdfmx to read from stdin.
2656
2657 * pdfobj.c (write_dict): Drop '\n' saving a few kb.
2658
2659 * pdfcolor.[ch], pdfdev.c, pdfdraw.[ch], spc_pdfm.c: Always use
2660 dvipdfmx type color handling.
2661
2662 * agl.c, cmap_write.c, dpxutil.c, jpegimage.c, otl_conf.c,
2663 pdfcolor.c, pdfresource.c, pngimage.c, pst.c, pst_obj.c,
2664 spc_misc.c, tfm.c, vf.c, xbb.c: These files are identical for
2665 dvipdfmx and xdvipdfmx, now part of libutil.a.
2666
2667 * configure.ac: Define PACKAGE again via AC_INIT.
2668 * dpxfile.c: Use "dvipdfmx" for kpse_reset_program_name().
2669
2670 * (x)dvipdfm-psz.test: Test (x)dvipdfmx with stdin and stdout.
2671
2672 2013-08-09 Peter Breitenlohner <[email protected]>
2673
2674 * dvi.c: Bug fix: handle papersize specials, suggested by Akira
2675 (from Hironori Kitagawa <[email protected]>).
2676
2677 * (x)dvipdfm-psz.test: Additional tests with papersize specials.
2678 * tests/paper.{dvi,tex}: Additional test input files.
2679 * Makefile.am: Adapted.
2680
2681 * *.test: Sanitize environment variables (from Akira).
2682
2683 2013-08-08 Peter Breitenlohner <[email protected]>
2684
2685 * pdfdoc.[ch], pdfnames.c, spc_pdfm.c: Bug fix: handle pdf:bann,
2686 pdf:eann, and pdf:ann specials.
2687
2688 2013-08-07 Peter Breitenlohner <[email protected]>
2689
2690 * configure.ac: Avoid that config.h depends on $enable_build.
2691 Replace CHO_CHECK_{ZLIB,LIBPNG} => AC_LINK_IFELSE and
2692 CHO_CHECK_LIBPAPER => KPSE_LIBPAPER.
2693 Makefile.am: Use $(PAPER_INCLUDES) and (PAPER_LIBS).
2694
2695 2013-08-06 Peter Breitenlohner <[email protected]>
2696
2697 * (x)dvipdfm-ann.test: Additional tests.
2698 * tests/cmr10.{pfb,tfm}, tests/annot.{dvi,tex},
2699 tests/psfonts.map: Additional test input files.
2700 * Makefile.am, dvipdfmx.cfg: Adapted.
2701
2702 Bugfix from Akira:
2703 * dvi.c, xdvipdfmx.c: May need to append ".dvi" to dvi_filename.
2704 * xdvipdfmx.c: At the moment dvipdfmx can not read stdin.
2705
2706 2013-08-02 Peter Breitenlohner <[email protected]>
2707
2708 * pdfobj.c (pdf_open): Bugfix: Always set pf->catalog.
2709 * xbb.c: Use same code to get the .pdf bounding box in dvipdfmx
2710 and xdvipdfmx.
2711 * dvi.c: Avoid duplicate page number output, e.g., "[1[1]]".
2712 * (x)dvipdfmx.test: Add test with image files.
2713 * tests/image.tex, tests/image.tex: Additional test input files.
2714 * Makefile.am (EXTRA_DIST, DISTCLEANFILES): More test IO files.
2715 Define PACKAGE as "dvipdfmx" for kpse_reset_program_name().
2716
2717 2013-07-29 Peter Breitenlohner <[email protected]>
2718
2719 * Removed diffs between src/ and xsrc/ version of the remaining
2720 files and moved them to the top-level: cidtype0.c, dvi.c,
2721 dvipdfmx.c, epdf.c, jpegimage.c, pdfcolor.c, pdfdev.c, pdfdoc.c,
2722 pdfdraw.c, pdfobj.c, pdfximage.c, spc_pdfm.c, spc_tpic.c,
2723 tt_cmap.c, type1c.c, xbb.c.
2724 * Makefile.am: Adapted.
2725
2726 * jpegimage.c (jpeg_get_density): Bugfix (from xdvipdfmx r108).
2727
2728 2013-07-22 Peter Breitenlohner <[email protected]>
2729
2730 * tt_aux.c, tt_post.c: Try to avoid a segfault for some broken
2731 TrueType fonts with 'post' table Version 0x00000000UL or other.
2732
2733 * unicode.[ch]: Drop '#include "agl.h"' and others.
2734 * pdffont.c: Add '#include "agl.h"'.
2735
2736 * Removed diffs between src/ and xsrc/ version of these files
2737 and moved them to the top-level: cff_dict.c, pdfencrypt.c,
2738 pdfnames.h, spc_dvips.c, specials.c, tfm.c, truetype.c, type1.c.
2739
2740 * Makefile.am (libutil.a): Build a library from files that do
2741 not depend on '-DXETEX': cs_type2.c, dpxconf.c, dpxcrypt.c,
2742 error.c, mem.c, mfileio.c, numbers.c, otl_opt.c, pdfencoding.c,
2743 pdfencrypt.c, subfont.c, unicode.c.
2744
2745 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2746 dvipdfmx.c, jpegimage.c, pdfdoc.c, pdfdraw.c, pdfnames.c,
2747 pdfobj.c, pdfximage.c, spc_pdfm.c, spc_tpic.c, tt_cmap.c, xbb.c.
2748
2749 2013-07-15 Peter Breitenlohner <[email protected]>
2750
2751 * xsrc/jpegimage.c: Added jpeg_get_bbox() and jpeg_get_density()
2752 from src/jpegimage.c.
2753 * xsrc/pdfdoc.c: Added pdf_doc_get_page() from src/pdfdoc.c.
2754 * xsrc/pngimage.c: Added png_get_bbox() from src/pngimage.c.
2755 * xbb.h (removed): Merged ...
2756 * dvipdfmx.h: ... into here.
2757
2758 * Removed diffs between src/ and xsrc/ version of these files
2759 and moved them to the top-level: pdfobj.h, pngimage.c.
2760
2761 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2762 dvipdfmx.c, epdf.c, pdfdoc.c, pdfobj.c, pdfximage.c, xbb.c.
2763
2764 * src/dvipdfmx.c, xsrc/dvipdfmx.c: Add '--xbb', '--ebb' options.
2765
2766 * (x)dvipdfmx.test: Correctly set the environment variables.
2767 * (x)dvipdfm-bb.test: New shell scripts to test bounding box
2768 extraction.
2769 * tests/dvipdfmx.cfg, tests/image.* (new): Test input files.
2770 * tests/img*.*, tests/pic*.* (new): Expected output files.
2771 input and expected output files.
2772
2773 2013-07-10 Peter Breitenlohner <[email protected]>
2774
2775 * Removed diffs between src/ and xsrc/ version of these files
2776 and moved them to the top-level: cff.c, dvi.h, mpost.c,
2777 pdfdev.h, pdfdoc.h, pdfdraw.h.
2778
2779 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2780 dvi.c, dvipdfmx.c, epdf.c, xbb.c.
2781
2782 * *src/dvipdfmx.c: Use FILESTRCASEEQ instead of !STRN_CMP.
2783
2784 2013-07-08 Peter Breitenlohner <[email protected]>
2785
2786 * Removed diffs between src/ and xsrc/ version of these files
2787 and moved them to the top-level: bmpimage.c, cidtype2.c, epdf.h,
2788 fontmap.c, pdfcolor.h, pdfparse.c, pdfximage.h, sfnt.[ch],
2789 tt_aux.[ch], tt_post.c, tt_table.c.
2790
2791 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2792 cidtype0.c, epdf.c, pdfcolor.c, pdfdev.[ch], pdfximage.c.
2793
2794 2013-07-06 Akira Kakuto <[email protected]>
2795
2796 * xsrc/dvi.c: Use !FILESTRCASEEQ instead of STR_CMP.
2797
2798 2013-07-05 Peter Breitenlohner <[email protected]>
2799
2800 * Removed diffs between src/ and xsrc/ version of these files
2801 and moved them to the top-level: cff.h, spc_color.c,
2802 spc_html.c, spc_util.[ch], tt_glyf.c, type0.c.
2803
2804 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2805 cff.c, dvi.[ch], cidtype0.c, cidtype2.c, dvipdfmx.c, fontmap.c,
2806 pdfcolor.[ch], truetype.c, tt_aux.[ch], type1c.c.
2807
2808 * Makefile.am: Moved Makefile fragments to ../../am/.
2809
2810 2013-07-03 Peter Breitenlohner <[email protected]>
2811
2812 * Removed diffs between src/ and xsrc/ version of these files
2813 and moved them to the top-level: dpxfile.[ch], fontmap.h,
2814 jpegimage.h, pngimage.h, tt_cmap.h, type0.h, vf.c, xbb.h.
2815
2816 * Reduced dvipdfmx/xdvipdfmx diffs in these files:
2817 src/cff_dict.c, (x)src/cidtype0.c, (x)src/cidtype2.c,
2818 (x)src/dvipdfmx.c, (x)src/jpegimage.c, src/pdfencrypt.c,
2819 src/pdfparse.c, src/pngimage.c, src/spc_html.c,
2820 (x)src/tt_cmap.c, (x)src/tt_table.c, src/xbb.c.
2821
2822 2013-07-01 Peter Breitenlohner <[email protected]>
2823
2824 * data/Makefile.am, man/Makefile.am (removed): Merged into ...
2825 * Makefile.am: ... here.
2826 * configure.ac: Adapted.
2827
2828 2013-06-30 Peter Breitenlohner <[email protected]>
2829
2830 * First '#include <config.h>' in all C files and not in headers.
2831
2832 2013-06-29 Peter Breitenlohner <[email protected]>
2833
2834 * src/dvipdfmx.h, xsrc/spc_xtx.[ch]: Moved to the top-level.
2835 * Moved these files (identical in src/ and xsrc/) to the
2836 top-level: agl.[ch], bmpimage.h, cff_dict.h, cff_limits.h,
2837 cff_stdstr.h, cff_types.h, cid.[ch], cid_basefont.h, cid_p.h,
2838 cidtype0.h, cidtype2.h, cmap.[ch], cmap_p.h, cmap_read.[ch],
2839 cmap_write.[ch], cs_type2.[ch], dpxconf.[ch], dpxcrypt.[ch],
2840 dvicodes.h, mem.[ch], mfileio.[ch], mpost.h, numbers.[ch],
2841 otl_conf.[ch], otl_opt.[ch], pdfencoding.[ch], pdfencrypt.h,
2842 pdffont.[ch], pdflimits.h, pdfparse.h, pdfresource.[ch],
2843 pkfont.[ch], pst.[ch], pst_obj.[ch], sfnt.h, spc_color.h,
2844 spc_dvips.h, spc_html.h, spc_misc.[ch], spc_pdfm.h, spc_tpic.h,
2845 specials.h, subfont.[ch], system.h, t1_char.[ch], t1_load.[ch],
2846 tfm.h, truetype.h, tt_glyf.h, tt_gsub.[ch], tt_post.h,
2847 tt_table.h, type1.h, type1c.h, unicode.[ch], vf.h.
2848
2849 * Removed diffs between src/ and xsrc/ version of these files
2850 and moved them to the top-level: dpxutil.[ch], error.[ch].
2851
2852 * Makefile.am: Adjust.
2853
2854 2013-06-28 Peter Breitenlohner <[email protected]>
2855
2856 * (x)src/Makefile.am (removed): Merged into Makefile.am.
2857 * src/dvipdfmx.test, src/dvipdft, xsrc/xdvipdfmx.test: Moved ...
2858 * dvipdfmx.test, dvipdft, xdvipdfmx.test: ... to here.
2859 * Makefile.am, configure.ac: Adapted.
2860
2861 2013-06-26 Peter Breitenlohner <[email protected]>
2862
2863 * src/dvipdfmx.test: Invoke ./dvipdfmx instead of dvipdfmx.
2864 * xsrc/xdvipdfmx.test: Invoke ./xdvipdfmx instead of xdvipdfmx.
2865
2866 Reduce dvipdfmx/xdvipdfmx diffs.
2867
2868 * xsrc/spc_color.[ch], xsrc/spc_misc.[ch], xsrc/spc_pdfm.[ch],
2869 xsrc/spc_xtx.[ch], xspc/specials.c: Drop no-op functions
2870 spc_*_at_{begin,end}_{document,page}().
2871 * (x)spc/spc_dvips.[ch], (x)spc/specials.c: Use '#ifdef XETEX'
2872 to avoid most diffs.
2873
2874 2013-06-15 Peter Breitenlohner <[email protected]>
2875
2876 Merge dvipdfmx and xdvipdfmx into dvipdfm-x.
2877
2878 * README, ChangeLog: Merged and consolidated the files from
2879 dvipdfmx and xdvipdfmx.
2880
2881 2013-05-30 Karl Berry <[email protected]>
2882
2883 * version 20130405 for TeX Live 2013.
2884
2885 2013-04-30 Akira Kakuto <[email protected]>
2886
2887 * src/dpxfile.c, src/pdfximage.c, src/dvipdfmx.c, data/dvipdfmx.cfg:
2888 Add a compatible mode with the old behavior per Karl, where
2889 image cache is ignored.
2890
2891 2013-04-30 Peter Breitenlohner <[email protected]>
2892
2893 * (x)dvipdfmx.test: New shell scripts for a simple test.
2894 * Makefile.am: Adapted.
2895
2896 2013-04-30 Peter Breitenlohner <[email protected]>
2897
2898 * src/dvipdfmx.c: Default is not to cache image files.
2899 Must not cast command line value to 'unsigned'.
2900
2901 2013-04-30 Karl Berry <[email protected]>
2902
2903 * data/dvipdfmx.cfg (D): back to using -dEPSCrop instead of
2904 -sPAPERSIZE=a0, in conjunction with changes to dvipdfmx.def
2905 and xetex.def.
2906 (I): set to -1 for the safest default.
2907
2908 2013-04-05 Karl Berry <[email protected]>
2909
2910 * configure.ac: version 20130405 for TL'13.
2911
2912 2013-03-28 Akira Kakuto <[email protected]>
2913
2914 * src/dpxfile.c, src/spc_dvips.c: Recover dpx_create_temp_file()
2915 for PSTricks.
2916
2917 2013-03-26 Peter Breitenlohner <[email protected]>
2918
2919 * src/dpxfile.[ch]: Avoid gcc warnings.
2920
2921 2013-03-26 Akira Kakuto <[email protected]>
2922
2923 * src/dvi.c: Correct my mistake to delete RELEASE(q).
2924
2925 2013-03-25 Peter Breitenlohner <[email protected]>
2926
2927 Patch from Tsuchimura Nobuyuki <[email protected]> to
2928 speed up inclusion of eps figures.
2929 * data/dvipdfmx.cfg, src/dpxfile.[ch], src/dvi.c,
2930 src/dvicodes.h, src/dvipdfmx.c, src/pdfximage.c, src/vf.c:
2931 Applied with small modifications to avoid compiler warnings,
2932 adapted for WIN32 by Akira Kakuto.
2933
2934 2013-03-24 Akira Kakuto <[email protected]>
2935
2936 * src/dpxfile.c: Change dpx_create_temp_file() because tmpnam()
2937 sometimes fails on Windows.
2938
2939 2013-03-20 Khaled Hosny <[email protected]>
2940
2941 Only for xdvipdfmx:
2942 * spc_dvips.c (spc_handler_ps_tricks_pdef, spc_handler_ps_tricks_tdef,
2943 spc_handler_ps_tricks_bput, spc_dvips_at_begin_document, calculate_PS):
2944 Don't crash when temporary file creation fail.
2945
2946 2013-03-15 Peter Breitenlohner <[email protected]>
2947
2948 Only for xdvipdfmx:
2949 * dvi.c (dvi_locate_native_font): Drop unused variable.
2950
2951 2013-03-14 Khaled Hosny <[email protected]>
2952
2953 Only for xdvipdfmx:
2954 * src/dvi.c, src/dvicodes.h, vf.c: Revert "Support DVI-IVD inspired text
2955 reflection for XeTeX".
2956 * src/fontmap.c: Remove commented out old Mac code.
2957 * src/fontmap.c (pdf_load_native_font_from_path, pdf_load_native_font):
2958 Merge.
2959 * src/dvi.c, src/fontmap.c, src/fontmap.h: Ignore native font family and
2960 style names that we no longer use.
2961 * src/dvi.c (read_native_font_record, do_native_font_def): Don't check
2962 for XDV_FLAG_FONTTYPE_* flags as they do nothing.
2963 * src/dvi.c (do_glyph_array): Use FT_Get_Advance() instead of the slower
2964 FT_Load_Glyph().
2965 * src/dvi.c, src/fontmap.c, src/fontmap.h: Drop no longer needed
2966 glyph_widths cache.
2967 * dvi.c: Drop unneeded includes.
2968
2969 2013-02-25 Peter Breitenlohner <[email protected]>
2970
2971 * src/dpxutil.[ch]: Reduce dvipdfmx/xdvipdfmx diffs.
2972 * src/fontmap.[ch]: Copied from xdvipdfmx to dvipdfmx.
2973 * src/agl.c: Copied from dvipdfmx to xdvipdfmx.
2974
2975 Only for xdvipdfmx:
2976 * src/fontmap.c, src/pdfnames.c, src/pdfobj.c, src/spc_pdfm.c,
2977 src/tt_cmap.c: Adapt to modified definition of ht_*_table().
2978
2979 2013-02-22 Khaled Hosny <[email protected]>
2980
2981 Only for xdvipdfmx:
2982 * src/fontmap.c (pdf_load_native_font_from_path): Fix loading font files
2983 without an extension (e.g. Mac suitcase fonts).
2984
2985 2013-02-21 Khaled Hosny <[email protected]>
2986
2987 Only for xdvipdfmx:
2988 * src/tt_cmap.c (handle_subst_glyphs): Use FT_Get_Glyph_Name() instead of
2989 reading 'post' table directly, to handle CFF fonts where the 'post' table
2990 has no glyph names.
2991 * rc/tt_cmap.c (create_ToUnicode_cmap4, create_ToUnicode_cmap12,
2992 otf_create_ToUnicode_stream): Adapt.
2993
2994 2013-02-15 Khaled Hosny <[email protected]>
2995
2996 Only for xdvipdfmx:
2997 * src/cidtype2.c: Fix loading *.dfont files on non-Mac platforms.
2998 * src/fontmap.c: Don't include unused ApplicationServices headers
2999 * configure.ac src/Makefile.am: Don't check for now unused Apple
3000 ApplicationServices.
3001
3002 2013-02-12 Khaled Hosny <[email protected]>
3003
3004 Only for xdvipdfmx:
3005 * src/dpxfile.c, src/dpxfile.h (dpx_find_dfont_file): Make public.
3006 * src/fontmap.c (pdf_load_native_font_from_path): Fix loading *.dfont files.
3007 * src/fontmap.c (pdf_load_native_font): Drop use of deprecated ATS API, all
3008 native fonts should be given as file names.
3009 * src/fontmap.c (pdf_load_native_font): Show failed font name in error
3010 message.
3011
3012 2013-02-08 Peter Breitenlohner <[email protected]>
3013
3014 * data/Makefile.am (configdatadir, mapdatadir, cmapdatadir):
3015 Change texmf => texmf-dist.
3016
3017 2013-01-29 Peter Breitenlohner <[email protected]>
3018
3019 Only for dvipdfmx:
3020 * configure.ac, src/Makefile.am: Allow subdir-objects.
3021
3022 2013-01-21 Peter Breitenlohner <[email protected]>
3023
3024 Only for xdvipdfmx:
3025 * src/dvi.c: Avoid unused variables sbuf and slen.
3026
3027 2013-01-19 Khaled Hosny <[email protected]>
3028
3029 Only xdvipdfmx:
3030 * src/dvi.c, src/dvicodes.h: Support DVI-IVD inspired text reflection
3031 for XeTeX.
3032 * src/vf.c: Adapt
3033 * src/dvi.c: Drop code for ancient FreeType 2.2.0
3034 * src/fontmap.c, src/fontmap.h: Drop no longer use FreeType version
3035 variables.
3036
3037 2013-01-11 Peter Breitenlohner <[email protected]>
3038
3039 Reduce dvipdfmx/xdvipdfmx diffs.
3040
3041 Only for dvipdfmx:
3042 src/Makefile.am: Use AM_CPPFLAGS instead of dvipdfmx_CPPFLAGS.
3043 src/cid.[ch], src/cid_p.h, src/cid_p.h, src/dvicodes.h,
3044 src/fontmap.h, src/pdffont.[ch], src/sfnt.[ch], src/t1_load.c,
3045 src/tt_glyf.c, src/tt_gsub.c: Copied from ../xdvipdfmx.
3046
3047 Only for xdvipdfmx:
3048 * src/agl.c: Definition of hval_free() moved up.
3049 * src/pdffont.h: Added #ifdef XETEX ... #endif.
3050 * src/t1_load.c: Added #ifdef XETEX ... #else ... #endif.
3051 * src/dpxconf.[ch], src/dpxcrypt.[ch]: Copied from ../dvipdfmx.
3052 * src/sfnt.c: '#if HAVE_CONFIG_H' => '#ifdef HAVE_CONFIG_H'.
3053
3054 2013-01-10 Akira Kakuto <[email protected]>
3055
3056 * read_v2_post_names() in tt_post.c: Change calculation of post->count
3057 for special fonts with unused index.
3058
3059 2013-01-10 Peter Breitenlohner <[email protected]>
3060
3061 * src/cid.c: Avoid casts (const char *) -> (char *).
3062
3063 2013-01-09 Peter Breitenlohner <[email protected]>
3064
3065 Avoid various gcc-4.6 warnings.
3066 * src/cidtype2.c, src/dvipdfmx.c, src/fontmap.c, src/otl_conf.c,
3067 src/pdfencoding.c, src/spc_pdfm.c, src/tt_cmap.c: Do not use
3068 unsafe casts (char **) -> (const char **).
3069 * src/bmpimage.c, src/cidtype0.c, src/cidtype2.c, src/dvi.c,
3070 src/jpegimage.c, src/pdffont.c, src/pkfont.c, src/spc_pdfm.c,
3071 src/tt_aux.c, src/tt_cmap.c, src/tt_glyf.c, src/tt_post.c,
3072 src/type1.c, src/type1c.c: Drop set but unused variables.
3073 src/pdfdraw.c: Do not test '(&v) != NULL', this is always true.
3074
3075 2012-12-12 Khaled Hosny <[email protected]>
3076
3077 * src/tt_cmap.c: Make sure CMapName of embedded CMaps does not contain
3078 slashes.
3079
3080 2012-12-11 Khaled Hosny <[email protected]>
3081
3082 Only for xdvipdfmx:
3083 * src/tt_cmap.c: Fix crash with fonts that has some glyphs without name
3084 entries in 'post' table.
3085
3086 2012-11-20 Peter Breitenlohner <[email protected]>
3087
3088 Only for xdvipdfmx:
3089 * src/Makefile.am: Avoid use of deprecated INCLUDES.
3090
3091 2012-09-24 Peter Breitenlohner <[email protected]>
3092
3093 Only for dvipdfmx:
3094 * version.ac (removed): We now maintain dvipdfmx here.
3095 * configure.ac: Adapted.
3096
3097 2012-09-21 Karl Berry <[email protected]>
3098
3099 * many files: remove useless $Header$ from old repo,
3100 do not point to dvipdfmx@ email address any more.
3101
3102 2012-09-19 Peter Breitenlohner <[email protected]>
3103
3104 * ChangeLog.TL (removed): Now merged ...
3105 * ChangeLog: ... into this.
3106
3107 2012-09-07 Akira Kakuto <[email protected]>
3108
3109 Only for xdvipdfmx:
3110 * fontmap.c: unused function pdf_clear_fontmaps
3111 * fontmap.h: unused function pdf_clear_fontmaps
3112 * pdfcolor.c: unused functions pdf_get_colorspace_num_components,
3113 pdf_get_colorspace_subtype
3114 * pdfcolor.h: unused functions pdf_get_colorspace_num_components,
3115 pdf_get_colorspace_subtype
3116 * pdfdev.c: unused functions pdf_dev_currentfont, pdf_dev_get_font_ptsize
3117 * pdfdev.h: unused functions pdf_dev_currentfont, pdf_dev_get_font_ptsize
3118 * pdfdraw.c: unused functions static int pdf_coord__itransform,
3119 pdf_dev_setflat, pdf_dev_itransform, pdf_dev_rectstroke
3120 * pdfdraw.h: unused functions pdf_dev_setflat, pdf_dev_itransform,
3121 pdf_dev_rectstroke
3122 * pdffont.c: unused functions pdf_get_font_fontname, pdf_font_get_flags
3123 * pdffont.h: unused functions pdf_get_font_fontname, pdf_font_get_flags
3124 * pdfobj.c: unused functions pdf_put_array, pdf_shift_array,
3125 pdf_pop_array, pdf_put_dict, pdf_stream_set_flags, pdf_stream_get_flags
3126 * pdfobj.h: unused functions pdf_put_array, pdf_shift_array,
3127 pdf_pop_array, pdf_put_dict, pdf_stream_set_flags, pdf_stream_get_flags
3128 * type0.c: unused function Type0Font_get_encoding
3129 * type0.h: unused function Type0Font_get_encoding
3130
3131 2012-09-06 Khaled Hosny <[email protected]>
3132
3133 Only for xdvipdfmx:
3134 * configure.ac, src/fontmap.c, src/Makefile.am: Remove FontConfig
3135 dependency, as it is not needed anymore with recent XeTeX.
3136
3137 2012-08-31 Peter Breitenlohner <[email protected]>
3138
3139 Reduce TL/W32TeX diffs.
3140 * src/cidtype0.c, src/cidtype2.c, src/cmap_write.c, src/mpost.c,
3141 src/truetype.c, src/tt_cmap.c, src/tt_gsub.c, src/tt_post.c:
3142 Cast function args to avoid WIN32 (MSVC) warnings.
3143 * src/pdfobj.c (pdf_out_xchar): Reformulate to avoid MSVC warnings.
3144 * src/xbb.c (show_usage): Correctly report .bb or .xbb as default.
3145
3146 Only for xdvipdfmx:
3147 * src/xbb.c: Always use binary mode for output file.
3148
3149 Only for xdvipdfmx:
3150 * src/pdfencrypt.c (getpass) [WIN32]: Use "*" to `echo' password.
3151 * src/dvipdfmx.c (main) [WIN32]: Call texlive_gs_init().
3152 * src/dvi.c (dvi_init): Fix logic for appending ".dvi" or ".xdv".
3153 * spc_dvips.c: Use binary mode for all file io.
3154 [WIN32]: Use gswin32c; avoid memory leak.
3155
3156 2012-08-26 Akira Kakuto <[email protected]>
3157
3158 Only for dvipdfmx:
3159 * src/tt_table.c (tt_read_hhea_table),
3160 src/tt_post.c (read_v2_post_names),
3161 src/cc_tmap.c (otf_load_Unicode_CMap): typos.
3162
3163 2012-08-26 Khaled Hosny <[email protected]>
3164
3165 Only for xdvipdfmx:
3166 * src/agl.c: Reduce differences with dvipdfmx.
3167 * BUGS, NEWS, TODO, contrib/*, doc/*, index.html, style_base.css,
3168 style_dflt.css, style_ie.css, style_plain.css: Remove files removed
3169 from dvipdfmx.
3170 * data/*: Sync with dvipdfmx.
3171
3172 2012-08-23 Khaled Hosny <[email protected]>
3173
3174 Only for dvipdfmx:
3175 * src/Makefile.am: Remove mention of non-existent files.
3176
3177 Only for xdvipdfmx:
3178 * src/dvipdfmx.c, src/mem.c, src/mem.h, src/xbb.c, src/dvipdfmx.c,
3179 src/mem.c, src/mem.h, src/xbb.c: Remove memory debugging code.
3180 * src/agl.c, src/agl.h: Remove the built-in AGL name list to minimize
3181 difference with dvipdfmx.
3182 * src/agl_standard.c, src/mk_agl_standard_c.pl: Removed.
3183 * src/asl_charset.h: Removed unused file.
3184 * src/Makefile.am: Adapted.
3185
3186 2012-08-21 Akira Kakuto <[email protected]>
3187
3188 * src/tt_post.c (read_v2_post_names): support large truetype fonts
3189 which are strictly speaking out of spec, idx > 32767.
3190 * src/dvipdfmx.c: support monocase filesystem.
3191
3192 2012-08-21 keiichirou shikano <[email protected]>
3193
3194 * src/cff.c, src/cff.h. src/type1.c: fix type1 SEAC bug.
3195
3196 2012-08-21 Peter Breitenlohner <[email protected]>
3197
3198 Only for dvipdfmx:
3199 * src/dpxfile.c: Drop tests for __TDS_VERSION__.
3200 * configure.ac: Drop definition of __TDS_VERSION__.
3201
3202 Only for xdvipdfmx:
3203 Try to avoid mem_debug_check warning.
3204 * spc_dvips.c (spc_dvips_at_end_document): Free ps_headers.
3205
3206 2012-08-20 Peter Breitenlohner <[email protected]>
3207
3208 Only for dvipdfmx:
3209 Flatten, i.e., remove dvipdfmx-20120420/.
3210 * Makefile.am (EXTRA_DIST): Drop $(DVIPDFMX_TREE){,-PATCHES}.
3211 * configure.ac: Drop DVIPDFMX_TREE.
3212 * version.ac (removed): Obsolete.
3213
3214 2012-08-20 Khaled Hosny <[email protected]>
3215
3216 Only for dvipdfmx:
3217 * src/dvipdfmx.c, src/mem.c, src/mem.h, src/xbb.c, src/dvipdfmx.c,
3218 src/mem.c, src/mem.h, src/xbb.c: Remove memory debugging code.
3219
3220 2012-08-18 Akira Kakuto <[email protected]>
3221
3222 Only for xdvipdfmx:
3223 * dvi.c: Fix a bug in dvi_init(). The old one fails for dvi or xdv
3224 files of very short name. For example "xdvipdfmx t" fails for t.xdv.
3225
3226 2012-08-18 Khaled Hosny <[email protected]>
3227
3228 Only for dvipdfmx:
3229 Move contents of dvipdfmx-20120420 to the top directory
3230 * Makefile.am, configure.ac, data/Makefile.am, man/Makefile.am,
3231 src/Makefile.am: Adapted.
3232 * configure.in, m4/cho-kpse.m4, m4/cho-libs.m4, m4/maw-time.m4:
3233 Removed.
3234
3235 2012-05-21 Norbert Preining <[email protected]>
3236
3237 Only for dvipdfmx:
3238 * patch-05-cid-x_map (new): add entries for rml-jis and gbm-jis
3239
3240 2012-05-06 Akira Kakuto <[email protected]>
3241
3242 * fontmap.c: fix a typo. allow pdftex.map without PS name.
3243
3244 2012-04-27 Peter Breitenlohner <[email protected]>
3245
3246 Reduce dvipdfmx/xdvipdfmx diffs.
3247 * cid.[ch], cidtype[02].c, dpxutil.[ch], pdfdoc.[ch],
3248 mem.[ch], truetype.c, tt_cmap.c, type1c.c: Trivial changes.
3249
3250 2012-04-25 Peter Breitenlohner <[email protected]>
3251
3252 Try to avoid mem_debug_check warning.
3253
3254 Only for dvipdfmx:
3255 * mem.c: Increase MEM_LINE, avoid C99-ism, add [email protected].
3256
3257 Only for xdvipdfmx:
3258 * mem.h: Enable use of MEM_DEBUG.
3259 * mem.c: Increase MEM_LINE, avoid C99-ism, add [email protected].
3260 * dvipdfmx.c (main): Enable mem_debug_check().
3261
3262 For both:
3263 * spc_pdfm.c (spc_handler_pdfm_stream_with_type): Free fullname.
3264
3265 2012-04-21 Peter Breitenlohner <[email protected]>
3266
3267 Only for dvipdfmx:
3268 * dvipdfmx.c (show_version): Print "modified for TeX Live,".
3269
3270 2012-04-20 Alexander Grahn <[email protected]>
3271
3272 * src/spc_pdfm.c: use kpse to find media
3273
3274 2012-04-20 Norbert Preining <[email protected]>
3275
3276 * src/dvipdfmx.c: add a new directive "i" for reading subsidiary
3277 config files
3278 * data/dvipdfmx.cfg: document the new directive
3279
3280 Only for dvipdfmx:
3281 Imported snapshot 20120420.
3282 * version.ac, man/dvipdfm.1: Adapted.
3283
3284 2012-04-14 Khaled Hosny <[email protected]>
3285
3286 * src/spc_dvips.c: Fixed bug in "ps: plotfile" special.
3287
3288 2012-03-29 Peter Breitenlohner <[email protected]>
3289
3290 Remove extern decls from *.c files.
3291
3292 * dpxfile.c: Drop obsolete comment that mkstemp may not be
3293 declared in stdlib.h.
3294 * spc_color.c: Drop 'extern' from function definition.
3295 * error.h: ANSI C prototype for error_cleanup().
3296 * error.c: Drop extern decl, now in error.h.
3297 * dvipdfmx.c: Add '#include "error.h"' and drop extern decl.
3298
3299 Only for xdvipdfmx:
3300 * dvi.c: Move extern decls from here ...
3301 * dvi.h: ... to here ...
3302 * fontmap.h: ... and here.
3303 * tt_aux.c: Move extern decl from here ...
3304 * tt_aux.h: ... to here ...
3305 * dvipdfmx.c: ... and #include "tt_aux.h".
3306
3307 2012-03-05 Peter Breitenlohner <[email protected]>
3308
3309 * pdfdev.c (handle_multibyte_string): Handle UTP-16 surrogates
3310 for UCS-4 supplementary planes.
3311 Based on patch from Tanaka Takuji-san.
3312
3313 2012-03-04 Peter Breitenlohner <[email protected]>
3314
3315 Only for xdvipdfmx:
3316 Avoid 'the address of XXX will always evaluate as true' warnings.
3317 * pdfdraw.c (m_stack_depth): Use '(s) != NULL' instead of '(s)'.
3318 Gcc >=4.3 produces identical code but -Wall yields no warning.
3319
3320 2012-02-28 Peter Breitenlohner <[email protected]>
3321
3322 Only for xdvipdfmx:
3323 * configure.ac: Fixed a typo (no libpaper for TeX Live builds).
3324
3325 2012-01-17 Hironori Kitagawa <[email protected]>
3326
3327 Only for dvipdfmx:
3328 * dvi.c, pdfdev.c: Support for (e-)(u)pTeX dtou direction.
3329
3330 2011-12-06 Peter Breitenlohner <[email protected]>
3331
3332 * data/Makefile.am:
3333 Replace ${prefix}/texmf => $(datarootdir)/texmf.
3334
3335 2011-11-06 Akira Kakuto <[email protected]>
3336
3337 Only for xdvipdfmx:
3338 * spc_pdfm.c: fix a typo in spc_handler_pdfm_dest().
3339 reencode also the destination in \special{pdf:dest ...} to UTF-16.
3340
3341 2011-11-05 Akira Kakuto <[email protected]>
3342
3343 Only for dvipdfmx:
3344 * dvi.c, spc-pdfm.c, tfm.c and vf.c: remove incompatible lines
3345 with the non-upTeX case and erase #ifdef upTeX.
3346
3347 2011-10-18 Peter Breitenlohner <[email protected]>
3348
3349 Only for xdvipdfmx:
3350 * tt_cmap.c: Fix typo "featre" -> "feature".
3351
3352 2011-09-07 Akira Kakuto <[email protected]>
3353
3354 Only for xdvipdfmx:
3355 * dvi.c, spc-pdfm.c, tfm.c and vf.c: apply patches by Takuji Tanaka
3356 in order to support (e)-upTeX. The (e)-upTeX support is enabled by
3357 defining upTeX. In the case -DupTeX, the dvipdfmx must be compatible
3358 with the old one, which can be obtained without -DupTeX.
3359
3360 2011-06-15 Peter Breitenlohner <[email protected]>
3361
3362 * configure.ac (AC_TYPE_UINT32_T): Portability fix for AIX.
3363 * dpxcrypt.c: Use headers as in configure test for uint32_t.
3364
3365 Only for dvipdfmx:
3366 * patch-02-exec_spawn (new): Bug fix for exec_spawn() from
3367 Akira Kakuto <[email protected]> and Peter Breitenlohner.
3368
3369 2011-06-06 Peter Breitenlohner <[email protected]>
3370
3371 * dpxfile.c (exec_spawn): Do not quote execvp() arguments.
3372
3373 2011-06-03 Peter Breitenlohner <[email protected]>
3374
3375 * dpxfile.c (exec_spawn): Exit if execvp() fails, some clean up.
3376
3377 2011-06-03 Akira Kakuto <[email protected]>
3378
3379 * dpxfile.c: fix a bug in exec_spawn().
3380
3381 2011-05-31 Peter Breitenlohner <[email protected]>
3382
3383 Only for dvipdfmx:
3384 * man/extractbb.1: Update extractbb manpage.
3385
3386 2011-05-09 Peter Breitenlohner <[email protected]>
3387
3388 Only for dvipdfmx:
3389 * ../dvipdfmx-20110311/data/dvipdfmx.cfg: Synched from Master.
3390 * patch-00-cfg: Adapted (by Karl Berry <[email protected]>).
3391
3392 2011-05-03 Peter Breitenlohner <[email protected]>
3393
3394 Only for dvipdfmx:
3395 Imported snapshot 20110311.
3396 * configure.ac: Adapted.
3397
3398 2011-04-29 Peter Breitenlohner <[email protected]>
3399
3400 Only for dvipdfmx:
3401 * patch-00-cfg (new): Change dvipdfmx.cfg to use rungs instead of
3402 the default ps2pdf -dSAFER, to avoid complete pstricks failure with
3403 xetex.
3404
3405 2011-04-18 Peter Breitenlohner <[email protected]>
3406
3407 Only for xdvipdfmx:
3408 * src/fontmap.c [OS X]: #include FT_MAC_H to get prototype for
3409 FT_GetFilePath_From_Mac_ATS_Name().
3410
3411 2011-03-11 Jin-Hwan Cho <[email protected]>
3412
3413 * dpxcrypt.c:
3414 Applied the patch for 64bit systems; suggested by Akira Kakuto.
3415
3416 2011-03-10 Peter Breitenlohner <[email protected]>
3417
3418 * src/*.[ch]: Remove trivial dvipdfmx/xdvipdfmx diffs.
3419
3420 Only for xdvipdfmx:
3421 * src/Makefile.am: Mark asl_charset.h as unused.
3422
3423 2011-03-09 Jin-Hwan Cho <[email protected]>
3424
3425 Only for dvipdfmx:
3426 * dpxfile.c, configure.in, man/extractbb.1:
3427 Applied the patches for TeX Live 2011 by Peter Breitenlohner.
3428
3429 2011-03-09 Akira Kakuto <[email protected]>
3430
3431 Only for xdvipdfmx:
3432 * src/dvipdfmx.c, src/pdfencrypt.c and src/pdfencrypt.h:
3433 recover compute_id_string() for the consistency with dvipdfmx
3434 as much as possible.
3435
3436 2011-03-09 Peter Breitenlohner <[email protected]>
3437
3438 * configure.ac: Check for <sys/wait.h>, drop check for system().
3439 * src/pdfencrypt.c (compute_id_string): Drop unused function.
3440
3441 2011-03-09 Akira Kakuto <[email protected]>
3442
3443 * src/dpxfile.c: Avoid to use system().
3444
3445 2011-03-07 Peter Breitenlohner <[email protected]>
3446
3447 Only for dvipdfmx:
3448 * patch-01-dpxfile (new): Use concat3() instead of concatn().
3449 Avoid compiler warnings: add const's; cast `unsigned char' to
3450 `unsigned short' for printing.
3451 * patch-02-manpage (new): Add ebb to NAME; better formatting.
3452
3453 2011-03-07 Matthias Franz
3454
3455 * dvi.c, dvi.h, dvipdfmx.c, pdfencrypt.c, pdfencrypt.h, spc_pdfm.c:
3456 Added special pdf:encrypt to turn on document encryption from
3457 within the DVI file (suggested by Michael Joyner). Format:
3458 \special{pdf:encrypt ownerpw (abc) userpw (xyz) length 128 perm 252}
3459 If a parameter is omitted, the default value / empty password
3460 is used. The special must appear at the beginning of the file.
3461
3462 2011-03-05 Jin-Hwan Cho <[email protected]>
3463
3464 * dpxfile.c:
3465 Applied the secutiry patch written by Akira Kakuto
3466 (suggested by Karl Berry).
3467
3468 2011-02-28 Peter Breitenlohner <[email protected]>
3469
3470 * src/pngimage.c (create_cspace_ICCBased): Avoid libpng-1.5.x
3471 compiler warning.
3472
3473 2011-02-15 Peter Breitenlohner <[email protected]>
3474
3475 Only for dvipdfmx:
3476 * src/Makefile.am [WIN32]: Add dvipdfmx.exe, ebb.exe, and
3477 extractbb.exe wrappers for MinGW.
3478
3479 2010-02-11 Peter Breitenlohner <[email protected]>
3480
3481 Only for dvipdfmx:
3482 * man: New directory with manual pages (from Master).
3483 man/dvipdft.1 needs to be updated and man/dvipdfm.1 replaced by
3484 man/dvipdfmx.1 (with a link to dvipdfm.1).
3485 * Makefile.am, configure.ac: Adapted.
3486
3487 * man/extractbb.1, man/dvipdfm.1, dvipdft.1: Formatting.
3488
3489 2010-12-30 Peter Breitenlohner <[email protected]>
3490
3491 Only for dvipdfmx:
3492 * src/dvipdfmx.c: Check for argv[0] with .exe via strcasecmp().
3493
3494 2010-12-29 Peter Breitenlohner <[email protected]>
3495
3496 Only for dvipdfmx:
3497 * configure.ac, src/Makefile.am: Ignore shell script for WIN32.
3498
3499 2010-10-11 Matthias Franz
3500
3501 Only for dvipdfmx:
3502 * dvipdfmx.cfg:
3503 Added quotes around command line parameters %i and %o
3504 (suggested by Karl Berry).
3505
3506 2010-06-10 Peter Breitenlohner <[email protected]>
3507
3508 Avoid using "%hu" with fscanf/sscanf, for older Solaris.
3509 * src/pdfobj.c (pdf_open, check_for_pdf_version): Declare minor
3510 as unsigned int for use with "%u".
3511
3512 2010-06-08 Peter Breitenlohner <[email protected]>
3513
3514 Solaris9 doesn't support "%hhu".
3515 * src/dpxfile.c (dpx_file_apply_filter):
3516 Use (unsigned short) version with "%hu".
3517 * src/pdfobj.c (pdf_open, check_for_pdf_version): Declare minor
3518 as unsigned short for use with "%hu".
3519
3520 2010-05-29 Matthias Franz
3521
3522 * dpxfile.c, dpxfile.h, pdfobj.c, pdfximage.c:
3523 Further changes to fix the "%hhu" problem on Solaris 9.
3524
3525 2010-05-26 Matthias Franz
3526
3527 * pdfobj.c:
3528 Changed type of PDF minor number from char to short in
3529 check_for_pdf_version in order to fix a compilation problem with
3530 Solaris 9; reported by Ulrich Seidl.
3531
3532 2010-05-24 Matthias Franz
3533
3534 * dvipdfmx.cfg:
3535 Generate PDF 1.5 as default (suggested by Karl Berry).
3536
3537 2010-03-29 Peter Breitenlohner <[email protected]>
3538
3539 * configure.ac: Remove AC_TYPE_SIZE_T, now part of KPSE_COMMON.
3540
3541 2010-03-28 Jin-Hwan Cho <[email protected]>
3542
3543 * dvi.c, dvi.h, dvipdfmx.c, spc_pdfm.c:
3544 Implemented a new special \special{pdf: minorversion num} which
3545 will override the value given either by the configuration file
3546 or by the command line option; requested by Karl Berry.
3547
3548 2010-03-21 Jin-Hwan Cho <[email protected]>
3549
3550 * cidtype2.c:
3551 Assume that the output encoding of CMap files is UTF-16, not UCS2
3552 as the recent Adobe-Japan1-UCS2 shows; reported by Haruhiko Okumura
3553 and the patch were prepared by Akira Kakuto.
3554
3555 2010-02-22 Peter Breitenlohner <[email protected]>
3556
3557 * src/pngimage.c (check_for_png), src/xbb.c (check_for_png):
3558 Replace png_check_sig() by png_sig_cmp() for libpng-1.4.
3559 From Hanno Boeck <hanno@hboeck,de>.
3560
3561 2010-02-20 Peter Breitenlohner <[email protected]>
3562
3563 * src/sfnt.h: #define CHAR as SFNT_CHAR to avoid conflict with
3564 CHAR from <winnt.h>.
3565
3566 2010-02-07 Matthias Franz
3567
3568 * type1.c:
3569 Fixed bug caused by fonts without data for private dictionary.
3570 (The private dictionary was omitted instead of inserting an
3571 empty dictionary.) This caused problems with Acrobat Reader, for
3572 example with the dsrom10 font. Bug reported by Vladimir Vlasov.
3573
3574 2010-02-07 Jin-Hwan Cho <[email protected]>
3575
3576 * dvipdfmx.c, pdfdoc.c, pdfobj.h, pdfobj.c, pdfencrypt.h, pdfenctypr.c:
3577 Now the trailer always contains ID array to work Screen annotations
3578 under Adobe Reader 9.
3579
3580 2009-12-14 Matthias Franz
3581
3582 * dvipdfmx.c:
3583 Turn on quiet mode earlier if "-q" option is given.
3584
3585 2009-11-28 Matthias Franz
3586
3587 * spc_dvips.c:
3588 Fixed bug in "ps: plotfile" special, found by Alexander Bostroem.
3589
3590 2009-11-18 Matthias Franz
3591
3592 * man/extractbb.1, man/Makefile.am, Makefile.am, configure.in:
3593 Added man page for extractbb in new directory man. This
3594 addresses Debian bug #512357 and a request by Karl Berry.
3595
3596 2009-11-07 Peter Breitenlohner <[email protected]>
3597
3598 * configure.ac, src/dpxfile.c: Require recent kpathsea version.
3599
3600 2009-10-10 Jin-Hwan Cho <[email protected]>
3601
3602 * dvipdfmx.c, xbb.c:
3603 Change usage() as suggested by Matthias Franz and Karl Berry.
3604
3605 2009-10-09 Jin-Hwan Cho <[email protected]>
3606
3607 * dvipdfmx.c:
3608 Implemented the usual options --version and --help
3609 (suggested by Karl Berry.)
3610
3611 2009-09-19 Matthias Franz
3612
3613 * epdf.c, pdfdoc.c, pdfdoc.h, xbb.c:
3614 Bug fix: The number of pages in a PDF document as reported by
3615 extractbb was always 0. (The code for reporting the number of
3616 pages of a PDF file was accidentally removed during a previous
3617 modification.)
3618
3619 2009-09-18 Matthias Franz
3620
3621 * dpxutil.c, dpxutil.h and all calls to the changed functions:
3622 Polished code for hash tables. Now the function for freeing
3623 values is defined with ht_init_table. ht_append_table now
3624 produces an error if the key is already in use (but this
3625 could be changed easily). A new insert mode where a value
3626 does _not_ replace an existing value for the same key has
3627 been introduced, but there is no short name for it yet.
3628
3629 2009-09-02 Peter Breitenlohner <[email protected]>
3630
3631 Avoid more maximal compiler warnings:
3632 * src/pst_obj.c (pst_new_mark, pst_release_obj, pst_parse_null):
3633 Instead of casting a const string to non-const, make a copy and
3634 later free the copy.
3635
3636 2009-08-31 Peter Breitenlohner <[email protected]>
3637
3638 Avoid almost all maximal compiler warnings:
3639 * src/*.[ch]: Constify start/end pointer args and local vars.
3640 Rewrite all parsing routines to operate on const strings.
3641 Constify struct member strings. Drop or adjust casts.
3642 Cast a few non-const start pointers to 'const char **'.
3643 Use a few non-const local vars, not to modify const strings.
3644
3645 2009-08-30 Peter Breitenlohner <[email protected]>
3646
3647 Avoid some more maximal compiler warnings.
3648
3649 * src/tt_post.[ch] (tt_post_table): Constify struct member
3650 strings and drop casts.
3651 (macglyphorder): Declare 'const char**' not 'const char*const*'.
3652
3653 * src/truetype.c (selectglyph): Use additional const string local
3654 var and drop cast.
3655
3656 * src/dpxcrypt.[ch] (transform, MD5_write): Constify args.
3657 * src/pdfencrypt.c (compute_user_password): Drop cast.
3658
3659 * src/fontmap.c (chop_sfd_name): Drop useless cast.
3660 (substr): Constify string arg and local var.
3661 (strip_options): Constify local var and drop cast.
3662
3663 * src/cmap_write.c (CMap_create_stream): Constify cast.
3664 * src/pdfcolor.c (str2iccSig, iccp_check_colorspace,
3665 iccp_get_rendering_intent, iccp_unpack_header,
3666 iccp_get_checksum): Constify local vars and casts.
3667 * src/pdfencoding.[ch] (pdf_encoding_new_encoding,
3668 pdf_encoding_findresource): Constify args.
3669 * src/pdfobj.c (pdf_out): Constify cast.
3670 * src/specials.c (spc_exec_special): Drop useless casts.
3671
3672 Only for dvipdfmx:
3673 * src/pdfdoc.c (pdf_doc_add_goto): Constify local vars.
3674
3675 Only for xdvipdfmx:
3676 * src/fontmap.c (pdf_load_native_font): Constify local var and
3677 drop cast.
3678 * src/spc_dvips.c (spc_handler_ps_tricks_brotate,
3679 spc_handler_ps_tricks_transform): Constify local vars.
3680 (pstricks_key): Constify string members.
3681
3682 2009-08-30 Matthias Franz
3683
3684 * dvipdfmx.cfg:
3685 Turned on optimization of PDF destinations by default.
3686
3687 2009-08-28 Peter Breitenlohner <[email protected]>
3688
3689 Avoid some more compiler warnings.
3690
3691 Only for dvipdfmx:
3692 * src/pdfobj.c (parse_xref_stream): Drop inner declaration of
3693 size and use size_obj, not to shadow previous local (diff type).
3694 Rename local index=>index_obj, not to shadow string function.
3695
3696 Only for xdvipdfmx:
3697 Avoid zillions of 'initialization discards' warnings.
3698 src/agl.h, src/agl_standard.c, src/mk_agl_standard_c.pl:
3699 Constify string array 'agl_standard_names'.
3700 src/agl.c (agl_load_standard_names): Adjust.
3701
3702 Some "declaration of 'xxx' shadows ...". Among the remaining
3703 ones, those for 'distiller_template' in src/spc_dvips.c (local
3704 vs. global) should be looked at (FIXME).
3705 * src/pdfobj.c (parse_xref_stream): Drop inner declaration of
3706 size and use size_obj, not to shadow previous local (diff type).
3707 * src/epdf.c (pdf_get_page_content): Drop unnecessary inner
3708 declaration of content_new, not to shadow previous local.
3709
3710 2009-08-27 Matthias Franz
3711
3712 * truetype.c, type1.c, type1c.c:
3713 Changed precision in font widths arrays from 1.0 to 0.1.
3714 (Applies only to Type 1, Type 1C and TrueType, not PK fonts.)
3715
3716 2009-08-27 Peter Breitenlohner <[email protected]>
3717
3718 Avoid some more maximal compiler warnings.
3719
3720 * src/cff.[ch] (cff_get_sid, cff_add_string): Constify string arg.
3721 * src/cidtype2.c (find_tocode_cmap), src/cmap.c (CMap_decode_char),
3722 src/dpxfile.c (dpx_create_temp_file, dpx_file_apply_filter):
3723 Constify local vars and drop casts.
3724 * src/dpxutil.c (get_hash): Constify cast.
3725 * src/pdfnames.c (cmp_key), src/t1_char.c (stem_compare),
3726 tt_glyf.c (glyf_cmp): Constify local vars and adjust casts.
3727 * src/t1_load.[ch] (t1_get_standard_glyph): Constify return
3728 type and drop cast.
3729 * src/type1.c (pdf_font_load_type1): Constify local vars.
3730 * src/cidtype0.c (CIDFont_type0_t1cdofont,
3731 CIDFont_type0_t1dofont): Drop casts.
3732
3733 2009-08-26 Peter Breitenlohner <[email protected]>
3734
3735 Avoid some maximal compiler warnings.
3736
3737 * src/*.c: ANSI C function definitions, i.e., '()'=>'(void)'.
3738
3739 * src/agl.c (skip_capital, skip_modifier): Constify string args.
3740 (is_smallcap, agl_name_convert_unicode, put_unicode_glyph,
3741 agl_sput_UTF16BE, agl_get_unicodes): Constify local strings
3742 and drop casts.
3743 * src/xbb.c: Constify global strings.
3744
3745 2009-08-23 Matthias Franz
3746
3747 * epdf.c, pdfdoc.c, pdfdoc.h, pdfximage.c, pdfximage.h, xbb.c:
3748 Removed the feature of negative page numbers for PDF inclusion.
3749 It was never used and made the code more complicated.
3750
3751 * dvipdfmx.c, pdfximage.c:
3752 Changed the code for PS and PDF page inclusion:
3753 The function mkstemp on NetBSD may return the same name twice
3754 if the file has been deleted after the first call. (Reported
3755 by Jukka Salmi.) This interfered with our file name caching.
3756 Now we don't delete the temporary file after PS->PDF conversion,
3757 but cache the temporary file name instead. An advantage is that
3758 we don't have to convert the same file multiple times if several
3759 pages are imported.
3760
3761 2009-08-17 Jin-Hwan Cho <[email protected]>
3762
3763 * tt_post.c:
3764 Fixed the crashing bug with Mona font found by Alexis Ballier.
3765
3766 2009-07-17 Peter Breitenlohner <[email protected]>
3767
3768 * src/pdfximage.h: add prototype for pdf_ximage_get_subtype.
3769
3770 2009-07-08 Jin-Hwan Cho <[email protected]>
3771
3772 * dvipdfmx.c:
3773 Add -E option that enables DVIPDFM emulation mode in DVIPDFMx.
3774
3775 2009-07-07 Jin-Hwan Cho <[email protected]>
3776
3777 * pdfximage.c, pdfximage.h, spc_pdfm.c:
3778 Add pdf_ximage_set_attr() and pdf_ximage_get_subtype()
3779 to resolve the conflict with bmpsize package in dvipdfm
3780 emulation mode; reported by Heiko Oberdiek.
3781
3782 2009-06-20 Peter Breitenlohner <[email protected]>
3783
3784 * Makefile.am (AM_CFLAGS): enable compiler warnings.
3785 * src/pdfobj.c (pdf_file_new): declare as static.
3786
3787 2009-06-05 Peter Breitenlohner <[email protected]>
3788
3789 * configure.ac: replace '--enable-tetex-build' by
3790 '--enable-texlive-build' (automatic if configured as part of the
3791 TeXLive tree).
3792
3793 2009-06-04 Karl Berry <[email protected]>
3794
3795 Only for dvipdfmx:
3796 * src/Makefile.am (dist_bin_SCRIPTS): dvipdft.
3797 * src/dvipdft: revised script from Matthias to replace
3798 version in dvipdfm.
3799
3800 2009-05-27 Peter Breitenlohner <[email protected]>
3801
3802 Adapt to TL2009 build system.
3803
3804 2009-05-25 Peter Breitenlohner <[email protected]>
3805
3806 * configure.ac, src/Makefile.am: Do not use CPPFLAGS for
3807 required -I flags, leave it for the user.
3808
3809 2009-05-22 Jin-Hwan Cho <[email protected]>
3810
3811 * generic/pgf-doc-diff.version2cvs, generic/pgf-generic-diff.version2cvs:
3812 Removed the patches for the CVS version of pgf,
3813 because they are applied to the main stream.
3814
3815 2009-05-15 Peter Breitenlohner <[email protected]>
3816
3817 * pdfdoc.c (pdf_doc_get_page): Avoid C99isms
3818 (variable declaration not at the beginning of a block).
3819
3820 From Vladimir Volovich <[email protected]>
3821
3822 2009-05-10 Matthias Franz
3823
3824 * epdf.c:
3825 Don't try to convert included PDF files whose version number
3826 is higher than output file version. (If run as dvipdfm,
3827 conversion still occurs.)
3828
3829 * Makefile.am, Makefile.in, dvipdfmx.c, dvipdfmx.h, jpegimage.c, pngimage.c, xbb.c, xbb.h:
3830 Added dvipdfm compatibility mode. This mode is triggered
3831 if dvipdfmx is called as "dvipdfm", and likewise extractbb
3832 as "ebb". (The latter mode was already present.)
3833
3834 * dpxconf.c:
3835 Made predefined paper sizes match values given by libpaper.
3836
3837 2009-05-06 Jin-Hwan Cho <[email protected]>
3838
3839 * dvipdfmx.c, pdflimits.h, pdfobj.c:
3840 Improved PDF version handling.
3841
3842 * cmap_read.c:
3843 Fixed a silly bug; reported by Fumihito YOSHIDA.
3844
3845 2009-05-06 Matthias Franz
3846
3847 * cid.c, dvipdfmx.c, pdflimits.h, pdfobj.c:
3848 Fixed minor issues with PDF version handling, following
3849 a question by Akira Kakuto. The minimal and maximal
3850 PDF versions allowed are now defined in pdflimits.h.
3851
3852 2009-05-03 Matthias Franz
3853
3854 * dvipdfmx.c, epdf.c, epdf.h, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h, pdfximage.c, pdfximage.h, xbb.c:
3855 Improved PDF version handling. A "Version" entry in the
3856 document catalog is now honored. Moreover, dvipdfmx accepts
3857 to write PDF 1.7, and extractbb doesn't complain about PDF
3858 versions any more. Encryption keys too long for PDF 1.3 now
3859 lead to an error instead of a silent change of PDF version.
3860
3861 2009-05-02 Jin-Hwan Cho <[email protected]>
3862
3863 * tt_table.c:
3864 Fixed a bug of reading numOfExSideBearings; reported by
3865 Tomas Janousek.
3866
3867 2009-04-30 Matthias Franz
3868
3869 * dvipdfmx.cfg:
3870 Use ps2pdf for PS-to-PDF conversion on all platforms.
3871
3872 2009-04-29 Jin-Hwan Cho <[email protected]>
3873
3874 * spc_color.c, spc_pdfm.c, spc_util.c, spc_util.h:
3875 Allow changing strokecolor or fillcolor only; for example,
3876 "pdf:scolor Red []" changes fillcolor only and
3877 "pdf:scolor [] Red" changes strokecolor only, but
3878 "pdf:scolor Red" changes both fillcolor and strokecolor.
3879
3880 * pdfparse.c:
3881 Parse stream objects in a strict way as DVIPDFM because
3882 DVIPDFMx already has another specials for stream objects.
3883
3884 2009-04-26 Matthias Franz
3885
3886 * pdfobj.c:
3887 Don't print unnecessary newlines in PDF dictionaries.
3888
3889 * pdfobj.c, pdfobj.h, xbb.c:
3890 Added "%%HiResBoundingBox" and "%%PDFVersion" lines to
3891 extractbb output.
3892
3893 * dpxutil.c, dpxutil.h, dvipdfmx.c, pdfdoc.c,pdfdoc.h, pdfnames.c, pdfnames.h, pdfobj.c, pdfobj.h, spc_pdfm.c, specials.c, dvipdfmx.cfg:
3894 Rename PDF destinations to shorter names (in order to save
3895 space). Together with the removal of unused PDF destinations
3896 implemented previously, this is more or less equivalent to
3897 Heiko Oberdiek's LaTeX package "hypdestopt".
3898
3899 2009-04-20 Jin-Hwan Cho <[email protected]>
3900
3901 * pdfdoc.c:
3902 Bug fix: \special{pdf:bann} ... \special{pdf:eann} (e.g., \hyperlink)
3903 cause a problem when it was surrounded by the pair
3904 \special{pdf:bcontent} ... \special{\special{pdf:econtent}.
3905
3906 2009-04-19 Jin-Hwan Cho <[email protected]>
3907
3908 * generic/pgf-doc-diff.texlive2008, generic/pgf-generic-diff.texlive2008:
3909 Patches and a new dvipdfmx driver for PGF, Version 2.00
3910 included in texlive 2008.
3911
3912 * generic/pgfsys-dvipdfmx.def.version2, generic/pgfsys-dvipdfmx-patch.tex.version2:
3913 Removed contributed files because of new patch files
3914 pgf-doc-diff.texlive2008 and pgf-generic-diff.texlive2008.
3915
3916 2009-04-18 Jin-Hwan Cho <[email protected]>
3917
3918 * generic/pgf-doc-diff.version2cvs, generic/pgf-generic-diff.version2cvs:
3919 Patches and a new dvipdfmx driver for PGF, Version 2.00-cvs 20090418.
3920
3921 * contrib/context/spec-dpx.tex, contrib/latex/animate.sty.sample, color.sty.sample, dvipdfmx.def.sample, graphics.sty.sample, movie15.sty.sample, sample-imagemask.tex:
3922 Removed contributed files already applied to texlive 2008.
3923
3924 2009-04-08 Jin-Hwan Cho <[email protected]>
3925
3926 * t1_load.c:
3927 Ignores the second /Subrs dicts and /CharStrings not followed
3928 by dict; Adobe's OPO_____.PFB and OPBO____.PFB had those problems.
3929
3930 2009-04-07 Matthias Franz
3931
3932 * xbb.c:
3933 Removed binary mode option "-b". In ebb, just ignore it.
3934
3935 2009-03-30 Jin-Hwan Cho <[email protected]>
3936
3937 * pdfdoc.c:
3938 Fixed the bug: bbox->llx is not extracted for PDF images.
3939
3940 2009-03-29 Matthias Franz
3941
3942 * xbb.c:
3943 Changed output-to-stdout option to "-O".
3944
3945 2009-03-24 Jin-Hwan Cho <[email protected]>
3946
3947 * cff.c, dpxutil.c, pdfencoding.c, pdfencrypt.c, mem.c:
3948 Revive system.h to work with TeXLive.
3949
3950 2009-03-23 Matthias Franz
3951
3952 * dvipdfmx.c, jpegimage.c, jpegimage.h, pngimage.c, pngimage.h, xbb.c:
3953 Several changes related to xbb/extractbb:
3954 Combined code with jpegimage.c and pngimage.c, added number
3955 of pages to xbb output for PDF files, introduced quiet mode
3956 (option "-q") and output to stdout (option "-s"), improved test
3957 of filename check in dvipdfmx.c (now uses <libgen.h>), new
3958 version numbering for xbb (same as dvipdfmx version)
3959
3960 2009-03-16 Matthias Franz
3961
3962 * pdfdev.c, pdfdraw.c, spc_html.c, spc_pdfm.c, spc_tpic.c:
3963 Added comments to show the PDF operators inserted by each
3964 call of pdf_doc_add_page_content. This makes it easier to
3965 find out which part of the source is responsible for a PDF
3966 operator in the output. Example:
3967
3968 pdf_doc_add_page_content(work_buffer, len); /* op: q cm *
3969
3970 2009-03-16 Peter Breitenlohner <[email protected]>
3971
3972 * src/cff.c, src/dpxutil.c, src/mem.c, src/pdfencoding.c,
3973 src/pdfencrypt.c: Must include Kpathsea headers (via `system.h')
3974 before including `mem.h'.
3975
3976 2009-03-15 Jin-Hwan Cho <[email protected]>
3977
3978 * data/Makefile.am, data/Makefile.in, data/EUC-UCS2:
3979 Revive the cmap EUC-UCS2; suggested by Nobuyuki Tsuchimura.
3980
3981 2009-03-12 Matthias Franz
3982
3983 * dvipdfmx.c:
3984 Don't print messages in quiet mode.
3985
3986 * dpxfile.c, dpxfile.h, pdfximage.c, data/dvipdfmx.cfg:
3987 Added conversion specifier "%v" (PDF version) to PS-to-PDF
3988 conversion template. Also changed default template for
3989 GhostScript to use the script ps2pdf instead of calling gs
3990 directly. (This works for all platforms.)
3991
3992 * pdfobj.c:
3993 Fixed a bug concerning empty PDF strings: Empty PDF strings
3994 were reduced to NULL, which could lead to errors when calling
3995 string functions.
3996
3997 2009-01-15 Jin-Hwan Cho <[email protected]>
3998
3999 * specials.c:
4000 Apply Jonathan Kew's fix reported on August 7, 2008.
4001 (Sorry that it was too late!)
4002
4003 2008-12-11 Matthias Franz
4004
4005 * xbb.c:
4006 Fixed an off-by-one and an off-by-two error in the generation
4007 of output file names for extractbb.
4008 (Debian bug #506329, reported by G\'abor Braun.)
4009
4010 * mpost.c, pdfcolor.c, pdfcolor.h, pdfdev.c, pdfdev.h, pdfdoc.c, pdfdraw.c, pdfdraw.h, spc_color.c, spc_pdfm.c:
4011 Polished the code for color support. PDF color operators will
4012 not be generated any more if old and new color coincide.
4013
4014 2008-11-30 Matthias Franz
4015
4016 * spc_tpic.c:
4017 Polished code.
4018
4019 * pdfdev.c, spc_html.c:
4020 Concatenated transformation matrices for images.
4021
4022 * data/dvipdfmx.cfg, dvipdfmx.c, pdfdoc.c:
4023 Fixed two problems with removal of PDF destinations: Non-link
4024 annotations produced a warning, and broken links were not
4025 detected if no valid destination existed.
4026 Removing unused destinations is now default behaviour and can
4027 be prevented by using the flag "-C 0x10". Since the feature
4028 is still new, this flag is set in dvipdfmx.cfg.
4029
4030 * spc_color.c, spc_color.h, spc_dvips.c, spc_dvips.h, spc_misc.c, spc_misc.h, spc_pdfm.c, spc_pdfm.h, specials.c:
4031 Removed unnecessary (no-op) handlers for specials.
4032
4033 * cid.c, cid.h, dpxconf.c, dpxconf.h, dvi.c, dvi.h, fontmap.c, fontmap.h, numbers.c, numbers.h, pdfcolor.c, pdfcolor.h, pdfdev.c, pdfdev.h, pdfdoc.c, pdfdoc.h, pdfdraw.c, pdfdraw.h, pdffont.c, pdffont.h, pdfobj.c, pdfobj.h, pdfresource.c, pdfresource.h, pst_obj.c, pst_obj.h, tfm.c, tfm.h, tt_table.c, tt_table.h, type0.c, type0.h:
4034 Commented out unused functions.
4035
4036 2008-11-08 Matthias Franz
4037
4038 * pdfcolor.c, pdfcolor.h, spc_tpic.c:
4039 Made tpic specials respect color settings. Before, they
4040 always used black for drawing commands.
4041 (Debian bug #485567, reported by Daniel Skorka.)
4042
4043 2008-11-03 Matthias Franz
4044
4045 * dpxutil.c, dvipdfmx.c, mem.c, pdfdoc.c, pdfdoc.h, pdfnames.c, pdfnames.h:
4046 Remove unused PDF destinations. (Packages like hyperref
4047 create destinations regardless of whether they are used
4048 or not.) This option is currently turned off by default;
4049 it can be enabled with "-C 0x10".
4050
4051 * dvipdfmx.c:
4052 Improved parsing of "-v" command line option; contributed
4053 by Akira Kakuto. Note that there are still problems if an
4054 argument to an option (or the name of the DVI file) starts
4055 with a minus sign
4056
4057 * pkfont.c:
4058 Corrected bounding box computation for PK fonts. Before,
4059 it was always [0, 0, 0, 0]. Also removed a redundant call
4060 to pdf_encoding_add_usedchars.
4061
4062 2008-10-13 Matthias Franz
4063
4064 * cff.c, cff.h, cff_dict.c, cidtype0.c, pdfdev.c, t1_load.c, type1.c, type1c.c:
4065 Various speed improvements:
4066 cff.c: cff_add_string now has an option to avoid checking for
4067 duplicate strings.
4068 pdfdev.c: p_dtoa does not call library functions any more.
4069 t1_load.c: t1_decrypt is not called for each byte seperately
4070 any more. (Well, this does not make a big difference.)
4071
4072 2008-09-29 Matthias Franz
4073
4074 * epdf.c, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h, xbb.c:
4075 Made PDF parsing more robust. In particular, we can now
4076 detect (illegal) loops in a PDF document hierarchy.
4077 Also, much of the PDF parsing code in epdf.c and xbb.c has
4078 been combined to the function pdf_doc_get_page in pdfdoc.c.
4079 Loops in PDF page trees are detected as well.
4080 Moreover, the various bounding boxes of a page are now
4081 handled correctly: MediaBox and CropBox are inherited,
4082 but not the others.
4083
4084 2008-08-31 Matthias Franz
4085
4086 * type1.c:
4087 Fixed a bug when processing "seac" operators in Type 1
4088 fonts. If the base or accent char were not used otherwise,
4089 an "Invalid SID" error could occur.
4090
4091 2008-08-05 Matthias Franz
4092
4093 * type1c.c:
4094 Fixed a buffer overflow when using 256 glyphs of a CFF font
4095 (plus ".notdef").
4096
4097 2008-08-04 Matthias Franz
4098
4099 * type1c.c:
4100 Fixed a segfault when processing CFF fonts.
4101
4102 2008-07-16 Matthias Franz
4103
4104 * pdfnames.c, pdfobj.c, pdfobj.h:
4105 Replaced pdf_copy_object by the (almost) equivalent,
4106 but simpler function pdf_transfer_label. Simplified
4107 pdf_compare_reference.
4108
4109 * pdfnames.c:
4110 Reintroduced warning about duplicate object keys.
4111
4112 2008-06-20 Jin-Hwan Cho <[email protected]>
4113
4114 * spc_pdfm.c:
4115 Fixed a bug on beads with nonzero depth; reported by
4116 Alexander Grahn.
4117
4118 2008-06-13 Jin-Hwan Cho <[email protected]>
4119
4120 * spc_pdfm.c:
4121 Fixed a bug on annotations with nonzero depth; reported by
4122 Alexander Grahn.
4123
4124 2008-06-07 Jin-Hwan Cho <[email protected]>
4125
4126 * contrib/latex/movie15.sty.sample:
4127 Support movie15.sty, version 2008/01/16.
4128
4129 * pdfobj.c, pdfobj.h, pdfparse.c, spc_pdfm.c, pdfnames.c:
4130 Allow PDF stream of length zero and suppress some warning messages.
4131
4132 2008-06-06 Jin-Hwan Cho <[email protected]>
4133
4134 * contrib/latex/animate.sty.sample:
4135 Support animate.sty, version 2008/06/03.
4136
4137 2008-06-05 Jin-Hwan Cho <[email protected]>
4138
4139 * mpost.c, pdfdev.c, pdfdev.h, pdfdoc.c, pdfdoc.h, spc_pdfm.c:
4140 DVIPDFMx supports PGF version 2.00.
4141 New specials "pdf:bcontent", "pdf:econtent", and "pdf:code".
4142 Moreover, "pdf:exobj << additional_dict >>" merges additional
4143 dictionaries into the XObject dictionary, not resources.
4144
4145 * pgfsys-dvipdfmx.def.version2, pgfsys-dvipdfmx-patch.tex.version2:
4146 A sample DVIPDFMx driver for PGF version 2.00. Note that
4147 pgfsys-dvipdfmx-patch.tex must be loaded after loading the
4148 basiclayers of PGF. Otherwise image mask and transparency
4149 group do not work.
4150
4151 2008-06-01 Jin-Hwan Cho <[email protected]>
4152
4153 * pdfdev.h, spc_pdfm.c, spc_util.c, dvipdfmx.def.sample:
4154 Changed the option "mask" to "hide" in "pdf:image" special.
4155 New "pdf:stream" special for a string given externally.
4156
4157 * pgf-generic.diff, pgfsys-dvipdfmx.def, xcolor.sty.sample:
4158 Renamed and moved pgf patches for version 1 to contrib/generic.
4159 Removed "xcolor.sty.sample".
4160
4161 2008-05-29 Jin-Hwan Cho <[email protected]>
4162
4163 * spc_dvips.c, pdfdoc.c, spc_html.c, spc_misc.c, pdfximage.c, pdfximage.h, spc_pdfm.c, spc_util.c, pdfdev.h:
4164 Support PGF image masking; support additional attribute dictionary
4165 for included images as pdfTeX.
4166
4167 * xcolor.sty.sample, pgf-generic.diff, pgfsys-dvipdfmx.def, sample-imagemask.tex, dvipdfmx.def.sample:
4168 Sample files for image masking and xcolor, pgf patches.
4169
4170 2008-05-28 Jin-Hwan Cho <[email protected]>
4171
4172 * spc_pdfm.c:
4173 Remove an warning message which occurs with the PGF
4174 transparent model.
4175
4176 * spc_util.c:
4177 Support dvips color names defined in dvipsname.def with
4178 "pdf:bcolor" special, e.g. "pdf: bcolor JungleGreen".
4179
4180 2008-05-23 Jin-Hwan Cho <[email protected]>
4181
4182 * data/Makefile.am, data/Makefile.in:
4183 Removed the obsolete CMap files in the data directory.
4184
4185 * data/Makefile.in, src/Makefile.am, src/Makefile.in:
4186 Apply Karl Berry's symlink patch.
4187
4188 2008-05-22 Matthias Franz
4189
4190 * cff_dict.c, dpxconf.c, dpxfile.c, dvipdfmx.c, epdf.c, fontmap.c, pdfdoc.c, pdfdraw.h, pdfencoding.c, pdfobj.c, pst_obj.c, sfnt.c, spc_pdfm.c, xbb.c, truetype.c, pdfencoding.c, pdfdraw.c:
4191 Fixed some compiler warnings issued by "gcc -Wall".
4192
4193 2008-05-21 Jin-Hwan Cho <[email protected]>
4194
4195 * pdfdoc.c:
4196 Fix the timezone bug in asn_data() based on the dvipdfm-0.13.2d
4197 code; this patch was suggested by Nobuyuki Tsuchimura.
4198
4199 2008-05-20 Matthias Franz
4200
4201 * dvipdfmx.c, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h:
4202 Polished object stream code; removed command line option flag
4203 0x10 (no object streams).
4204
4205 2008-05-20 Jin-Hwan Cho <[email protected]>
4206
4207 * contrib/latex/dvipdfmx.def.sample:
4208 Fix ithe problem when including a PDF image with bounding box
4209 having nonzero llx or nonzero lly.
4210
4211 2008-05-18 Jin-Hwan Cho <[email protected]>
4212
4213 * pdffont.c, pdffont.h, type1.c, type1c.c, truetype.c:
4214 Fix the problem with MusiXTeX's Type1 fonts. Some characters
4215 of these fonts have different widths from the corresponding
4216 TFM files; reported by Yasuhiro Okazaki and Jean-Pierre Coulon.
4217 DVIPDFMx now reads character width from TFM if found.
4218 Otherwise, the information comes from the font file.
4219 However, Type0 fonts (not simple fonts) do not refer to TFM.
4220
4221 2008-05-18 Matthias Franz
4222
4223 * epdf.c, pdfobj.c, pdfobj.h, xbb.c:
4224 Added PDF 1.5 parsing. Note that many PDF 1.5 files have
4225 compressed xref streams with DecodeParms entry. Since we
4226 don't support this, we cannot read these files.
4227
4228 * epdf.c:
4229 Allow page import from tagged PDF files. Tags are ignored.
4230
4231 2008-05-18 Jin-Hwan Cho <[email protected]>
4232
4233 * dvipdfmx.c, dpxfile.c, dpxfile.h, otl_conf.c, spc_pdfm.c, system.h:
4234 Arranged MiKTeX related codes according to MiKTeX SVN repository.
4235
4236 * fontmap.c, fontmap.h, pdfdev.c, pdffont.c:
4237 Ignore obsolete remap option -r in DVIPDFM fontmaps.
4238
4239 2008-05-17 Jin-Hwan Cho <[email protected]>
4240
4241 * dvipdfmx.c, xbb.c, xbb.h, src/Makefile.am, src/Makefile.in, contrib/latex/dvipdfmx.def.sample:
4242 DVIPDFMx now extracts bounding box information.
4243 The binary dvipdfmx can be linked as extractbb, ebb, xbb, and
4244 it works as same as the linked name. (extractbb == xbb)
4245 This idea was suggested by Karl Berry.
4246
4247 2008-05-17 Jin-Hwan Cho <[email protected]>
4248
4249 * Makefile.in, aclocal.m4:
4250 Remove acinclude.m4. Give a new tag DVIPDFMX-20080517.
4251
4252 * cid.c, cidtype0.c, cid_p.h, truetype.c, cidtype2.c, fontmap.c, fontmap.h, tt_aux.c, tt_aux.h, type1c.c:
4253 New fontmap option '-v' to give StemV value explicitly;
4254 especially for Chinese truetype fonts, e.g., Simsun;
4255 this feature was suggested by Yue Wang.
4256
4257 * dvipdfmx.def:
4258 Support automatic generation of .xbb if -shell-escape is given.
4259 Don't forget to replace $TEXMF/tex/latex/dvipdfmx/dvipdfmx.def
4260 to contrib/latex/dvipdfmx.def.sample.
4261
4262 * mpost.c:
4263 Support MPS files generated by MetaFun.
4264
4265 * pdfximage.c:
4266 Try distiller specified in the configuration file
4267 if interpreting MPS file fails.
4268
4269 2008-05-16 Matthias Franz
4270
4271 * pdfobj.c:
4272 Fixed incorrect size entry in xref stream dictionary.
4273
4274 * pdfparse.c:
4275 Fixed a bug in hex string parsing.
4276
4277 2008-05-16 Jin-Hwan Cho <[email protected]>
4278
4279 * dvipdfmx.c, spc_pdfm.c, dpxfile.c, otl_conf.c:
4280 Restore the application name from "dvipdfm" to "dvidpfmx".
4281 Notice that "dvipdfmx.cfg" must be located in "$TEXMF/dvipdfmx".
4282
4283 * dvipdfmx.c, fontmap.c, fontmap.h, spc_pdfm.c:
4284 Support font mapping files with DVIPS/pdfTeX format.
4285
4286 2008-05-13 Matthias Franz
4287
4288 * cid.c, dvipdfmx.c, epdf.c, mpost.c, pdfencoding.c, pdfobj.c, pdfobj.h, pdfparse.c, pdfparse.h, pdfximage.c, pdfximage.h, spc_pdfm.c, xbb.c:
4289 Changed code for PDF import so that objects are not duplicated
4290 if they are imported through several pages of the same file.
4291 Some PDF parsing functions now take an additional argument
4292 of type pdf_file. If this is NULL, them indirect references
4293 are not accepted.
4294
4295 2008-05-10 Jin-Hwan Cho <[email protected]>
4296
4297 * dpxfile.c, pdffont.c:
4298 Support Mac OS X Resource Fork Font (/rsrc) with TrueType outlines.
4299
4300 2008-05-09 Jin-Hwan Cho <[email protected]>
4301
4302 * truetype.c, cidtype0.c, cidtype2.c, pdffont.c, pdffont.h, sfnt.c, sfnt.h, tt_glyf.c, tt_cmap.c, tt_table.c, tt_aux.c, dpxfile.c, dpxfile.h:
4303 Support Mac OS X Data Fork Font (.dfont) with TrueType outlines.
4304
4305 2008-05-08 Jin-Hwan Cho <[email protected]>
4306
4307 * cidtype0.c, cidtype2.c, tt_aux.c, tt_table.c:
4308 Support Mac TrueType fonts without OS/2 table.
4309
4310 2008-04-28 Matthias Franz
4311
4312 * src/pdfencoding.c, src/pdfobj.c:
4313 No declarations after statements allowed in C89.
4314 (contributed by Vladimir Volovich <vvv at vsu.ru> via Karl Berry)
4315
4316 * src/Makefile.am:
4317 xbb needs zlib too.
4318 (contributed by Karl Berry <karl at tug.org>)
4319
4320 * m4/maw-kpse.m4, maw-libs.m4 (removed):
4321 Renamed ...
4322 * m4/chi-kpse.m4, cho-libs.m4 (new):
4323 ... into these.
4324 * Makefile.am:
4325 Added `ACLOCAL_AMFLAGS -I m4'.
4326 * configure.in:
4327 Use new names; respect library dependencies; moved macro
4328 definitions ...
4329 * m4/maw-time.m4 (new):
4330 ... to here.
4331 * acinclude.m4 (removed):
4332 Moved macro definitions ...
4333 * m4/maw-kpse.m4, maw-libs.m4 (both new):
4334 ... to here.
4335 (all contributed by Peter Breitenlohner <peb at mppmu.mpg.de>
4336 via Karl Berry)
4337
4338 2008-04-06 Peter Breitenlohner <[email protected]>
4339
4340 * configure.in: respect library dependencies.
4341
4342 2008-03-04 Peter Breitenlohner <[email protected]>
4343
4344 * Makefile.am: added `ACLOCAL_AMFLAGS -I m4'
4345 * configure.in: moved macro definitions ...
4346 * m4/maw-time.m4 (new): ... to here
4347 * acinclude.m4 (removed): moved macro definitions ...
4348 * m4/maw-kpse.m4, maw-libs.m4 (both new): ... to here.
4349
4350 2008-03-01 Matthias Franz
4351
4352 * dvipdfmx.def:
4353 Write bounding box information only if necessary.
4354
4355 * dvipdfmx.def, spc_util.c:
4356 New 'clip' parameter for 'pdf:epdf' and 'pdf:image'
4357 specials. 'clip 1' enables clipping (default),
4358 'clip 0' disables it.
4359
4360 2008-02-21 Peter Breitenlohner <[email protected]>
4361
4362 Allow maintainer mode to regenerate files.
4363 * configure.in, acinclude.m4: added AC_DEFINES's third arg to
4364 provide autoheader templates.
4365 * configure.in: use AC_DEFINES for XETEX and XETEX_MAC.
4366
4367 2008-02-13 Matthias Franz
4368
4369 * dvipdfmx.def, epdf.c, pdfdoc.c, pdfximage.c, pdfximage.h, spc_dvips.c, spc_html.c, spc_misc.c, spc_pdfm.c, spc_util.c, spc_util.h:
4370 Added new 'page' parameter to PDF and PS inclusion. This
4371 can be used with the graphicx package and the (experimental)
4372 graphics driver dvipdfmx.def (see contrib/latex). Example:
4373
4374 \includegraphics[page=4]{a.pdf}
4375
4376 Page numbers can also be negative; the last page is -1.
4377
4378 Remarks:
4379 1) Currently PDF objects may be duplicated in the output
4380 if several pages are included from the same file.
4381 -- done (2008-05-13)
4382 2) The graphicx package currently uses the same bounding
4383 box information (that of the first page) for all pages.
4384
4385 2008-02-13 Jin-Hwan Cho <[email protected]>
4386
4387 * acinclude.m4, aclocal.m4, configure.in, configure:
4388 Karl Berry reports configure fixes for TeXLive.
4389
4390 * pdfencoding.c, pdffont.c:
4391 Fix an encoding bug by the MinionPro package;
4392 reported by Juho Lee.
4393
4394 2008-02-12 Matthias Franz
4395
4396 * pdfencrypt.c:
4397 Encrypted PDF files with key lengths strictly between
4398 40 and 128 bits could not be opened. Changed code to
4399 meet Adobe Reader's behaviour for revision 3 (PDF 1.4)
4400 encryption.
4401
4402 2008-02-08 Matthias Franz
4403
4404 * epdf.c, pdfobj.c:
4405 Improved PDF document parsing: pages without contents,
4406 undefined indirect references and media boxes with
4407 indirect references are now allowed. (Undefined
4408 indirect references are needed for documents with
4409 several cross-reference tables if the trailer contains
4410 a reference to an object outside the part of the
4411 xref table seen so far.)
4412
4413 2008-01-11 Matthias Franz
4414
4415 * dvipdfmx.c:
4416 Fixed a bug in processing DVI comments.
4417
4418 * cmap_read.c, pst.c, pst_obj.c , t1_load.c:
4419 Fixed a bug in postscript number parsing; reported
4420 by Ulrike Fischer.
4421
4422 2008-01-06 Matthias Franz
4423
4424 * type1.c, type1c.c:
4425 Fixed a bug in the computation of glyph width arrays
4426 for Type1 and Type1C font dictionaries; reported by
4427 Ulrike Fischer.
4428
4429 2007-12-05 Jin-Hwan Cho <[email protected]>
4430
4431 * spc_pdfm.c:
4432 Fixed a memory deallocation problem in the ConTeXt sample of
4433 Francesco Pretto.
4434
4435 2007-12-03 Jin-Hwan Cho <[email protected]>
4436
4437 * cmap.c:
4438 Code mappings in CMap may overlap, but succeeding maps
4439 superceded preceding maps; reported and patched by Luo Jie.
4440
4441 2007-11-27 Jin-Hwan Cho <[email protected]>
4442
4443 * pdfdev.c:
4444 Restored the DVIPDFM code for calculation of kerns;
4445 reported by Keiichirou Shikano.
4446
4447 2007-11-22 Jin-Hwan Cho <[email protected]>
4448
4449 * pdfdev.c:
4450 Fixed a bug related to calculate kern; reported by
4451 Keiichirou Shikano.
4452
4453 * spc_util.c:
4454 Fixed a memory deallocation bug.
4455
4456 2007-11-18 Matthias Franz
4457
4458 * vf.c:
4459 Fixed small memory leak.
4460
4461 2007-11-17 Matthias Franz
4462
4463 * pdfobj.c:
4464 Suppress unnecessary white-space in PDF arrays.
4465
4466 * dpxfile.c, dvipdfmx.c, mem.c, mem.h, tfm.c, xbb.c:
4467 Fixed some small memory leaks.
4468
4469 2007-11-15 Jin-Hwan Cho <[email protected]>
4470
4471 * cid_basefont.h:
4472 Add a predefined simplified Chinese font, AdobeHeitiStd-Regular.otf.
4473
4474 * pdffont.c:
4475 Fixed a bug causing problems with Type0 fonts;
4476 reported by Akira Kakuto.
4477
4478 2007-11-13 Jin-Hwan Cho <[email protected]>
4479
4480 * dpxutil.c, dpxutil.h, dvipdfmx.c, mem.c, mem.h, fontmap.c, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h, subfont.c, subfont.h, vf.c, dpxfile.c, xbb.c:
4481 Applied the memory leak patch by Matthias Franz.
4482
4483 * pdfencoding.c, pdfencoding.h, pdffont.c, type1.c, type1c.c, truetype.c, pkfont.c:
4484 Applied the encoding patch by Matthias Franz.
4485
4486 * agl.c, agl.h:
4487 Introduced new predefined glyphlist.txt; contributed by
4488 Matthias Franz.
4489
4490 2007-11-03 Jin-Hwan Cho <[email protected]>
4491
4492 * mpost.c:
4493 Fixed a bug in skip_prolog(), which is unable to skip prolog.
4494 Now work with "prologues:=3" mode in metapost 1.000.
4495
4496 2007-07-03 Jin-Hwan Cho <[email protected]>
4497
4498 * cff_dict.c:
4499 Fixed a bug in pack_real() using work_buffer twice;
4500 found by Takanori Uchiyama and reported by Akira Kakuto.
4501
4502 2007-06-30 Jin-Hwan Cho <[email protected]>
4503
4504 * cidtype0.c, cff_dict.h:
4505 Fixed a bug checking cid >= CIDCount, which causes a problem
4506 with some CJK otf fonts without having the CIDCount value.
4507
4508 2007-06-28 Jin-Hwan Cho <[email protected]>
4509
4510 * cff_dict.c:
4511 Modified pack_real() to support musix20.pfb in Mac OS X 10.4 Quartz.
4512 It seems that Mac OS X 10.4 Quartz has a bug on reading real numbers
4513 in CFF font format. Since Mac OS X 10.4.10 the problem was solved.
4514
4515 2007-05-18 Jin-Hwan Cho <[email protected]>
4516
4517 * jpegimage.c, pngimage.c, pdfximage.c, pdfximage.h, dvipdfmx.c, xbb.c:
4518 Updated "xbb" to generate ".xbb" not ".bb". There is a big
4519 difference between "xbb" and "ebb" in handling bitmap images.
4520 In the case of bitmap images not having density information,
4521 there is no way to know the density (or DPI) of the image.
4522 "ebb" always assume that the image has 100 DPI so that
4523 100 pixels = 1 in = 72 bp. However, in this case, screen
4524 capture image does not look clear. Thus, "xbb" follows pdfTeX,
4525 which uses density information if exists, otherwise 72 DPI,
4526 i.e., 72 pixels = 1 in = 72 bp, is used. With the modified
4527 "dvipdfmx.def" driver for the LaTeX graphics package, you can
4528 get the same result as pdfTeX.
4529
4530 2007-05-04 Jin-Hwan Cho <[email protected]>
4531
4532 * xbb.c:
4533 New program "xbb" extending "ebb".
4534
4535 2007-05-03 Jin-Hwan Cho <[email protected]>
4536
4537 * pdfximage.c, pdfximage.h, dvipdfmx.c:
4538 Support bbox for "pdf:image" special (experimental).
4539 The program "ebb" extracting the bounding box of image files
4540 always multiply 72/100 for bitmap images (png and jpg).
4541 It causes some trouble with LaTeX graphicx package which read
4542 the bounding box from ".bb" file usually generated by "ebb".
4543 New experimantal option "-C 0x0020" is introduced. With this
4544 option, dvipdfmx no longer multiply 72/100 for bitmap images
4545 so that users can get the same result as pdftex.
4546
4547 2007-04-25 Jin-Hwan Cho <[email protected]>
4548
4549 * spc_pdfm.c:
4550 Extended pdf:outline special to support open/close bookmark.
4551 The previous version 20070409 had problem because toclevel
4552 of part is -1 in some class files.
4553
4554 2007-04-24 Jin-Hwan Cho <[email protected]>
4555
4556 * spc_util.c:
4557 Predefined colors, Black, White, and Gray caused some problem
4558 in Adobe Reader 7 and 8; but not in other PDF viewers, e.g.,
4559 Previewer.app. It was solved by changing cmyk value to gray value.
4560
4561 2007-04-17 Jin-Hwan Cho <[email protected]>
4562
4563 * dvipdfmx.c, pdfobj.c:
4564 The default of the PDF minor version was changed from 3 to 4.
4565
4566 * type1.c:
4567 A bug was reported from Werner Lemberg (run nfssfont.tex for
4568 the font ptmr8y). It happened when any character is used more
4569 than one in one encoding file (e.g., texnansi.enc). To fix it,
4570 Encoding resource was revived (but Hirata noted that there was
4571 some problem with Ghostscript, not confirmed yet) and Widths
4572 resource was changed to look up correct glyphs according to the
4573 given encoding.
4574
4575 * vf.c:
4576 Suppress an annoying warning message if no verbose option is given.
4577
4578 2007-04-13 Jin-Hwan Cho <[email protected]>
4579
4580 * tt_cmap.c:
4581 Support OpenType with PID=0, EID=3
4582
4583 2007-04-09 Jin-Hwan Cho <[email protected]>
4584
4585 * dvipdfmx.c:
4586 Updated the usage as suggested by Matthias Franz
4587
4588 2007-04-03 Jin-Hwan Cho <[email protected]>
4589
4590 * pdfobj.c, pdfdoc.h, pdfencrypt.c, pdfencrypt.h, pdfobj.c, pdfobj.h, pdfparse.c, dvipdfmx.c:
4591 Support object stream for PDF v1.5 or higher; contributed by
4592 Matthias Franz. Previewer.app in Mac OS X did not work with
4593 encryption under v1.5, but no problem with Adobe Reader 8
4594
4595 2007-03-26 Jin-Hwan Cho <[email protected]>
4596
4597 * pdfobj.c:
4598 Support xref stream for PDF v1.5 or higher; contributed by Matthias Franz
4599
4600 2007-03-17 Jin-Hwan Cho <[email protected]>
4601
4602 * dpxfile.c:
4603 Fixed a bug in reading .enc file; reported by Matthias Franz
4604
4605
4606 2007-02-28 Jin-Hwan Cho <[email protected]>
4607
4608 * epdf.c:
4609 Fixed a problem in handling Cropbox
4610
4611 2007-02-14 Jin-Hwan Cho <[email protected]>
4612
4613 * cidtype0.c tt_glyf.c tt_table.h, tt_table.c:
4614 Fixed a bug in reading htmx and vtmx tables; reported by
4615 Jjgod Jiang based on the solution by Jonathan Kew
4616
4617 2007-01-21 Jin-Hwan Cho <[email protected]>
4618
4619 * fontmap.c:
4620 Fixed typos found by Jonathan Kew
4621
4622 2007-01-20 Jin-Hwan Cho <[email protected]>
4623
4624 * specials.h:
4625 Fixed warning message in the IRIX compilation,
4626 reported by Karl Berry and found by Olaf Weber
4627
4628 2007-01-19 Jin-Hwan Cho <[email protected]>
4629
4630 * fontmap.c:
4631 Fixed a bug reported by Shigeru Miyata on Dec 28, 2005
4632
4633 * spc_html.c:
4634 Fixed a bug reported by Nobuyuki Tsuchimura on Jan 19, 2007
4635
4636 2006-12-20 Jin-Hwan Cho <[email protected]>
4637
4638 * configure:
4639 Remake using autoconf-2.59
4640
4641 * configure.in config.h.in src/pdfdoc.c:
4642 Apply tm_gmtoff related modifications by Karl Berry
4643
4644 2006-12-15 Jin-Hwan Cho <[email protected]>
4645
4646 * configure aclocal.m4 Makefile.in src/Makefile.in data/Makefile.in:
4647 Remake using aclocal-1.6, automake-1.6, and autoconf-2.59
4648
4649 * configure.in src/Makefile.am data/Makefile.am:
4650 Apply configure related modifications by Karl Berry
4651
4652 2006-12-11 Jin-Hwan Cho <[email protected]>
4653
4654 * mpost.c, pdfdev.c, pdfdev.h, spc_pdfm.c, pdfcolor.c, pdfcolor.h,
4655 pdfdraw.c, pdfdraw.h:
4656 Temporary implementation for mps files generated by mptopdf.
4657
4658 2006-12-11 Jin-Hwan Cho <[email protected]>
4659
4660 * pdfcolor.c:
4661 Fixed the color bug reported by H. J. Lee and Pablo Rodriguez.
4662
4663 2006-12-07 Jin-Hwan Cho <[email protected]>
4664
4665 * pdfobj.c:
4666 Fixed a bug with xref, reported by Paul Guyot.
4667
4668 2006-12-06 Jin-Hwan Cho <[email protected]>
4669
4670 * t1_load.c:
4671 Modified to work with broken fonts, e.g. belleek/blsy.pfb.
4672
4673 * dvipdfmx.c, dvi.c, dvi.h:
4674 Add xoffset and yoffset specials.
4675
4676 2005-12-18 Jin-Hwan Cho <[email protected]>
4677
4678 * dpxfile.c:
4679 Fixed a bug found by Karnes Kim.
4680
4681 2005-10-14 Jin-Hwan Cho <[email protected]>
4682
4683 * spc_tpic.c:
4684 Fix a bug on spc_handler_tpic_bk() and spc_handler_tpic_wh();
4685 reported by Akira Kakuto.
4686
4687 2005-08-31 Jin-Hwan Cho <[email protected]>
4688
4689 * pdfdoc.c, pdfdraw.c:
4690 Stroke and fill color controls with gsave and grestore.
4691
4692 2005-08-30 Jin-Hwan Cho <[email protected]>
4693
4694 * pdfdraw.h, pdfdraw.c, mpost.c:
4695 Fix a bug on MetaPost manipulation.
4696
4697 * pdfobj.c:
4698 Allow PDF images generated from Mac OS X.
4699
4700 * truetype.c:
4701 Fix a bug on PK Type3 font.
4702
4703 2005-08-24 Jin-Hwan Cho <[email protected]>
4704
4705 * spc_pdfm.c:
4706 Fix a bug on finding XObject.
4707
4708 2005-08-23 Jin-Hwan Cho <[email protected]>
4709
4710 * pdfdraw.h, pdfdraw.c:
4711 Fix a bug on matrix concatenation and inverse matrix.
4712
4713 * spc_pdfm.c:
4714 Fix a bug on giving object name in image.
4715
4716 2005-08-15 Jin-Hwan Cho <[email protected]>
4717
4718 * pdfdoc.c, spc_pdfm.c, specials.c:
4719 Fix a bug on article|bead|thread specials.
4720
4721 2005-08-14 Jin-Hwan Cho <[email protected]>
4722
4723 * spc_html.c, spc_pdfm.c, specials.c:
4724 Fix a bug causing memory leak, and correct a typo.
4725
4726 2005-08-12 Jin-Hwan Cho <[email protected]>
4727
4728 * pdfdev.c, pdfdev.h, spc_dvips.c, spc_pdfm.c, spc_util.c:
4729 Modified transform_info structure using pdf_tmatrix.
4730
4731 2005-08-11 Jin-Hwan Cho <[email protected]>
4732
4733 * pdfdoc.c, pdfdraw.c, pdfdraw.h, spc_pdfm.c:
4734 Optimization of changing transform matrices.
4735 The "pdf:literal" special works almost same as pdfTeX's
4736 "\pdfliteral" primitive. But "pdf:literal direct" is slightly
4737 different from pdfTeX's "\pdfliteral direct". It does not
4738 affected by "pdf:literal".
4739
4740 2005-08-08 Jin-Hwan Cho <[email protected]>
4741
4742 * spc_pdfm.c:
4743 Test implementation of \special{pdf:literal ...}.
4744
4745 * spc_misc.c:
4746 Ignores \special{pos: ...} too.
4747
4748 * spec-dpx.tex:
4749 Modified to fit the changes introduced in 2005-08-08.
4750
4751 2005-08-02 Jin-Hwan Cho <[email protected]>
4752
4753 * dvi.c, spc_pdfm.c:
4754 Fixed a few bugs introduced by changes in 2005-08-01.
4755
4756 * dvipdfmx.def, spec-dpx.tex:
4757 Modified to fit the changes introduced in 2005-08-01.
4758 ConTeXt module still has a bug, e.g., \handleMPfshow.
4759
4760 2005-08-01 Shunsaku Hirata <[email protected]>
4761
4762 * specials.c, spc_html.c, spc_pdfm.c:
4763 Various minor changes to specials.
4764 Rewriting HTML special support.
4765
4766 2005-07-31 Shunsaku Hirata <[email protected]>
4767
4768 * specials.c:
4769 Fixed a bug introduced by changes in 2005-07-30.
4770 (@page1 not handled correctly)
4771
4772 2005-07-30 Shunsaku Hirata <[email protected]>
4773
4774 * colors.h: removed
4775 Color definitions placed into spc_util.c.
4776
4777 * pdfdev.c, pdfdraw:
4778 Various changes.
4779
4780 * pdfcolor, pdfdoc:
4781 set_bgcolor pdfcolor --> pdfdoc.
4782
4783 * cid.c:
4784 Force fixedpitch option for printer/acro fonts.
4785
4786 * spc_*, specials.c:
4787
4788 * And many others....
4789
4790 2005-07-28 Shunsaku Hirata <[email protected]>
4791
4792 * pdfdev.c:
4793 Simply use sprintf for printing numbers.................
4794 Fixed an ancient bug causing very frequent (unnecessary)
4795 font selection.
4796
4797 2005-07-21 Shunsaku Hirata <[email protected]>
4798
4799 * pdfencoding.c: Fixed bugs.
4800
4801 * truetype.c: Update and various changes.
4802 Apply ligature GSUB for glyph name "a_b" and glyph names
4803 with AGL mapping to multiple Unicode character sequence.
4804 Suffixes "liga", "dlig", "frac" ... are always recognized
4805 as feature tag for glyph composition. But for "a_b.vert",
4806 dvipdfmx first compose glyph "a_b" (by some way) and then
4807 apply "vert" substitution to composed glyph. It may often
4808 behaves unexpectedly. Suffixes like "aalt1" is treated as
4809 alternate substitution; e.g., "a.salt1" is interpreted as
4810 first stylistic alternate of default glyph for "a". Those
4811 features are just for completeness. (esp. alternate GSUB)
4812 Reorganized various process of finding glyphs, but still
4813 complicated. TTC is supported (but index is always 0).
4814
4815 2005-07-20 Shunsaku Hirata <[email protected]>
4816
4817 * pdffont.c:
4818 Minor changes.
4819
4820 * pkfont.c:
4821 Mostly rewritten. Allow .enc file to be specified
4822 in fontmap. But it is not for reencoding but to get
4823 glyph names for ToUnicode creation.
4824
4825 * dpxfile.c:
4826 Check file type.
4827
4828 * pdfcolor.c, vf.c: Don't use strcasecmp, strncmp.
4829
4830 2005-07-18 Shunsaku Hirata <[email protected]>
4831
4832 * pdfximage.c:
4833 Set image format conversion filter to NULL if empty
4834 string "" is given. Put various system dependent things
4835 into dpxfile.c.
4836
4837 * dpxfile.c:
4838 Creation of temporary files, call other program
4839 via system() to apply filter to file.
4840
4841 * dpxconf.c, dpxconf.h: new files
4842 Currently paper format related codes.
4843
4844 * dvipdfmx.c: cleanup
4845 Papersize handling --> dpxconf.c
4846 Removed undocumented extension for page label.
4847
4848 * dvipdfmx.c:
4849 's' option for MPS-to-PDF conversion mode. Treat page
4850 numbers as suffix. For "dvipdfmx -M -s 1-3 foo",
4851 dvipdfmx first tries to open "foo". If "foo" exists,
4852 it then start conversion of "foo" (ignore 's'), if not,
4853 "foo.1", "foo.2", and "foo.3" is searched and multi-page
4854 PDF file is generated.
4855
4856 2005-07-17 Shunsaku Hirata <[email protected]>
4857
4858 * spc_dvips.c:
4859 Fixes in psfile special.
4860
4861 2005-07-17 Shunsaku Hirata <[email protected]>
4862
4863 * dpxutil.c, dpxutil.h:
4864 Added few functions to make fontmap.c independent
4865 from pdfparse.c. Various parse_xxx from pdfparse.c.
4866 mangle_name() removed.
4867
4868 * pdfparse.c, pdfparse.h, dpxutil.c, dpxutil.h, ...:
4869 Several parsing routine moved to dpxutil.c.
4870 parse_c_ident() is not really for "C" ident.
4871 parse_c_string() is not really for "C" string.
4872 And there are too many unclear parse_xxx routines
4873 unrelated to PDF in "pdfparse".
4874 There are many uncertainty in parsing \special too.
4875
4876 * spc_xxx:
4877 skip_white() wrongly used in many places.
4878 skip_white() skips from '%' to newline...
4879
4880 * pdf:tounicode, pdf:mapfile, and pdf:mapline
4881 using very different syntax than other pdf:
4882 prefix specials.
4883
4884 * dvi.c, pdffont.c:
4885 Minor changes in debug and error message.
4886
4887 * psimage.c, psimage.h, t1crypt.c, t1crypt.h: Removed.
4888
4889 * t1_load.c: Merge t1crypt
4890
4891 * pdfximage.c, pdfximage.h: Merge psimage
4892 psimage.c is not really for PostScript support.
4893 It just call external program to do conversion form
4894 PS to PDF. There are no reason to restrict this to
4895 from-PS conversion.
4896
4897 * fontmap.c:
4898 Do not use pdfparse.c. Added 'u' option to specify
4899 "ToUnicode". This is for testing. Don't use this.
4900
4901 * pdffont.c:
4902 Read ToUnicode CMap specified in fontmap.
4903
4904 * spc_util.c: HSB color...
4905 Converted to RGB.
4906
4907 * cidtype0.c, cidtype2.c:
4908 Do not use mangle_name in dpxutil.c.
4909
4910 * Various fixes related to pdflimits.h:
4911 This only contains PDF_NAME_LEN_MAX.
4912
4913 2005-07-16 Shunsaku Hirata <[email protected]>
4914
4915 * fontmap.c, fontmap.h
4916 Create fontmap entries for each subfont, containing
4917 SFD mapping information and "link" to fontmap entry
4918 "foo@SFD@". Removed pdf_lookup_fontmap_record2().
4919
4920 * dvi.c, mpost.c, pdfdev.c:
4921 Modification needed by changes in fontmap handling.
4922
4923 * spc_pdfm.c:
4924 Minor changes in fontmap specials. Fixed leak in
4925 "append" fontmap.
4926
4927 * subfont.c, subfont.h:
4928 Minor fixes and changes.
4929
4930 * mpost.c: Bug fix.
4931 Fixed a bug (typo) in mp_setfont.
4932
4933 2005-07-14 Shunsaku Hirata <[email protected]>
4934
4935 * subfont.c, subfont.h:
4936 xxx_sfd_yyy -> sfd_xxx_yyy
4937 Added code for testing SFD file handling.
4938 Added various comments.
4939
4940 * fontmap.c:
4941 Check if subfont ID is valid before loading
4942 SFD mapping table for subfonts.
4943 Changes related to the above changes in subfont.c.
4944
4945 2005-07-13 Shunsaku Hirata <[email protected]>
4946
4947 * dvipdfmx.c: minor fix
4948 agl_set_verbose() called in pdffont.c too.
4949
4950 * fontmap.c:
4951 Workaround for problems in subfont fontmap lookup.
4952 Delete all conflicting explicit fontmap entries for
4953 subfonts in pdf_insert_fontmap_record() when adding
4954 fontmap entry with @SFD@ extension.
4955
4956 * subfont.c, subfont.h:
4957 Scan SFD file for valid subfont IDs. (Required by
4958 changes made to fontmap.c mentioned above.)
4959 Removed unnecessary file static variables.
4960 Simplified file reading and parsing.
4961
4962 * dvi.c: set_verbose() for subfont.c
4963
4964 * fontmap.c:
4965 Correctly handle fontmap entry like "dmj@DNP@12".
4966
4967 2005-07-11 Shunsaku Hirata <[email protected]>
4968
4969 * agl.c: Fixed various small bugs
4970
4971 2005-07-09 Shunsaku Hirata <[email protected]>
4972
4973 * fontmap.c, fontmap.h, pdfdev.c: Fake-bold again
4974 'b' option. This is experimental feature.
4975
4976 * pdfdev.c:
4977 Graphics state is not properly managed yet.
4978 Fake-bold and set_rule changes linewidth without
4979 using pdf_dev_setlinewidth().
4980 Enclose set_rule with q and Q.
4981
4982 * agl.c: Removed unused variable
4983
4984 2005-07-08 Shunsaku Hirata <[email protected]>
4985
4986 * tt_cmap.c: Bug fix
4987 Format 12 cmap subtable support not working...
4988
4989 * fontmap.c: Test for UCS-4
4990 'p' option to specify UCS plane.
4991 This is just for testing purpose. Don't use that.
4992
4993 2005-07-08 Shunsaku Hirata <[email protected]>
4994
4995 * tt_cmap.c: Bug fix in ToUnicode creation
4996 ToUnicode CMap creation (inversion of TrueType cmap) was
4997 not working for format 12 cmap subtable.
4998
4999 2005-06-27 Shunsaku Hirata <[email protected]>
5000
5001 * cid_basefont.h:
5002 Add missing font definitions.
5003
5004 * data/config/dvipdfmx.cfg:
5005 Forgot to mention that 'D "..."' line is commented.
5006 Now there are no default setting for image converter,
5007 so PS inclusion will always fail unless you modify
5008 dvipdfmx.cfg.
5009
5010 2005-06-26 Shunsaku Hirata <[email protected]>
5011
5012 * data/config/cid-x.map: empty
5013 Contained examples for fonts with unclear license.
5014 Not maintained for a long time.
5015
5016 * data/CMap/Adobe-Identity-UCS2: removed
5017 Wrongly named file. Content of this file is
5018 actually identity mapping.
5019
5020 * type0.c:
5021 Create dummy ToUnicode CMap "Adobe-Identity-UCS2".
5022
5023 * specials.c:
5024 spc_push_object() always create label for objects.
5025 Objects created with pdf:obj should always be written
5026 to output.
5027
5028 * ainclude.m4, configure.in:
5029 Define __TDS_VERSION__, require xbasename in kpathsea,
5030 removed unused macros, simplified.
5031
5032 * dpxfile.c:
5033 Use __TDS_VERSION__ instead of HAVE_KPSE_ENC_FORMAT
5034 and others.
5035
5036 * dvipdfmx.c:
5037 Alwyas use xbasename().
5038
5039 * fontmap.c, fontmap.h:
5040 Fake bold and OTL options removed.
5041
5042 * otl_conf.c:
5043 Deactivated.
5044
5045 * pdfdev.c:
5046 Fake bold option removed. (undocumented)
5047
5048 * configure.in, acinclude.m4:
5049 Various changes. Error if kpathsea library doesn't
5050 have xbasename().
5051 Define __TDS_VERSION__, removed HAVE_KPSE_XXX_FORMAT.
5052
5053 * configure and others: recreated
5054
5055 2005-06-20 Shunsaku Hirata <[email protected]>
5056
5057 * tt_gsub.c, tt_gsub.h: Alternate substitution
5058 LookupType 3 (Alternate Substitution) GSUB lookup.
5059 Unused.
5060
5061 2005-06-13 Shunsaku Hirata <[email protected]>
5062
5063 * tt_gsub.c:
5064 Added support for LookupType 7 (Extension Substitution).
5065 Large CJK fonts may want them. Not tested well.
5066
5067 2005-06-09 Shunsaku Hirata <[email protected]>
5068
5069 * tt_glyf.c:
5070 Set top-side bearing to (sTypoAscender - bbox.ury) for
5071 fonts without vmtx table (vertOriginY = sTypoAscender).
5072
5073 2005-06-09 Shunsaku Hirata <[email protected]>
5074
5075 * dpxfile.c:
5076 Fixes for old kpathsea library.
5077
5078 2005-06-08 Shunsaku Hirata <[email protected]>
5079
5080 * dpxfile.c, dpxfile.h:
5081 Fallback to old path searching behaviour.
5082 Warn about files found in old location.
5083
5084 * dvipdfmx.c:
5085 set_verbose() for dpxfile.
5086
5087 2005-06-08 Shunsaku Hirata <[email protected]>
5088
5089 * cid_basefont.h: Update for Adobe Reader 7
5090
5091 * cid.c, pdfobj.c: Accept version tag 1.6
5092
5093 2005-06-06 Shunsaku Hirata <[email protected]>
5094
5095 * acconfig.h: removed
5096
5097 * data/CMap/glyphlist.txt: --> data/config/
5098 No appropriate place yet.
5099
5100 * cmap_read.c:
5101 Fixed a bug in reading CIDSystemInfo dict.
5102
5103 * pdfencoding.c, pdfencoding.h:
5104 pdf_load_ToUnicode_stream(). Load ToUnicode CMap from file and
5105 then create ToUnicode stream object.
5106 See also changes in truetype, type1, type1c, and pdffont.
5107
5108 * pdffont.c:
5109 First try to load ToUnicode CMap with file name 'tfm_name'.
5110 See also changes in truetype, type1, type1c, and pdfencoding.
5111
5112 * truetype.c, type1.c, type1c.c
5113 Don't create ToUnicode if fontdict already have them.
5114 See also changes in pdffont and pdfencoding.
5115
5116 * Makefile.am, data/Makefile.am, src/Makefile.am:
5117 Fixes, simplified, updated...
5118 There are problems in data/Makefile.am yet. Installation
5119 directory for .map and .cmap is not correctly set.
5120
5121 * Makefile.in and others: recreated
5122
5123 * configure.in:
5124
5125 2005-05-07 Shunsaku Hirata <[email protected]>
5126
5127 * spc_color.c:
5128 Color special without push/pop allowed?
5129
5130 * spc_pdfm.c:
5131 pdf:literal broken for more than 2 years?
5132 Fixed a bug in creating annot.
5133
5134 * data/config/dvipdfmx.cfg:
5135 Comments...
5136
5137 2005-05-04 Shunsaku Hirata <[email protected]>
5138
5139 * README: update
5140
5141 * pdfparse.c:
5142 There were several problems in handling broken PDF files.
5143
5144 * pdfobj.c:
5145 There were several problems in handling broken PDF files.
5146 Stream dict is freed twice when parsing stream object failed.
5147
5148 * tfm.c:
5149 PK font creation was not working due to incorrect design size
5150 value returned by tfm_get_desing_size().
5151
5152 * index.html:
5153 Update and fixes for links. Many sentences doesn't make sense
5154 when the document is printed. Stylesheet default to "plain"
5155 style. Encoding set to "utf-8".
5156
5157 * style.css: renamed to style_dflt.css
5158
5159 * style_plain.css:
5160 Plain style stylesheet.
5161
5162 2005-03-07 Shunsaku Hirata <[email protected]>
5163
5164 * pdfcolor.c:
5165 Color not correctly reset at page break?
5166 Maybe more bugs...
5167
5168 * pdfdoc.c:
5169 Encapsulating docxxx within single struct pdf_doc.
5170
5171 2005-03-05 Shunsaku Hirata <[email protected]>
5172
5173 * mpost.c:
5174 Text handling was not correct for subfonts.
5175
5176 * pdfencoding.c:
5177 Increased verbose level for ToUnicode warning.
5178
5179 2005-02-03 Jin-Hwan Cho <[email protected]>
5180
5181 * otl_conf.c, spc_pdfm.c:
5182 Fixed remaining bugs related to MiKTeX file searching.
5183
5184 * cvs tag: DVIPDFMX-20050201 (revised)
5185
5186 2005-02-01 Jin-Hwan Cho <[email protected]>
5187
5188 * cidtype2.c:
5189 Fixed a critical bug on the DW entry for CIDType2 fonts.
5190
5191 * cvs tag: DVIPDFMX-20050201
5192
5193 2005-01-06 Jin-Hwan Cho <[email protected]>
5194
5195 * dvi.c: Fixed a bug on converting subfont character numbers.
5196
5197 * snapshot: two snapshots
5198 DVIPDFMX-20040824 (release): before full update
5199 DVIPDFMX-20040912 (current): with the bug fix on 2005-01-06
5200
5201 2004-09-12 Shunsaku Hirata <[email protected]>
5202
5203 * specials: rewriting...
5204 All \special related files renamed to spc_xxxx and specials.
5205 Use function pointer table rather than doing everything with
5206 if-else or switch-case.
5207
5208 * pdfparse.c:
5209 Few functions are expelled from pdfparse.c since they are not
5210 related to PDF parse at all. pdfparse still contains dvipdfmx
5211 only extension and they might be enabled even when parsing
5212 ordinary PDF files.
5213
5214 * spc_pdfm, pdfparse:
5215 tounicode special moved to spc_pdfm.
5216
5217 2004-09-08 Shunsaku Hirata <[email protected]>
5218
5219 * ttf, tt_*:
5220 ttf.[ch] -> truetype.[ch], renamed few files, added tt_post.
5221
5222 * unicode, pdfencoding:
5223 ToUnicode support migrated to pdfencoding.
5224
5225 2004-09-05 Shunsaku Hirata <[email protected]>
5226
5227 * pdfencoding: encodings -> pdfencoding
5228
5229 * bug fixes.
5230
5231 * pdflimits: This was not pdflimits nor implementation limit
5232 of PDF viewers at all.
5233
5234 2004-09-02 Shunsaku Hirata <[email protected]>
5235
5236 * pngimage, jpegimage:
5237 Improvement on embedded ICC profile support.
5238 Profiles with same MD5 checksum are shared among images.
5239
5240 * pdfcolor:
5241 Added something for managing color space resources.
5242
5243 * pkfont.c:
5244 Depends on tfm.c again.
5245
5246 2004-08-30 Shunsaku Hirata <[email protected]>
5247
5248 * pdfdoc, pdfdev:
5249 Mostly independent from dvi interpreter.
5250 pdfparse still depend on dvi.c through pdfspecial.c due to
5251 pdf: special @xpos and @ypos.
5252
5253 * pdfdraw:
5254 Primitive graphics drawing functions and graphics state
5255 management: pdf_dev_moveto, pdf_dev_gsave, pdf_dev_lineto,
5256 pdf_dev_flushpath, and so on (migrated from mpost.c).
5257 PostScript, tpic, and all other graphics specials should not
5258 directly access page content stream but must use those
5259 functions instead. Text state and colors are still managed
5260 completely differently.
5261
5262 * Added many comments in source and headers...
5263
5264 * Rearranged initialization process again.
5265 pdf_init_fontmap: Initialize fontmapping database.
5266 pdf_open_document: Open output file, initialize various
5267 document resource handler, and set default media size...
5268 pdf_init_device: Unit conversion, precision and others.
5269 pdf_doc_begin_page: Initialize graphics state, etc.
5270
5271 2004-08-27 Shunsaku Hirata <[email protected]>
5272
5273 * cidtype0.c:
5274 Fixed several bugs in Type1 and CFF -> CID CFF converison.
5275 There might be more bugs...
5276
5277 * doc/dpxunicode.pdf: Update.
5278
5279 2004-08-24 Shunsaku Hirata <[email protected]>
5280
5281 * cid_basefont.h: Bug fix
5282 Added missing '['.
5283
5284 * doc/dpxunicode.pdf: Update
5285
5286 * tt_cmap.c:
5287
5288 2004-08-22 Shunsaku Hirata <[email protected]>
5289
5290 * otl_conf.[ch]: New file
5291 OTL feature is managed by configuration file.
5292
5293 * fontmap.c:
5294 -S and -L option removed. Added option -l.
5295
5296 * doc/dpxunicode.pdf: Update.
5297
5298 2004-08-16 Shunsaku Hirata <[email protected]>
5299
5300 * Unicode support for CID OpenType.
5301
5302 2004-08-15 Shunsaku Hirata <[email protected]>
5303
5304 * fontmap.c:
5305 -f option changed to -S. Added -L for ligature substitution.
5306
5307 * tt_gsub.c and others: New fontmap option -L
5308 Map ligatures not in Unicode to PUA.
5309 ToUnicode support handle substituted glyphs.
5310 See, doc/dpxunicode.pdf for details.
5311
5312 2004-08-14 Shunsaku Hirata <[email protected]>
5313
5314 * otl_opt.[ch]: New file
5315 Handle fontmap options for OTL features.
5316
5317 2004-08-11 Shunsaku Hirata <[email protected]>
5318
5319 * type1.c: Bug fix.
5320 The seac operator support was broken since 2004-8-02.
5321
5322 * fontmap.c: New fontmap option "-f tag" and "-b number".
5323 Specify OpenType layout feature with -f option for "unicode"
5324 endoding font. Glyph substituion specified by -f option is not
5325 reflected in ToUnicode CMap yet. Only single substitution GSUB
5326 subtable is supported.
5327 The "-b" option specifies "boldness" parameter for fake-bold
5328 (stroke line width of fill-then-stroke text).
5329
5330 * ...:
5331 Changes for new features mentioned above.
5332
5333 2004-08-08 Shunsaku Hirata <[email protected]>
5334
5335 * tt_cmap.c, cidtype0.c: Bug fixes
5336
5337 2004-08-08 Shunsaku Hirata <[email protected]>
5338
5339 * Makefile.in, Makefile.am:
5340 cmap_parse --> cmap_read.
5341
5342 * cmap_parse.[ch]: Remaned to cmap_read.[ch]
5343
5344 * cmap_write.[ch]: New file
5345 Create CMap PDF stream object. Output is not efficient yet.
5346
5347 * dvi.c: Bug fix
5348 Multiply pdf:pagesize special page height and page width by DVI
5349 magnification factor.
5350
5351 * agl.[ch], unicode.[ch], ....:
5352 Use cmap_write.
5353
5354 * dpxfile.[ch]: New file
5355 .....
5356
5357 2004-08-07 Shunsaku Hirata <[email protected]>
5358
5359 * Type1 font accept "unicode" encoding.
5360 Converted to CIDFontType 0 CIDFont.
5361
5362 2004-08-02 Shunsaku Hirata <[email protected]>
5363
5364 * New files: t1_load.[ch], t1_char.[ch]
5365 type1.c --> type1.c, t1_load.c, t1_char.c.
5366 t1_load: load Type1 font (PFB) into cff_font structure.
5367 t1_char: type 1 charstring interpreter and type 1 to type 2
5368 charstring converter (type 2 encoder). There are many duplicated
5369 code in cs_type2 and t1_char.
5370
5371 2004-07-31 Shunsaku Hirata <[email protected]>
5372
5373 * New files: pdfdraw.[ch], pdfcolor.[ch]
5374
5375 * mpost.c, tpic.c:
5376 Use pdfdraw and pdfcolor.
5377
5378 * pdfdev.c:
5379 CTM affects box calculation in dev_expand_box(). Special
5380 bann/eann set correct bounding box for rotated text.
5381
5382 * New keyword "unicode" in fontmap:
5383 The keyword "unicode" can be specified as encoding in fontmap.
5384 With this option dvipdfmx creates Unicode-to-GID mapping CMap
5385 and GID to Unicode (ToUnicode) CMap from TrueType cmap table
5386 (format 4 Windows-UCS2 and format 12 Windows-UCS4 subtable is
5387 supported) for TrueType font. All font with encoding "unicode"
5388 is treated as Type0 font.
5389 Currently supported only for Unicode TrueType font.
5390
5391
5392 2004-07-27 Shunsaku Hirata <[email protected]>
5393
5394 * Many bug fixes.
5395
5396 * fontmap.c: Bug fix.
5397 Do not increment num_fontmap when replacing duplicate
5398 entries.
5399
5400 * mpost.c:
5401 Support PS operator findfont etc. Not compatible with dvips.
5402
5403 2004-07-18 Shunsaku Hirata <[email protected]>
5404
5405 * fontmap.c:
5406 Add/replace/remove fontmap entries.
5407 Added fontmap_add_map_record(). Scan single mapfile line.
5408
5409 * fontmap.c, pdfdev.c:
5410 fontmap_tex_name(), ... abort if invalid value is passed.
5411
5412 * psspecial.c: bmpfile special
5413 This is not PS special...
5414
5415 * pdfobj.[ch], pdfspecial.c:
5416 Added pdf_copy_object(): Copy object data without changing
5417 object label. Dvipdfmx now can handle pdf specials like:
5418
5419 \special{pdf:obj @foo << /Bar @bar >>}
5420 \special{pdf:obj @bar << /Foo @foo >>}
5421
5422 Object reference can appear before definition of object.
5423
5424 2004-07-15 Shunsaku Hirata <[email protected]>
5425
5426 * cidtype2.c, type0.c:
5427 Write CID glyph metrics for non-embedded TrueType fonts.
5428
5429 * dvipdfmx.c, cidtype0.[ch], cidtype2.[ch], cid.[ch]:
5430 Treat all CIDFont as fixed pitch font if bit 0x0004 is set
5431 in "-C" option. (for backward compatibility)
5432
5433 2004-07-14 Shunsaku Hirata <[email protected]>
5434
5435 * New files: bmpimage.c, bmpimage.h
5436 Windows BMP image format support. (not tested well...)
5437 1/4/8/24-bits per pixel images, uncompressed or 4-bit/8-bit RLE
5438 compressed images are supported.
5439
5440 * pdfparse.c:
5441 Added dictionary key "T" to the list of strings to be
5442 converted to Unicode...
5443
5444 2004-07-12 Shunsaku Hirata <[email protected]>
5445
5446 * dvipdfmx.c:
5447 Added new option "-C".
5448 Thumbnail support available again.
5449
5450 * tpic.c, tpic.h:
5451 Spline path ("sp" command) was not handled correctly.
5452 Use (semi-)transparent color for shading, enabled by option
5453 -C 2. (not enabled by default since it requires PDF version
5454 1.4+) Apply shading only to closed paths.
5455
5456 * psspecial.c:
5457 epsbox support was broken.
5458
5459 * pdfdoc.c: Thumbnail supported again
5460
5461 2004-07-04 Shunsaku Hirata <[email protected]>
5462
5463 * configure, ...:
5464 HAVE_KPSE_OPENTYPE_FORMAT and HAVE_KPSE_ENC_FORMAT is not
5465 correctly set when compiled with gcc3.
5466
5467 2004-06-28 Shunsaku Hirata <[email protected]>
5468
5469 * pdfximage.c:
5470 Do not clip PDF images when "clip" option is not given.
5471
5472 2004-06-27 Shunsaku Hirata <[email protected]>
5473
5474 * Workaround for "three dot leader" problem.
5475
5476 2004-06-16 Shunsaku Hirata <[email protected]>
5477
5478 * Do not adjust refernece point of included images if users do
5479 not supply bounding box.
5480
5481 * Look for .ofm first.
5482 Workaround for incompatibility introduced on change 2004-01-20.
5483
5484 * pdfdoc.c: Fixed bug that dvipdfmx crushes with null string key in
5485 name tree.
5486
5487 2004-06-02 Jin-Hwan Cho <[email protected]>
5488
5489 * pdfspecial.c: Bug fix on cropbox in do_bxobj().
5490
5491 2004-05-03 Shunsaku Hirata <[email protected]>
5492
5493 * jpegimage.c: Uninitialized variable.
5494
5495 2004-04-09 Shunsaku Hirata <[email protected]>
5496
5497 * README, index.html: update
5498
5499 * contrib/patches/glyphlist-cm-add.txt: new file
5500 Additional glyphlist for Computer Modern font.
5501
5502 * NEWS: new file
5503 Empty.
5504
5505 * pdfdev.c:
5506 Do not increase line width.
5507
5508 2004-04-03 Shunsaku Hirata <[email protected]>
5509
5510 * README: update
5511
5512 2004-03-25 Shunsaku Hirata <[email protected]>
5513
5514 * jpegimage.c: ICC profile
5515 Added APP2 ICC_PROFILE support.
5516 ICC profile is not deleted from JPEG stream.
5517
5518 * Embedded ICC profile support for JPEG and PNG enabled.
5519 ICC profiles are not cached. Alternate color space?
5520
5521 2004-03-24 Shunsaku Hirata <[email protected]>
5522
5523 * Thumbnail support removed.
5524
5525 * index.html:
5526 Quick check against WCAG 1.0. Lowercasified all HTML tags for
5527 migration to XHTML.
5528
5529 * pdfdoc.c:
5530 Dvipdfm/dvipdfmx copyright notice remved from PDF Docinfo's
5531 /Producer string, simplified to "dvipdfmx (VERSION)".
5532
5533 * configure.in, configure:
5534 Minor change.
5535
5536 2004-03-22 Shunsaku Hirata <[email protected]>
5537
5538 * pngimage.c: Minor changes.
5539
5540 Remaining things for complete PNG 1.1 support is:
5541 Complete iCCP support. Support tEXt and other metadata chunks
5542 using XML Metadata stream. pHYS (and oFFs) support (in ebb).
5543 Preserve filter (PNG predictor) if possible, but some softwares
5544 using filters very inefficiently. 16-bit RGB/Gray (PDF-1.5).
5545
5546 JPEG (JFIF) can also store ICC profile with APP2. Implementing
5547 very basic ICC profile support might be useful.
5548
5549 2004-03-21 Shunsaku Hirata <[email protected]>
5550
5551 * README: updated
5552
5553 * data/config/cid-x.map:
5554 "slant" option -s supported in vertical mode.
5555
5556 * pngimage.c: Fixed a serious bug, more chunks supported.
5557
5558 Gamma obtained by png_get_gAMA() is inverse of screen gamma
5559 that the image is prepared. Gamma is sometimes inverted...
5560
5561 Approximated CalRGB color space used along with /Intent if
5562 sRGB chunk is found (not sure how to treat it).
5563
5564 Experimental iCCP support --enable-iccp.
5565 Doesn't validate ICC profile embedded in PNG.
5566 Range? Rendering Intent?
5567
5568 * pdfdev.c:
5569 A line width of zero means thinnest line drawable in target
5570 device. dev_rule() was wrongly changed to increase line width
5571 if the width is too thin.
5572
5573 2004-03-20 Shunsaku Hirata <[email protected]>
5574
5575 * unicode.c, agl.c, type0.c: ToUnicode CMap support
5576
5577 Always create ToUnicode CMap for simple fonts regardless of
5578 the existence of glyph list file. If 10% of glyph names can
5579 not be converted to Unicode, ToUnicode CMap is not embedded.
5580 The reason for the (non-zero) limit 10% is; ToUnicode CMap
5581 is shared among fonts using same .enc file. In this case,
5582 Unicode mapping is created for all glyphs in the .enc file
5583 where non-standard glyph names like "visiblespace" is often
5584 expected. But those glyphs are usually not used in the TeX's
5585 output and hence it should be simply ignored if mapping is
5586 not available.
5587 Sharing ToUnicode CMap is not so efficient as expected for
5588 simple fonts, "subsetted" ToUnicode CMap might be better.
5589
5590 type0.c search ToUnicode CMap named as REGISTRY-ORDERING-UCS2
5591 or FONTNAME-UCS2, the latter case is for CIDFontType 2 font
5592 using font's internal glyph ordering. It does not care about
5593 the content of CMap at all, especially usecmap is not checked.
5594 Don't use it.
5595
5596 * README, data/config/cid-x.map:
5597
5598 Description about -m option removed from README.
5599 This option is no longer necessary for usual cases, and use
5600 of it is not recommended as the original dvipdfm fails to read
5601 fontmap file with this option.
5602
5603 * cmap.c:
5604
5605 Increment n-1 th byte if n-th byte overflow in bfrange like:
5606
5607 <00> <01> <00 FF>
5608
5609 The dstCode string is treated like an integer, but the number
5610 of bytes required for that character code is not increased.
5611 Acrobat's "ToUnicode" CMap contains such bfrange entries and
5612 causing a serious problem in Korean TrueType fonts.
5613
5614 2004-03-18 Shunsaku Hirata <[email protected]>
5615
5616 * pdfspecial.c:
5617 pdf:literal direct should not translate origin.
5618
5619 2004-03-17 Shunsaku Hirata <[email protected]>
5620
5621 * type1.c, type1c.c, cmap.c, ...: Memory leak.
5622
5623 2004-03-16 Shunsaku Hirata <[email protected]>
5624
5625 * mpost.c, psspecialc.: Fixed bugs.
5626
5627 2004-03-14 Shunsaku Hirata <[email protected]>
5628
5629 * dvipdfmx.c:
5630 Scan first page's paper size special first.
5631
5632 * pdfparse.c: \x in PDF string - broken
5633
5634 This (undocumented) extension to the PDF string object disturbs
5635 and interrupts PDF object parsing and subsequent text re-encoding
5636 specified by tounicode special (another extension). And it makes
5637 impossible to separate parsing and re-encoding process ("x" after
5638 backslash representing Unicode hex value...).
5639
5640 Support for this extension was removed since it is desirable to
5641 move (or isolate) tounicode special to the appropriate place, not
5642 pdfparse but pdfspecial, if possible.
5643
5644 Note that this kind of extension might be incompatible with all
5645 other PDF applications, "\x" should be treated as a single "x" in
5646 literal strings (like PostScript).
5647
5648 * pdfspecial.c: Special image/uxobj is partially broken.
5649
5650 Special uxobj doesn't work for external images after the change
5651 made on 2003-08-12. It only works for the grabbed page contents
5652 created by special bxobj/exobj.
5653
5654 Access to XObject reference (but can't be placed in the document)
5655 is now available again. Supporting uxobj is usually not necessary
5656 for external images because they are always reused as a document
5657 resource but allowing access to the (form) XObject's indirect
5658 reference by name like @foo is usefull for using them as an entry
5659 of appearance dictionary in annotations.
5660
5661 * pdfspecial.c, pdfdev.c:
5662
5663 Special bann/eann does not take account of current transformation
5664 matrix correctly. It result in incorrect /Rect for all annotations
5665 created by special bann/eann if transformation is applied.
5666
5667 Not fixed yet.
5668
5669 * pdfparse.c: "ToUnicode" special
5670
5671 Illegal PDF string is expected within pdf: specials. Many users
5672 try to use raw Shift-JIS text without properly escaping backslash
5673 appears in the 2nd byte of double-byte character. The same problem
5674 occurs in many other encodings.
5675
5676 As a workaround for this problem, backslashes are not treated as
5677 "escape" in some situation when the current "ToUnicode" CMap name
5678 contains a substring RKSJ, B5, GBK, or KSC.
5679
5680 * cmap.c, ...:
5681
5682
5683 2004-03-12 Shunsaku Hirata <[email protected]>
5684
5685 * mpost.c:
5686 Skip until %%EndProlog.
5687
5688 * pdfspecial.c, pdfdev.c, pdfdoc.c:
5689 pdf_doc_set_mediasize()/pdf_doc_get_mediasize().
5690
5691 * tfm.c
5692 tfm.c was highly wasteful and inflexible.
5693 Preparing for 31-bits character code support.
5694
5695 2004-03-11 Shunsaku Hirata <[email protected]>
5696
5697 * dvipdfmx.c, dvi.[ch], pdfdev.[ch], pdfdoc.[ch],...:
5698 An effort to eliminate complicated initilization chain...
5699
5700 * pdfximage.c, pdfximage.h: New file.
5701 An effort to make image support more flexible.
5702 Included images and grabbed page contents (forms) should be managed by
5703 pdf_ximage as document resource (like font).
5704
5705 * pdfspecial.c, psspecial.c:
5706 Image support moved to pdfximage. (might be broken)
5707
5708 * mpost.[ch], epdf.[ch], pngimage.[ch], jpegimage.[ch], psimage.[ch]:
5709 Image support moved to pdfximage.
5710
5711 * dvipdfmx.c, mpost.[ch]:
5712 Experimental "mpspdfmx" mode -M.
5713
5714 * pdfspecial.c, pdfdev.c, pdfdoc.c:
5715 Hard to explain... There are many misleading/illogical things.
5716
5717 * dvipdfmx.c, dvi.[ch]:
5718 DVI specials related to page/paper size is pre-scanned.
5719
5720 * dvipdfmx.c:
5721 Page selection option "-s" accept page labels.
5722 For example, command line option "-s 1-10/r,11-12/D:2:empty-page-,13-"
5723 set page labels for page 1-10 to lowercase roman numerals, page 11-12
5724 to arabic numerals starting with 2 and with prefix "empty-page-",...
5725
5726 * dvipdfmx.c:
5727 An option for "bookmark open lavel" -O.
5728
5729 * pdfdoc.c:
5730 Undocumented watermark/page decoration feature. Not completed yet.
5731
5732 * thumbnail.c:
5733 I can hardly think that thumbnail support is useful. Acrobat Reader
5734 can create thumbnail image and other PDF viewers like gs* and Xpdf
5735 doesn't support it. Currently broken due to changes in pngimage.c.
5736
5737 * dvipdfmx.c, pdfdev.c:
5738 The default precision set back to 2 fractional digits. Most sensitive
5739 part is dev_set_string() but the accuracy of this part is essentially
5740 limited to 0.01 point in the most cases. Increasing precision above 2
5741 does not give good result (except DVI rules) but merely increases file
5742 size.
5743
5744 2004-03-05 Shunsaku Hirata <[email protected]>
5745
5746 * pdfdoc.c:
5747 Fixed a critical bug introduced on change 2004-02-29:
5748 Consistency check was done after pages are free-ed.
5749
5750 * pdfdoc.c, pdfspecial.c:
5751 special pdf:names. Add name tree entry.
5752
5753 * pdfobj.c, pdfparse.c:
5754 Few functions added for manipulating PDF array.
5755
5756 2004-03-04 Shunsaku Hirata <[email protected]>
5757
5758 * pdfparse.c: Added missing () in macro PDF_TOKEN_END()
5759
5760 * pdffont.c: Compiler warning on uninitialized variable.
5761
5762 2004-03-02 Shunsaku Hirata <[email protected]>
5763
5764 * Groff support:
5765 Groff support was essentially broken. Dvipdfm(x) generated
5766 very inaccurate result due to incorrect choice of scale/unit.
5767 It should be fixed now.
5768
5769 2004-02-29 Shunsaku Hirata <[email protected]>
5770
5771 * pdfspecial, pdfdoc, pdfobj, pdfparse:
5772 Partially rewrote...
5773
5774 * pdfdoc.c:
5775 Moved static ... to static struct { ... } docXXX.
5776 Removed (strange) optimization.
5777 Outline item open/close.
5778
5779 * tfm.c:
5780 Partially rewote...
5781
5782 2004-02-25 Shunsaku Hirata <[email protected]>
5783
5784 * Too many warnings when compiled with -Wshadow...
5785 pdfdoc.c need to be fixed.
5786
5787 * -Wmissing-prototypes, -Wmissing-declarations
5788
5789 2004-02-21 Shunsaku Hirata <[email protected]>
5790
5791 * type0.c:
5792 Changes for New TDS/kpathsea.
5793 Fixed a bug in get_tounicode_cmap()...
5794
5795 2004-02-19 Shunsaku Hirata <[email protected]>
5796
5797 * cidtype0.c, type0.c:
5798 Write CID glyph metrics for non-embedded CFF/OpenType fonts.
5799
5800 2004-02-18 Shunsaku Hirata <[email protected]>
5801
5802 * tpic.c:
5803 Ignore unpainted path in flush_path().
5804 show_path() output 'n' operator for path without stroking nor filling
5805 to avoid Acrobat error (bug?) "Illegal operation inside a path.".
5806
5807 2004-02-17 Shunsaku Hirata <[email protected]>
5808
5809 * pkfont.c, pkfont.h, pdfdev.c:
5810 Removed dependency to TFM in pkfont.
5811
5812 * type1.[ch], type1c.[ch], type0.[ch], ttf.[ch]:
5813 No longer need to know font resource name and remap.
5814
5815 * pdffont.c, pdffont.h:
5816 Added new file.
5817
5818 * type1.[ch], type1c.[ch], ttf.[ch], pkfont.[ch], pdfdev.c, dvipdfmx.c:
5819 Simple font support will be unified to pdffont.c
5820
5821 2004-02-16 Shunsaku Hirata <[email protected]>
5822
5823 * type1.c, type1c.c, cidtype0.c:
5824 Remove UniqueID and XUID from CFF Top dict.
5825
5826 * type1.c:
5827 Keep original FontBBox instead of replacing it with tight one obtained
5828 from glyph's charstrings to prevent Acrobat 4 from greeking text.
5829 Acrobat 4 may display text drawn with fonts which only contain small
5830 glyphs like period and minus-sign with greeked text.
5831
5832 * tt_build.c:
5833 TrueType output slightly optimized.
5834
5835 * ttf.c, cidtype2.c:
5836 Preserve 'name' table when embedding TrueType font.
5837
5838 2004-02-15 Shunsaku Hirata <[email protected]>
5839
5840 * type1c.c, cs_type2.c, cs_type2.h, cidtype0.c:
5841 Dependency to TFM removed. Widths are obtained from font file.
5842
5843 * type1c.c:
5844 Delete unused strings from CFF string index.
5845
5846 * tfm.c, tfm.h:
5847 Added tfm_get_codingscheme(). CODINGSCHEME from TFM header.
5848
5849 * agl.c, agl.h, unicode.c, unicode.h, ttf.c:
5850 Handle decomposed (in Unicode) glyphs in AGL and glyph names of a form
5851 XXX_YYY_ZZZ in ToUnicode CMap. The glyph name with suffix, like "x.y",
5852 is sotred as a glyph "x" with a suffix that implies a variant "y" of
5853 "x" in AGL table, not as "x.y" glyph. (for future use)
5854
5855 2004-02-13 Shunsaku Hirata <[email protected]>
5856
5857 * type1.c:
5858 Bug fix. Skip first four bytes of encrypted PFB section.
5859 Not warn about "dotsection" operator which exist only for
5860 compatibility to Type 1 font rasterizer that can't do hint
5861 replacement.
5862
5863 * tfm.c, tfm.h:
5864 Fixed a bug that calculation of tfm_string_height() was incorrect.
5865 ASCII pTeX specific things are put within #ifndef WITHOUT_ASCII_PTEX.
5866
5867 2004-02-12 Shunsaku Hirata <[email protected]>
5868
5869 * type1.c:
5870 Another bug in flex handling. hmoveto and vmoveto allowed.
5871
5872 * type1c.c, cmap.c, cidtype0.c, encodings.c, fontmap.c:
5873 Changes for new TDS and teTeX/kpathsea.
5874
5875 * encodings.c, encodings.h, pdfdev.c:
5876 Removed get_encoding().
5877
5878 2004-02-10 Shunsaku Hirata <[email protected]>
5879
5880 * type1.c:
5881 Bug fix. Compression of vhcurveto-hvcurveto was not actually done.
5882 One more bug in flex handling.
5883
5884 2004-02-08 Shunsaku Hirata <[email protected]>
5885
5886 * dvipdfmx.c:
5887 paperinit() and paperdone().
5888
5889 * tfm.c:
5890 Bug fix. Read OFM level 1 header, required by get_design_size().
5891
5892 * dvi.c, dvi.h, vf.c:
5893 DVI specials in virtual fonts (patch by P. TJ MacPhee).
5894
5895 2004-02-05 Shunsaku Hirata <[email protected]>
5896
5897 * cid.c, cidtype2.c:
5898 Use font's internal glyph ordering if CSI Adobe-Identity is
5899 specified for TrueType font. This feature is intended to be
5900 used with Identity CMap and /I option in fontmap.
5901
5902 * configure, acinclude.m4, acconfig.h, config.h.in,...:
5903 Check kpse_{enc,cmap,sfd,opentype}_format.
5904
5905 * type1.c:
5906 Fixed a bug in flex handling.
5907
5908 2004-02-04 Shunsaku Hirata <[email protected]>
5909
5910 * dvipdfmx.c:
5911 libpaper support.
5912
5913 * configure, acinclude.m4, acconfig.h, config.h.in:
5914 --with-paper added for configure option. HAVE_LIBPAPER in config.h.
5915
5916 * pdfspecial.c: Added "bp" and "truebp" in units[].
5917
5918 * Accept w<unit>,h<unit> for papersize option.
5919
5920 2004-02-03 Shunsaku Hirata <[email protected]>
5921
5922 * type1.c:
5923 Counter control (othersubr #12 and #13) supported.
5924
5925 2004-02-01 Shunsaku Hirata <[email protected]>
5926
5927 * tt_build.c, tt_build.h, cidtype2.c, ttf.c:
5928 Workaround for Ghostscript's bug.
5929 Ghostscript doesn't handle CIDToGIDMap correctly.
5930 Use Identity CIDToGIDMap.
5931
5932 * ttf.c:
5933 Removed dependency to TFM. Glyph metric is obtained from font file.
5934
5935 * type1.c:
5936 Warn about "seac" operator.
5937
5938 2004-01-31 Shunsaku Hirata <[email protected]>
5939
5940 * type1.c: Bug fix.
5941
5942 * Added many 'const'.
5943
5944 2004-01-29 Shunsaku Hirata <[email protected]>
5945
5946 * type1.c: Type 1 -> Type 1C conversion
5947 PostScript Type 1 font is converted to Type 1C (CFF).
5948 There are few limitations: Ghost hint is not converted to edge
5949 hint. The Type 1 charstring operator "dotsection" is ignored.
5950 The ExpertEncoding is not supported. The "seac" operator is not
5951 supported. Counter control is not supported.
5952
5953 * Makefile.in, Makefile.am, standardenc.h: standardenc.h removed.
5954
5955 * pst.c:
5956 Fixed a bug in skip_comments() that cause infinite loop.
5957
5958 2004-01-27 Shunsaku Hirata <[email protected]>
5959
5960 * cff.c, cff.h, cff_dict.c, cff_dict.h:
5961 Added few functions for Type 1 -> Type 1C conversion.
5962
5963 2004-01-24 Shunsaku Hirata <[email protected]>
5964
5965 * pkfont.c:
5966 Acrobat and MacOS X's Preview have some problem with Type 3 font.
5967 Acrobat cannot handle non-invertible transformation matrix which
5968 happens when PK glyph with width and/or height equals to zero is
5969 embedded as Type 3 font. The preview app. of MacOS X 10.3 cannot
5970 display few glyphs generated by dvipdfm with unknown reasons.
5971
5972 2004-01-21 Shunsaku Hirata <[email protected]>
5973
5974 * cs_type2.c: Don't use rint().
5975
5976 2004-01-21 Shunsaku Hirata <[email protected]>
5977
5978 * psimage.c, configure.in, config.h.in:
5979 Use mkstemp() if available.
5980
5981 2004-01-20 Shunsaku Hirata <[email protected]>
5982
5983 * tt_table.[ch], tt_build.[ch], cidtype[02].c:
5984 CIDFont glyph metrics for embedded font.
5985
5986 2004-01-17 Shunsaku Hirata <[email protected]>
5987
5988 * pdfobj.[ch], pdfparse.[ch], mpost.c, pdfencrypt.c, pngimage.c:
5989 Removed pdf_*_stringx().
5990
5991 * pdfobj.c, pdfparse.c: Changes for PDF-1.3 compliance.
5992
5993 2004-01-14 Shunsaku Hirata <[email protected]>
5994
5995 * ToUnicode support for CFF/OpenType + built-in encoding.
5996
5997 * Bug fix in cff.c, type1c.c
5998
5999 * Workaround for Shift-JIS string parsing in pdfparse.c.
6000
6001 * pngimage.c don't require PNG-write/MNG-feature/progressive-read.
6002
6003 * Unicode: unsigned short --> long.
6004
6005 * Removed winansi.h
6006
6007 2004-01-07 Shunsaku Hirata <[email protected]>
6008
6009 * IMPORTANT CHANGE:
6010 Searching order is reversed in fontmap.c.
6011 Last match takes precedence in font mapping now.
6012
6013 * Fixed bug in cff.c, cmap.c, and type1c.c.
6014
6015 2003-12-28 Shunsaku Hirata <[email protected]>
6016
6017 * Bug fixes in pdfparse.c and cid_basefont.h.
6018
6019 2003-12-15 Shunsaku Hirata <[email protected]>
6020
6021 * Minor fixes.
6022
6023 * Added PDF special "fstream" - create PDF stream object from file.
6024 This allows users to attach files in PDF.
6025
6026 2003-12-07 Shunsaku Hirata <[email protected]>
6027
6028 * JPEG moved to jpegimage.c.
6029
6030 * Bug fixes.
6031
6032 2003-12-06 Shunsaku Hirata <[email protected]>
6033
6034 * Changes in pdfspecail.c.
6035
6036 * Fixed a bug in mpost.c.
6037
6038 2003-12-02 Shunsaku Hirata <[email protected]>
6039
6040 * Added a patch for dvipdfm's ebb.c. (PDF ArtBox support)
6041
6042 2003-11-29 Shunsaku Hirata <[email protected]>
6043
6044 * Bug fixes.
6045
6046 * CFF/OpenType support for single-byte font.
6047
6048 2003-11-26 Shunsaku Hirata <[email protected]>
6049
6050 * Little enhancement to epdf.c.
6051
6052 * Merged epsbox.sty patch by Noda.
6053
6054 2003-11-25 Shunsaku Hirata <[email protected]>
6055
6056 * Many part of font/encoding related code rewrote.
6057
6058 * Unicode support for single-byte font.
6059
6060 2003-11-10 Jin-Hwan Cho <[email protected]>
6061
6062 * Fixed a bug on the algorithm converting arc to cubic bezier
6063 curves in arc() (tpic.c), which is reported by Werner Lemberg.
6064
6065 2003-11-04 Shunsaku Hirata <[email protected]>
6066
6067 * PNG support completely rewritten. Color pallete images are
6068 now not converted to 24-bit RGB, colorspace Indexed is used
6069 instead. Added tRNS and alpha chunnel (transparency) support.
6070 Experimental gAMA, cHRM and sRGB support.
6071
6072 2003-11-03 Shunsaku Hirata <[email protected]>
6073
6074 * Fixed bug that dvipdfmx stops with error "Invalid Subr Index"
6075 when embedding CFF OpenType font.
6076
6077 2003-10-09 Jin-Hwan Cho <[email protected]>
6078
6079 * Add a missing line including pdfparse.h in dvi.c, which is
6080 reported by Akira Kakuto.
6081
6082 * Changed the default font map files for teTeX 2.x as suggested
6083 by Haruhiko Okumura.
6084
6085 2003-10-08 Jin-Hwan Cho <[email protected]>
6086
6087 * A bug on the paper size checking routine of dvi_paper_size()
6088 in dvi.c is fixed, which is reported by Haruhiko Okumura.
6089
6090 2003-10-06 Jin-Hwan Cho <[email protected]>
6091
6092 * A bug on the kerning routine of dev_set_string() in pdfdev.c is
6093 fixed, which is reported by Edward G.J. Lee.
6094
6095 2003-08-12 Jin-Hwan Cho <[email protected]>
6096
6097 * Changed to embed images only one time.
6098
6099 * Updated configure.in and config.h.in to support WORDS_BIGENDIAN
6100 and SIZEOF_SHORT, SIZEOF_INT, SIZEOF_LONG.
6101
6102 2003-08-11 Jin-Hwan Cho <[email protected]>
6103
6104 * A faked font name was used for TrueType fonts without any PS
6105 font name as suggested by Hin-Tak Leung.
6106
6107 2003-08-05 Jin-Hwan Cho <[email protected]>
6108
6109 * Built-in codes (originally from libgcrypt-1.1.42) was used
6110 for PDF encryption instead of the OpenSSL library as suggested
6111 by Thomas Esser.
6112
6113 2003-07-28 Jin-Hwan Cho <[email protected]>
6114
6115 * A significant bug reported from Haruhiko Okumura is fixed.
6116 The bug occurs only if compiled with gcc 3.x, not gcc 2.x.
6117
6118 2003-03-26 Jin-Hwan Cho <[email protected]>
6119
6120 * New feature, hexadecimal Unicode, suggested by iNOUE Koich!
6121 and Akira Kakuto is implemented.
6122
6123 2003-03-13 Jin-Hwan Cho <[email protected]>
6124
6125 * Fixed bugs on reading and writing OpenType fonts.
6126
6127 2003-03-12 Jin-Hwan Cho <[email protected]>
6128
6129 * Applied changes for MiKTeX in ps_include() (psimage.c).
6130
6131 2003-03-11 Jin-Hwan Cho <[email protected]>
6132
6133 * Fixed a bug in cff_charsets_lookup() (cff.c).
6134
6135 2003-02-06 Jin-Hwan Cho <[email protected]>
6136
6137 * Fixed a bug in string_mode() (pdfdev.c) reported by iNOUE Koich!.
6138
6139 2002-12-30 Jin-Hwan Cho <[email protected]>
6140
6141 * Fixed a bug in writing null array.
6142
6143 * Fixed a bug in reading CMap and encoding files in MiKTeX.
6144
6145 2002-11-28 Jin-Hwan Cho <[email protected]>
6146
6147 * Support color shading feature in ConTeXt.
6148
6149 2002-11-25 Jin-Hwan Cho <[email protected]>
6150
6151 * New feature pdfdecimaldigits (default=3) is implemented.
6152
6153 * Fixed a missing line in dvipdfmx.c.
6154
6155 * Fixed a bug in page attribute boxes, e.g., CropBox, TrimBox.
6156
6157 2002-11-11 Jin-Hwan Cho <[email protected]>
6158
6159 * The "pdf: dest" special reads pdf_object not pdf_array.
6160
6161 * Fixed a bug in finding encoding files with extension.
6162
6163 * Look up the entries in miktex.ini while finding files.
6164
6165 2002-10-31 Jin-Hwan Cho <[email protected]>
6166
6167 * Fixed a bug in finding files with the kpathsea library 3.3.7.
6168
6169 2002-10-28 Jin-Hwan Cho <[email protected]>
6170
6171 * The project name was changed to dvipdfmx from dvipdfm-cjk.
6172
6173 * Changed the way of finding files (MiKTeX and KPATHSEA)
6174 (contributed by Akira Kakuto).
6175
6176 * Support embedded MetaPost graphics in ConTeXt using new PDF
6177 special \special{pdf:literal [direct|reverse] ...}.
6178
6179 2002-10-25 Jin-Hwan Cho <[email protected]>
6180
6181 * Removed all files related to the original dvipdfm,
6182 and all CMap files from Adobe.
6183
6184 * Changed the executable file dvipdfm to dvipdfmx,
6185 the configuration file config to dvipdfmx.cfg,
6186 the Type0 map file cid.map to cid-x.map.
6187
6188 2002-10-24 Jin-Hwan Cho <[email protected]>
6189
6190 * It is possible to change the size of each page with the
6191 special command \special{pdf:pagesize ...}. Override the
6192 previous changes if there are two such commands in a page.
6193
6194 2002-10-17 Jin-Hwan Cho <[email protected]>
6195
6196 * Fixed a bug in parsing an array in two lines. (mpost.c)
6197
6198 * Changed not to lookup the header to find fonts. (mpost.c)
6199
6200 2002-10-09 Jin-Hwan Cho <[email protected]>
6201
6202 * Duplication is allowed for named_references[]. (pdfspecial.c)
6203
6204 2002-06-05 Jin-Hwan Cho <[email protected]>
6205
6206 * Fixed a bug in parse_key_val() found by Yasuhiro Okazaki.
6207
6208 2002-05-31 Jin-Hwan Cho <[email protected]>
6209
6210 * Bug fixed for ToUnicode conversion in PDF outlines(bookmarks),
6211 docinfo, and text annotations (contributed by Akira Kakuto).
6212
6213 * Included the ToUnicode CMap, EUC-UCS2.
6214
6215 2002-05-22 Jin-Hwan Cho <[email protected]>
6216
6217 * Support CJK characters in PDF outlines(bookmarks), docinfo, and
6218 text annotations (contributed by Akira Kakuto).
6219
6220 2002-05-15 Jin-Hwan Cho <[email protected]>
6221
6222 * PDF encryption support with the OpenSSL library.
6223
6224 2002-04-30 Jin-Hwan Cho <[email protected]>
6225
6226 * ToUnicode CMap (only Unicode) support for Identity-H(V).
6227
6228 * Included the ToUnicode CMap, Adobe-Identity-UCS2.
6229
6230 2002-04-22 Jin-Hwan Cho <[email protected]>
6231
6232 * Included two CMaps, UniKSCms-UCS2-H(V) which fix a bug in
6233 UniKS-UCS-H(V).
6234
6235 2002-04-17 Jin-Hwan Cho <[email protected]>
6236
6237 * Changed xxx_set_debug() to #ifdef DEBUG.
6238
6239 2002-04-16 Jin-Hwan Cho <[email protected]>
6240
6241 * Improved reading PNG image files.
6242
6243 * Rearranged all files to work with GNU autotools.
6244
6245 * Removed HAVE_TTF_FORMATS and HAVE_OFM_FORMATS.
6246
6247 2002-04-09 Jin-Hwan Cho <[email protected]>
6248
6249 * Minor fix on 'source/pkfont.c'.
6250
6251 2002-04-07 Jin-Hwan Cho <[email protected]>
6252
6253 * Fixed all warning messages generated with MSVC++.
6254
6255 * Rewrote the functions 'xxx_locate_font()' again.
6256
6257 2002-04-04 Jin-Hwan Cho <[email protected]>
6258
6259 * Changed the order of loading virtual and physical fonts as
6260 suggested by Akira Kakuto <[email protected]>.
6261 If map entries are found, virtual fonts will not be used anymore.
6262
6263 2002-04-02 Jin-Hwan Cho <[email protected]>
6264
6265 * Implemented no-embedding and stylistic variants for CIDFontType0.
6266
6267 2002-03-31 Jin-Hwan Cho <[email protected]>
6268
6269 * Added two CMaps, ETenms-B5-H and ETenms-B5-V.
6270
6271 2002-03-30 Shunsaku Hirata <[email protected]>
6272
6273 * Minor fix on the patch by Takanori Uchiyama.
6274
6275 2002-03-29 Jin-Hwan Cho <[email protected]>
6276
6277 * Applied the patch by Takanori Uchiyama <[email protected]>,
6278 supporting the direction command of ASCII pTeX's extension in
6279 virtual fonts.
6280
6281 * Two CMaps, Identity-H and Identity-V are hard-coded in cmap.c.
6282
6283 2002-03-20 Jin-Hwan Cho <[email protected]>
6284
6285 * Applied the patch by Jungshik Shin, not embedding the unnecessary
6286 character /.notdef in type1 fonts.
6287
6288 2002-03-20 Shunsaku Hirata <[email protected]>
6289
6290 * Modified cid_basefont.h.
6291
6292 2002-03-05 Jin-Hwan Cho <[email protected]>
6293
6294 * Support for UTF8 encoding through Identity CMap.
6295
6296 2002-02-25 Jin-Hwan Cho <[email protected]>
6297
6298 * Implemented no-embedding feature for CIDFontType2.
6299
6300 * Implemented Bold, Italic, BoldItalic attributes for CIDFontType2
6301 and CID predefined fonts.
6302
6303 2002-02-22 Jin-Hwan Cho <[email protected]>
6304
6305 * Implemented subfont approach for CJK and HLaTeX.
6306
6307 2002-01-07 Shunsaku Hirata <[email protected]>
6308
6309 * Fixed bug introduced on 2002-01-05.
6310
6311 2002-01-05 Shunsaku Hirata <[email protected]>
6312
6313 * Workaround for some bad TrueType fonts that does not have US-English
6314 PostScript font name.
6315
6316 2001-12-27 Shunsaku Hirata <[email protected]>
6317
6318 * Changed to parse all charstrings. Check for the SEAC character.
6319
6320 * Minor changes in CFF related codes.
6321
6322 2001-12-26 Shunsaku Hirata <[email protected]>
6323
6324 * Merged cmap and cmap_parse.
6325
6326 2001-12-25 Shunsaku Hirata <[email protected]>
6327
6328 * Cleaned up TrueType and CFF related codes.
6329
6330 * Minor bug fixes.
6331
6332 2001-12-23 Shunsaku Hirata <[email protected]>
6333
6334 * Fixed bug that always requires Private DICT(s) which may not exist.
6335
6336 * Cleaned up TrueType and CFF related things.
6337
6338 2001-12-18 Shunsaku Hirata <[email protected]>
6339
6340 * Biased subroutine number is signed in cs_type2.c.
6341
6342 2001-12-14 Shunsaku Hirata <[email protected]>
6343
6344 * macglyphs.h regenerated from apple's TTRefMan.
6345
6346 2001-12-13 Shunsaku Hirata <[email protected]>
6347
6348 * Minor cleanups.
6349
6350 * Fixed typo (yacture -> yacute, Islash -> lslash) in macglyphs.h.
6351
6352 * Fixed signedness of TureType cmap subtable format 0 data.
6353
6354 2001-12-11 Shunsaku Hirata <[email protected]>
6355
6356 * Minor fixes.
6357
6358 * Fixed bug that interpretion of hmtx table is still wrong.
6359
6360 * Fixed fixed().
6361
6362 * More improved FontDescriptor for TrueType/OpenType fonts.
6363
6364 * Support for PostScript glyph name in TrueType post table.
6365 Full subsettting is also available for non-CJK TrueType fonts.
6366 Cyrillic and other TrueType fonts can be used.
6367 Requires post table with version 2.0.
6368
6369 2001-12-09 Shunsaku Hirata <[email protected]>
6370
6371 * Bug fixes.
6372
6373 2001-12-05 Shunsaku Hirata <[email protected]>
6374
6375 * Fixed bug that last entry of the loca table may not be read.
6376
6377 * DW is set to that of missing glyph (CIDFontType 2).
6378
6379 * Bug fixes.
6380
6381 2001-12-04 Shunsaku Hirata <[email protected]>
6382
6383 * Fixes.
6384
6385 2001-12-03 Shunsaku Hirata <[email protected]>
6386
6387 * Minor charnges, cleanups.
6388
6389 * Write CIDSet.
6390
6391 2001-12-02 Shunsaku Hirata <[email protected]>
6392
6393 * Initial CFF CID-Keyed Font support.
6394 Only Type 2 charstring is supported.
6395
6396 2001-11-27 Shunsaku Hirata <[email protected]>
6397
6398 * Minor fixes, cleanups.
6399
6400 2001-11-26 Shunsaku Hirata <[email protected]>
6401
6402 * Fixed (serious) bug that hmtx table is incorrectly interpreted.
6403
6404 * Fixed bug that encoding ID of RPC and BIG5 are interchanged.
6405
6406 * Added missing cast in cidtype2.c.
6407
6408 2001-11-25 Shunsaku Hirata <[email protected]>
6409
6410 * Bug fix.
6411
6412 2001-11-24 Shunsaku Hirata <[email protected]>
6413
6414 * Added missing free() (RELEASE) in cidtype2.c.
6415
6416 * Minor fixes.
6417
6418 * Fixed typos.
6419
6420 2001-11-22 Shunsaku Hirata <[email protected]>
6421
6422 * Clean up.
6423
6424 * Allow `Preview & Print' licensed fonts to be embedded.
6425 TrueType OS/2 table is preserved.
6426
6427 2001-11-20 Shunsaku Hirata <[email protected]>
6428
6429 * Minor cleanups. Fixed typos.
6430
6431 * Strip out bad strings form PostScript names;
6432 -WIN-RKSJ-H, -WINP-RKSJ-H, -WING-RKSJ-H, and -90pv-RKSJ-H.
6433 Some font uses PostScript name one of above strings appended,
6434 even if Shift-JIS encoding is not used.
6435
6436 2001-11-18 Shunsaku Hirata <[email protected]>
6437
6438 * Workaround for Omega: Omega uses setxxx (single-byte char) command
6439 while double-byte font is in use. Pass character type to
6440 dev_set_string() to distinguish single-byte and double-byte.
6441 Maybe, it works with CJK-LaTeX by preparing set of CMaps.
6442
6443 * Write double-byte strings as hex strings.
6444 This makes bit faster and tend to generate smaller PDF in most cases.
6445
6446 * CMap parser uses wrok_buffer in mfileio.
6447
6448 * Reserved w_array and w2_array in struct cid_font for future use.
6449
6450 * Now write /W array for TrueType, proportional latin and kana works
6451 properly. The metric information are taken from font file, not from
6452 TFM, to ensure we always have correct widths. The default width (DW)
6453 is set to 1000.
6454
6455 * Changed sizeof() appeared in sfnt_put_xxx() to expected values in
6456 sfnt.h. I do not assume LONG to be exactly 32-bit long, ....
6457
6458 2001-11-17 Shunsaku Hirata <[email protected]>
6459
6460 * Added Chinese and Korean related stuff again. Chinese and Korean
6461 languages are supported through Omega, or by achieving Ascii pTeX
6462 compatibility.
6463
6464 * Closing CMaps is missing. Added cmap_close_all(), which is invoked by
6465 dev_close_all_fonts() in pdfdev.c.
6466
6467 * Check length of output string for Type 0 font. It must be multiple of
6468 2. Omega uses 8-bit and 16-bit mixed string even for double-byte
6469 fonts. This causes problems.
6470
6471 * Abort if missing/invalid character is used.
6472
6473 2001-11-15 Shunsaku Hirata <[email protected]>
6474
6475 * Bug fixes.
6476
6477 2001-11-12 Shunsaku Hirata <[email protected]>
6478
6479 * (nearly) Completely rewritten.
6480
6481 * Force Identity CMap. (double-byte character codes are mapped to CID)
6482
6483 * Added CMap parser. (mkcidcct.pl is no longer needed)
6484
6485 * Sync with jpatch.
6486
6487 2001-10-01 Shunsaku Hirata <[email protected]>
6488
6489 * Should return -1 when encoding_id >= 0 in type0_font().
6490
6491 2001-08-08 Shunsaku Hirata <[email protected]>
6492
6493 * Fixed a bug that raster images show up incorrectly in vertical
6494 writing mode.
6495
6496 2001-08-07 Shunsaku Hirata <[email protected]>
6497
6498 * Removed dev_set_string2(), use dev_set_string() instead.
6499
6500 * set_dev_vwmode() is renamed to set_dev_wmode().
6501 Added dev_wmode() and mp_mode flag in pdfdev.c.
6502
6503 * Support for Japanized MetaPost (pdfparse.h, mpost.c).
6504
6505 2001-07-21 Shunsaku Hirata <[email protected]>
6506
6507 * Fixed a bug that do not reset text state in vertical writing.
6508
6509 2001-07-20 Shunsaku Hirata <[email protected]>
6510
6511 * Fixed wrong positioning for slanted non-CJK font in vertical writing.
6512
6513 2001-07-19 Shunsaku Hirata <[email protected]>
6514
6515 * Support OS/2 table version 0x0002.
6516
6517 2001-07-17 Shunsaku Hirata <[email protected]>
6518
6519 * Support multiple parents for a single CID-keyed font
6520 (incomplete).
6521
6522 TODO:
6523 check the consistency of charcter collections.
6524
6525 * Removed entries for unsupported CMaps.
6526
6527 * Updated cid.map.
6528
6529 2001-07-15 Shunsaku Hirata <[email protected]>
6530
6531 * Better font metric info for CIDFontType2.
6532
6533 * Added (partial) support for vertical writing.
6534 Added wmode flag to struct a_type0_font and dev_font.
6535
6536 TODO:
6537 GSUB support in CIDFontType2.
6538 /W2 and /DW2.
6539
6540 * Added support for vertical version of CMaps in mkcidcct.pl
6541
6542 2001-07-07 Shunsaku Hirata <[email protected]>
6543
6544 * Minor fixes.
6545
6546 * Updated out2uni.c
6547
6548 2001-06-30 Shunsaku Hirata <[email protected]>
6549
6550 * --> dvipdfm-0.13.2c
6551
6552 2001-06-29 Shunsaku Hirata <[email protected]>
6553
6554 * Fixed a bug that select incorrect indexToLocaFormat
6555 (cidtype2.c).
6556
6557 * Fixed several bugs in cidtype2.c.
6558
6559 2001-06-27 Shunsaku Hirata <[email protected]>
6560
6561 * Added support for CJK-TrueType font embedding.
6562
6563 * Cleaned up Type0 and CID font handling code.