Debian Codegraph @

texk/dvipdfm-x/ChangeLog

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