1
$Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.290 2011/03/11 03:15:31 chofchof Exp $
3
ChangeLog: Changes for DVIPDFMx
4
===============================
6
2012-04-20 Norbert Preining <preining@logic.at>
8
* DVIPDFMx-20120420 release
10
2012-04-20 Alexander Grahn <A.Grahn@hzdr.de>
12
* src/spc_pdfm.c: use kpse to find media
14
2012-04-20 Norbert Preining <preining@logic.at>
16
* src/dvipdfmx.c: add a new directive "i" for reading subsidiary
18
* data/dvipdfmx.cfg: document the new directive
20
2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
22
* Remove extern decls from *.c files.
23
* dpxfile.c: Drop obsolete comment that mkstemp may not be
25
* spc_color.c: Drop 'extern' from function definition.
26
* error.h: ANSI C prototype for error_cleanup().
27
* error.c: Drop extern decl, now in error.h.
28
* dvipdfmx.c: Add '#include "error.h"' and drop extern decl.
30
2012-03-05 Peter Breitenlohner <peb@mppmu.mpg.de>
32
* pdfdev.c: Handle UTP-16 surrogates for UCS-4
33
supplementary planes. Based on patch from Tanaka Takuji-san.
35
2012-01-17 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
37
* dvi.c, pdfdev.c:: Support for (e-)(u)pTeX dtou direction.
39
2011-11-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
41
* dvi.c, spc-pdfm.c, tfm.c and vf.c: remove incompatible lines
42
with the non-upTeX case and erase #ifdef upTeX.
44
2011-10-18 Peter Breitenlohner <peb@mppmu.mpg.de>
46
* tt_cmap.c: Fix typo "featre" -> "feature".
48
2011-09-07 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
50
* dvi.c, spc-pdfm.c, tfm.c and vf.c: apply patches by Takuji Tanaka
51
in order to support (e)-upTeX. The (e)-upTeX support is enabled by
52
defining upTeX. In the case -DupTeX, the dvipdfmx must be compatible
53
with the old one, which can be obtained without -DupTeX.
55
2011-06-15 Peter Breitenlohner <peb@mppmu.mpg.de>
57
* dpxcrypt.c: Use headers as in configure test for uint32_t.
59
2011-06-06 Peter Breitenlohner <peb@mppmu.mpg.de>
61
* dpxfile.c (exec_spawn): Do not quote execvp() arguments.
63
2011-06-03 Peter Breitenlohner <peb@mppmu.mpg.de>
65
* dpxfile.c (exec_spawn): Exit if execvp() fails, some clean up.
67
2011-06-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
69
* dpxfile.c: fix a bug in exec_spawn().
71
2011-05-31 Peter Breitenlohner <peb@mppmu.mpg.de>
73
* man/extractbb.1: Update extractbb manpage.
75
2011-05-09 Peter Breitenlohner <peb@mppmu.mpg.de>
77
* ../dvipdfmx-20110311/data/dvipdfmx.cfg: Synched from Master.
79
2011-05-03 Peter Breitenlohner <peb@mppmu.mpg.de>
81
* man/extractbb.1: Update man/extractbb.1.
83
2011-03-11 Jin-Hwan Cho
86
Applied the patch for 64bit systems; suggested by Akira Kakuto.
88
2011-03-09 Jin-Hwan Cho
90
* dpxfile.c, configure.in, man/extractbb.1:
91
Applied the patches for TeX Live 2011 by Peter Breitenlohner.
93
2011-03-07 Matthias Franz
95
* dvi.c, dvi.h, dvipdfmx.c, pdfencrypt.c, pdfencrypt.h, spc_pdfm.c:
96
Added special pdf:encrypt to turn on document encryption from
97
within the DVI file (suggested by Michael Joyner). Format:
98
\special{pdf:encrypt ownerpw (abc) userpw (xyz) length 128 perm 252}
99
If a parameter is omitted, the default value / empty password
100
is used. The special must appear at the beginning of the file.
102
2011-03-05 Jin-Hwan Cho
104
Applied the secutiry patch written by Akira Kakuto
105
(suggested by Karl Berry).
107
2010-10-11 Matthias Franz
110
Added quotes around command line parameters %i and %o
111
(suggested by Karl Berry).
113
2010-05-29 Matthias Franz
115
* dpxfile.c, dpxfile.h, pdfobj.c, pdfximage.c:
116
Further changes to fix the "%hhu" problem on Solaris 9.
118
2010-05-26 Matthias Franz
121
Changed type of PDF minor number from char to short in
122
check_for_pdf_version in order to fix a compilation problem with
123
Solaris 9; reported by Ulrich Seidl.
125
2010-05-24 Matthias Franz
128
Generate PDF 1.5 as default (suggested by Karl Berry).
130
2010-03-28 Jin-Hwan Cho
132
* dvi.c, dvi.h, dvipdfmx.c, spc_pdfm.c:
133
Implemented a new special \special{pdf: minorversion num} which
134
will override the value given either by the configuration file
135
or by the command line option; requested by Karl Berry.
137
2010-03-21 Jin-Hwan Cho
140
Assume that the output encoding of CMap files is UTF-16, not UCS2
141
as the recent Adobe-Japan1-UCS2 shows; reported by Haruhiko Okumura
142
and the patch were prepared by Akira Kakuto.
144
2010-02-22 Matthias Franz
147
Made PNG code work with libpng14, as suggested by Karl Berry.
149
2010-02-07 Matthias Franz
152
Fixed bug caused by fonts without data for private dictionary.
153
(The private dictionary was omitted instead of inserting an
154
empty dictionary.) This caused problems with Acrobat Reader, for
155
example with the dsrom10 font. Bug reported by Vladimir Vlasov.
157
2010-02-07 Jin-Hwan Cho
159
* dvipdfmx.c, pdfdoc.c, pdfobj.h, pdfobj.c, pdfencrypt.h, pdfenctypr.c:
160
Now the trailer always contains ID array to work Screen annotations
161
under Adobe Reader 9.
163
2009-12-14 Matthias Franz
166
Turn on quiet mode earlier if "-q" option is given.
168
2009-11-28 Matthias Franz
171
Fixed bug in "ps: plotfile" special, found by Alexander Bostroem.
173
2009-11-18 Matthias Franz
175
* man/extractbb.1, man/Makefile.am, Makefile.am, configure.in:
176
Added man page for extractbb in new directory man. This
177
addresses Debian bug #512357 and a request by Karl Berry.
179
2009-10-10 Jin-Hwan Cho
182
Change usage() as suggested by Matthias Franz and Karl Berry.
184
2009-10-09 Jin-Hwan Cho
187
Implemented the usual options --version and --help
188
(suggested by Karl Berry.)
190
2009-09-19 Matthias Franz
192
* epdf.c, pdfdoc.c, pdfdoc.h, xbb.c:
193
Bug fix: The number of pages in a PDF document as reported by
194
extractbb was always 0. (The code for reporting the number of
195
pages of a PDF file was accidentally removed during a previous
198
2009-09-18 Matthias Franz
200
* dpxutil.c, dpxutil.h and all calls to the changed functions:
201
Polished code for hash tables. Now the function for freeing
202
values is defined with ht_init_table. ht_append_table now
203
produces an error if the key is already in use (but this
204
could be changed easily). A new insert mode where a value
205
does _not_ replace an existing value for the same key has
206
been introduced, but there is no short name for it yet.
208
2009-08-30 Matthias Franz
211
Turned on optimization of PDF destinations by default.
213
2009-08-27 Matthias Franz
215
* truetype.c, type1.c, type1c.c:
216
Changed precision in font widths arrays from 1.0 to 0.1.
217
(Applies only to Type 1, Type 1C and TrueType, not PK fonts.)
219
2009-08-23 Matthias Franz
221
* epdf.c, pdfdoc.c, pdfdoc.h, pdfximage.c, pdfximage.h, xbb.c:
222
Removed the feature of negative page numbers for PDF inclusion.
223
It was never used and made the code more complicated.
225
* dvipdfmx.c, pdfximage.c:
226
Changed the code for PS and PDF page inclusion:
227
The function mkstemp on NetBSD may return the same name twice
228
if the file has been deleted after the first call. (Reported
229
by Jukka Salmi.) This interfered with our file name caching.
230
Now we don't delete the temporary file after PS->PDF conversion,
231
but cache the temporary file name instead. An advantage is that
232
we don't have to convert the same file multiple times if several
235
2009-08-17 Jin-Hwan Cho
238
Fixed the crashing bug with Mona font found by Alexis Ballier.
240
2009-07-08 Jin-Hwan Cho
243
Add -E option that enables DVIPDFM emulation mode in DVIPDFMx.
245
2009-07-07 Jin-Hwan Cho
247
* pdfximage.c, pdfximage.h, spc_pdfm.c:
248
Add pdf_ximage_set_attr() and pdf_ximage_get_subtype()
249
to resolve the conflict with bmpsize package in dvipdfm
250
emulation mode; reported by Heiko Oberdiek.
252
2009-05-22 Jin-Hwan Cho
254
* generic/pgf-doc-diff.version2cvs, generic/pgf-generic-diff.version2cvs:
255
Removed the patches for the CVS version of pgf,
256
because they are applied to the main stream.
258
2009-05-10 Matthias Franz
261
Don't try to convert included PDF files whose version number
262
is higher than output file version. (If run as dvipdfm,
263
conversion still occurs.)
265
* Makefile.am, Makefile.in, dvipdfmx.c, dvipdfmx.h, jpegimage.c, pngimage.c, xbb.c, xbb.h:
266
Added dvipdfm compatibility mode. This mode is triggered
267
if dvipdfmx is called as "dvipdfm", and likewise extractbb
268
as "ebb". (The latter mode was already present.)
271
Made predefined paper sizes match values given by libpaper.
273
2009-05-06 Jin-Hwan Cho
275
* dvipdfmx.c, pdflimits.h, pdfobj.c:
276
Improved PDF version handling.
279
Fixed a silly bug; reported by Fumihito YOSHIDA.
281
2009-05-06 Matthias Franz
283
* cid.c, dvipdfmx.c, pdflimits.h, pdfobj.c:
284
Fixed minor issues with PDF version handling, following
285
a question by Akira Kakuto. The minimal and maximal
286
PDF versions allowed are now defined in pdflimits.h.
288
2009-05-03 Matthias Franz
290
* dvipdfmx.c, epdf.c, epdf.h, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h, pdfximage.c, pdfximage.h, xbb.c:
291
Improved PDF version handling. A "Version" entry in the
292
document catalog is now honored. Moreover, dvipdfmx accepts
293
to write PDF 1.7, and extractbb doesn't complain about PDF
294
versions any more. Encryption keys too long for PDF 1.3 now
295
lead to an error instead of a silent change of PDF version.
297
2009-05-02 Jin-Hwan Cho
300
Fixed a bug of reading numOfExSideBearings; reported by
303
2009-04-30 Matthias Franz
306
Use ps2pdf for PS-to-PDF conversion on all platforms.
308
2009-04-29 Jin-Hwan Cho
310
* spc_color.c, spc_pdfm.c, spc_util.c, spc_util.h:
311
Allow changing strokecolor or fillcolor only; for example,
312
"pdf:scolor Red []" changes fillcolor only and
313
"pdf:scolor [] Red" changes strokecolor only, but
314
"pdf:scolor Red" changes both fillcolor and strokecolor.
317
Parse stream objects in a strict way as DVIPDFM because
318
DVIPDFMx already has another specials for stream objects.
320
2009-04-26 Matthias Franz
323
Don't print unnecessary newlines in PDF dictionaries.
325
* pdfobj.c, pdfobj.h, xbb.c:
326
Added "%%HiResBoundingBox" and "%%PDFVersion" lines to
329
* 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:
330
Rename PDF destinations to shorter names (in order to save
331
space). Together with the removal of unused PDF destinations
332
implemented previously, this is more or less equivalent to
333
Heiko Oberdiek's LaTeX package "hypdestopt".
335
2009-04-20 Jin-Hwan Cho
338
Bug fix: \special{pdf:bann} ... \special{pdf:eann} (e.g., \hyperlink)
339
cause a problem when it was surrounded by the pair
340
\special{pdf:bcontent} ... \special{\special{pdf:econtent}.
342
2009-04-19 Jin-Hwan Cho
344
* generic/pgf-doc-diff.texlive2008, generic/pgf-generic-diff.texlive2008:
345
Patches and a new dvipdfmx driver for PGF, Version 2.00
346
included in texlive 2008.
348
* generic/pgfsys-dvipdfmx.def.version2, generic/pgfsys-dvipdfmx-patch.tex.version2:
349
Removed contributed files because of new patch files
350
pgf-doc-diff.texlive2008 and pgf-generic-diff.texlive2008.
352
2009-04-18 Jin-Hwan Cho
354
* generic/pgf-doc-diff.version2cvs, generic/pgf-generic-diff.version2cvs:
355
Patches and a new dvipdfmx driver for PGF, Version 2.00-cvs 20090418.
357
* 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:
358
Removed contributed files already applied to texlive 2008.
360
2009-04-08 Jin-Hwan Cho
363
Ignores the second /Subrs dicts and /CharStrings not followed
364
by dict; Adobe's OPO_____.PFB and OPBO____.PFB had those problems.
366
2009-04-07 Matthias Franz
369
Removed binary mode option "-b". In ebb, just ignore it.
371
2009-03-30 Jin-Hwan Cho
374
Fixed the bug: bbox->llx is not extracted for PDF images.
376
2009-03-29 Matthias Franz
379
Changed output-to-stdout option to "-O".
381
2009-03-24 Jin-Hwan Cho
383
* cff.c, dpxutil.c, pdfencoding.c, pdfencrypt.c, mem.c:
384
Revive system.h to work with TeXLive.
386
2009-03-23 Matthias Franz
388
* dvipdfmx.c, jpegimage.c, jpegimage.h, pngimage.c, pngimage.h, xbb.c:
389
Several changes related to xbb/extractbb:
390
Combined code with jpegimage.c and pngimage.c, added number
391
of pages to xbb output for PDF files, introduced quiet mode
392
(option "-q") and output to stdout (option "-s"), improved test
393
of filename check in dvipdfmx.c (now uses >libgen.h>), new
394
version numbering for xbb (same as dvipdfmx version)
396
2009-03-15 Jin-Hwan Cho
398
* data/Makefile.am, data/Makefile.in, data/EUC-UCS2:
399
Revive the cmap EUC-UCS2; suggested by Nobuyuki Tsuchimura.
401
2009-03-16 Matthias Franz
403
* pdfdev.c, pdfdraw.c, spc_html.c, spc_pdfm.c, spc_tpic.c:
404
Added comments to show the PDF operators inserted by each
405
call of pdf_doc_add_page_content. This makes it easier to
406
find out which part of the source is responsible for a PDF
407
operator in the output. Example:
409
pdf_doc_add_page_content(work_buffer, len); /* op: q cm *
411
2009-03-12 Matthias Franz
414
Don't print messages in quiet mode.
416
* dpxfile.c, dpxfile.h, pdfximage.c, data/dvipdfmx.cfg:
417
Added conversion specifier "%v" (PDF version) to PS-to-PDF
418
conversion template. Also changed default template for
419
GhostScript to use the script ps2pdf instead of calling gs
420
directly. (This works for all platforms.)
423
Fixed a bug concerning empty PDF strings: Empty PDF strings
424
were reduced to NULL, which could lead to errors when calling
427
2009-01-15 Jin-Hwan Cho
430
Apply Jonathan Kew's fix reported on August 7, 2008.
431
(Sorry that it was too late!)
433
2008-12-11 Matthias Franz
436
Fixed an off-by-one and an off-by-two error in the generation
437
of output file names for extractbb.
438
(Debian bug #506329, reported by G\'abor Braun.)
440
* mpost.c, pdfcolor.c, pdfcolor.h, pdfdev.c, pdfdev.h, pdfdoc.c, pdfdraw.c, pdfdraw.h, spc_color.c, spc_pdfm.c:
441
Polished the code for color support. PDF color operators will
442
not be generated any more if old and new color coincide.
444
2008-11-30 Matthias Franz
449
* pdfdev.c, spc_html.c:
450
Concatenated transformation matrices for images.
452
* data/dvipdfmx.cfg, dvipdfmx.c, pdfdoc.c:
453
Fixed two problems with removal of PDF destinations: Non-link
454
annotations produced a warning, and broken links were not
455
detected if no valid destination existed.
456
Removing unused destinations is now default behaviour and can
457
be prevented by using the flag "-C 0x10". Since the feature
458
is still new, this flag is set in dvipdfmx.cfg.
460
* 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:
461
Removed unnecessary (no-op) handlers for specials.
463
* 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:
464
Commented out unused functions.
466
2008-11-08 Matthias Franz
468
* pdfcolor.c, pdfcolor.h, spc_tpic.c:
469
Made tpic specials respect color settings. Before, they
470
always used black for drawing commands.
471
(Debian bug #485567, reported by Daniel Skorka.)
473
2008-11-03 Matthias Franz
475
* dpxutil.c, dvipdfmx.c, mem.c, pdfdoc.c, pdfdoc.h, pdfnames.c, pdfnames.h:
476
Remove unused PDF destinations. (Packages like hyperref
477
create destinations regardless of whether they are used
478
or not.) This option is currently turned off by default;
479
it can be enabled with "-C 0x10".
482
Improved parsing of "-v" command line option; contributed
483
by Akira Kakuto. Note that there are still problems if an
484
argument to an option (or the name of the DVI file) starts
488
Corrected bounding box computation for PK fonts. Before,
489
it was always [0, 0, 0, 0]. Also removed a redundant call
490
to pdf_encoding_add_usedchars.
492
2008-10-13 Matthias Franz
494
* cff.c, cff.h, cff_dict.c, cidtype0.c, pdfdev.c, t1_load.c, type1.c, type1c.c:
495
Various speed improvements:
496
cff.c: cff_add_string now has an option to avoid checking for
498
pdfdev.c: p_dtoa does not call library functions any more.
499
t1_load.c: t1_decrypt is not called for each byte seperately
500
any more. (Well, this does not make a big difference.)
502
2008-09-29 Matthias Franz
504
* epdf.c, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h, xbb.c:
505
Made PDF parsing more robust. In particular, we can now
506
detect (illegal) loops in a PDF document hierarchy.
507
Also, much of the PDF parsing code in epdf.c and xbb.c has
508
been combined to the function pdf_doc_get_page in pdfdoc.c.
509
Loops in PDF page trees are detected as well.
510
Moreover, the various bounding boxes of a page are now
511
handled correctly: MediaBox and CropBox are inherited,
514
2008-08-31 Matthias Franz
517
Fixed a bug when processing "seac" operators in Type 1
518
fonts. If the base or accent char were not used otherwise,
519
an "Invalid SID" error could occur.
521
2008-08-05 Matthias Franz
524
Fixed a buffer overflow when using 256 glyphs of a CFF font
527
2008-08-04 Matthias Franz
530
Fixed a segfault when processing CFF fonts.
532
2008-07-16 Matthias Franz
534
* pdfnames.c, pdfobj.c, pdfobj.h:
535
Replaced pdf_copy_object by the (almost) equivalent,
536
but simpler function pdf_transfer_label. Simplified
537
pdf_compare_reference.
540
Reintroduced warning about duplicate object keys.
542
2008-06-20 Jin-Hwan Cho
545
Fixed a bug on beads with nonzero depth; reported by
548
2008-06-13 Jin-Hwan Cho
551
Fixed a bug on annotations with nonzero depth; reported by
554
2008-06-07 Jin-Hwan Cho
556
* contrib/latex/movie15.sty.sample:
557
Support movie15.sty, version 2008/01/16.
559
* pdfobj.c, pdfobj.h, pdfparse.c, spc_pdfm.c, pdfnames.c:
560
Allow PDF stream of length zero and suppress some warning messages.
562
2008-06-06 Jin-Hwan Cho
564
* contrib/latex/animate.sty.sample:
565
Support animate.sty, version 2008/06/03.
567
2008-06-05 Jin-Hwan Cho
569
* mpost.c, pdfdev.c, pdfdev.h, pdfdoc.c, pdfdoc.h, spc_pdfm.c:
570
DVIPDFMx supports PGF version 2.00.
571
New specials "pdf:bcontent", "pdf:econtent", and "pdf:code".
572
Moreover, "pdf:exobj << additional_dict >>" merges additional
573
dictionaries into the XObject dictionary, not resources.
575
* pgfsys-dvipdfmx.def.version2, pgfsys-dvipdfmx-patch.tex.version2:
576
A sample DVIPDFMx driver for PGF version 2.00. Note that
577
pgfsys-dvipdfmx-patch.tex must be loaded after loading the
578
basiclayers of PGF. Otherwise image mask and transparency
581
2008-06-01 Jin-Hwan Cho
583
* pdfdev.h, spc_pdfm.c, spc_util.c, dvipdfmx.def.sample:
584
Changed the option "mask" to "hide" in "pdf:image" special.
585
New "pdf:stream" special for a string given externally.
587
* pgf-generic.diff, pgfsys-dvipdfmx.def, xcolor.sty.sample:
588
Renamed and moved pgf patches for version 1 to contrib/generic.
589
Removed "xcolor.sty.sample".
591
2008-05-29 Jin-Hwan Cho
593
* spc_dvips.c, pdfdoc.c, spc_html.c, spc_misc.c, pdfximage.c, pdfximage.h, spc_pdfm.c, spc_util.c, pdfdev.h:
594
Support PGF image masking; support additional attribute dictionary
595
for included images as pdfTeX.
597
* xcolor.sty.sample, pgf-generic.diff, pgfsys-dvipdfmx.def, sample-imagemask.tex, dvipdfmx.def.sample:
598
Sample files for image masking and xcolor, pgf patches.
600
2008-05-28 Jin-Hwan Cho
603
Remove an warning message which occurs with the PGF
607
Support dvips color names defined in dvipsname.def with
608
"pdf:bcolor" special, e.g. "pdf: bcolor JungleGreen".
610
2008-05-23 Jin-Hwan Cho
612
* data/Makefile.am, data/Makefile.in:
613
Removed the obsolete CMap files in the data directory.
615
* data/Makefile.in, src/Makefile.am, src/Makefile.in:
616
Apply Karl Berry's symlink patch.
618
2008-05-22 Matthias Franz
620
* 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:
621
Fixed some compiler warnings issued by "gcc -Wall".
623
2008-05-21 Jin-Hwan Cho
626
Fix the timezone bug in asn_data() based on the dvipdfm-0.13.2d
627
code; this patch was suggested by Nobuyuki Tsuchimura.
629
2008-05-20 Matthias Franz
631
* dvipdfmx.c, pdfdoc.c, pdfdoc.h, pdfobj.c, pdfobj.h:
632
Polished object stream code; removed command line option flag
633
0x10 (no object streams).
635
2008-05-20 Jin-Hwan Cho
637
* contrib/latex/dvipdfmx.def.sample:
638
Fix ithe problem when including a PDF image with bounding box
639
having nonzero llx or nonzero lly.
641
2008-05-18 Jin-Hwan Cho
643
* pdffont.c, pdffont.h, type1.c, type1c.c, truetype.c:
644
Fix the problem with MusiXTeX's Type1 fonts. Some characters
645
of these fonts have different widths from the corresponding
646
TFM files; reported by Yasuhiro Okazaki and Jean-Pierre Coulon.
647
DVIPDFMx now reads character width from TFM if found.
648
Otherwise, the information comes from the font file.
649
However, Type0 fonts (not simple fonts) do not refer to TFM.
651
2008-05-18 Matthias Franz
653
* epdf.c, pdfobj.c, pdfobj.h, xbb.c:
654
Added PDF 1.5 parsing. Note that many PDF 1.5 files have
655
compressed xref streams with DecodeParms entry. Since we
656
don't support this, we cannot read these files.
659
Allow page import from tagged PDF files. Tags are ignored.
661
2008-05-18 Jin-Hwan Cho
663
* dvipdfmx.c, dpxfile.c, dpxfile.h, otl_conf.c, spc_pdfm.c, system.h:
664
Arranged MiKTeX related codes according to MiKTeX SVN repository.
666
* fontmap.c, fontmap.h, pdfdev.c, pdffont.c:
667
Ignore obsolete remap option -r in DVIPDFM fontmaps.
669
2008-05-17 Jin-Hwan Cho
671
* dvipdfmx.c, xbb.c, xbb.h, src/Makefile.am, src/Makefile.in, contrib/latex/dvipdfmx.def.sample:
672
DVIPDFMx now extracts bounding box information.
673
The binary dvipdfmx can be linked as extractbb, ebb, xbb, and
674
it works as same as the linked name. (extractbb == xbb)
675
This idea was suggested by Karl Berry.
677
2008-05-17 Jin-Hwan Cho
679
* Makefile.in, aclocal.m4:
680
Remove acinclude.m4. Give a new tag DVIPDFMX-20080517.
682
* cid.c, cidtype0.c, cid_p.h, truetype.c, cidtype2.c, fontmap.c, fontmap.h, tt_aux.c, tt_aux.h, type1c.c:
683
New fontmap option '-v' to give StemV value explicitly;
684
especially for Chinese truetype fonts, e.g., Simsun;
685
this feature was suggested by Yue Wang.
688
Support automatic generation of .xbb if -shell-escape is given.
689
Don't forget to replace $TEXMF/tex/latex/dvipdfmx/dvipdfmx.def
690
to contrib/latex/dvipdfmx.def.sample.
693
Support MPS files generated by MetaFun.
696
Try distiller specified in the configuration file
697
if interpreting MPS file fails.
699
2008-05-16 Matthias Franz
702
Fixed incorrect size entry in xref stream dictionary.
705
Fixed a bug in hex string parsing.
707
2008-05-16 Jin-Hwan Cho
709
* dvipdfmx.c, spc_pdfm.c, dpxfile.c, otl_conf.c:
710
Restore the application name from "dvipdfm" to "dvidpfmx".
711
Notice that "dvipdfmx.cfg" must be located in "$TEXMF/dvipdfmx".
713
* dvipdfmx.c, fontmap.c, fontmap.h, spc_pdfm.c:
714
Support font mapping files with DVIPS/pdfTeX format.
716
2008-05-13 Matthias Franz
718
* 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:
719
Changed code for PDF import so that objects are not duplicated
720
if they are imported through several pages of the same file.
721
Some PDF parsing functions now take an additional argument
722
of type pdf_file. If this is NULL, them indirect references
725
2008-05-10 Jin-Hwan Cho
727
* dpxfile.c, pdffont.c:
728
Support Mac OS X Resource Fork Font (/rsrc) with TrueType outlines.
730
2008-05-09 Jin-Hwan Cho
732
* 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:
733
Support Mac OS X Data Fork Font (.dfont) with TrueType outlines.
735
2008-05-08 Jin-Hwan Cho
737
* cidtype0.c, cidtype2.c, tt_aux.c, tt_table.c:
738
Support Mac TrueType fonts without OS/2 table.
740
2008-04-28 Matthias Franz
742
* src/pdfencoding.c, src/pdfobj.c:
743
No declarations after statements allowed in C89.
744
(contributed by Vladimir Volovich <vvv at vsu.ru> via Karl Berry)
748
(contributed by Karl Berry <karl at tug.org>)
750
* m4/maw-kpse.m4, maw-libs.m4 (removed):
752
* m4/chi-kpse.m4, cho-libs.m4 (new):
755
Added `ACLOCAL_AMFLAGS -I m4'.
757
Use new names; respect library dependencies; moved macro
759
* m4/maw-time.m4 (new):
761
* acinclude.m4 (removed):
762
Moved macro definitions ...
763
* m4/maw-kpse.m4, maw-libs.m4 (both new):
765
(all contributed by Peter Breitenlohner <peb at mppmu.mpg.de>
768
2008-03-01 Matthias Franz
771
Write bounding box information only if necessary.
773
* dvipdfmx.def, spc_util.c:
774
New 'clip' parameter for 'pdf:epdf' and 'pdf:image'
775
specials. 'clip 1' enables clipping (default),
776
'clip 0' disables it.
778
2008-02-13 Matthias Franz
780
* 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:
781
Added new 'page' parameter to PDF and PS inclusion. This
782
can be used with the graphicx package and the (experimental)
783
graphics driver dvipdfmx.def (see contrib/latex). Example:
785
\includegraphics[page=4]{a.pdf}
787
Page numbers can also be negative; the last page is -1.
790
1) Currently PDF objects may be duplicated in the output
791
if several pages are included from the same file.
793
2) The graphicx package currently uses the same bounding
794
box information (that of the first page) for all pages.
796
2008-02-13 Jin-Hwan Cho
798
* acinclude.m4, aclocal.m4, configure.in, configure:
799
Karl Berry reports configure fixes for TeXLive.
801
* pdfencoding.c, pdffont.c:
802
Fix an encoding bug by the MinionPro package;
803
reported by Juho Lee.
805
2008-02-12 Matthias Franz
808
Encrypted PDF files with key lengths strictly between
809
40 and 128 bits could not be opened. Changed code to
810
meet Adobe Reader's behaviour for revision 3 (PDF 1.4)
813
2008-02-08 Matthias Franz
816
Improved PDF document parsing: pages without contents,
817
undefined indirect references and media boxes with
818
indirect references are now allowed. (Undefined
819
indirect references are needed for documents with
820
several cross-reference tables if the trailer contains
821
a reference to an object outside the part of the
822
xref table seen so far.)
824
2008-01-11 Matthias Franz
827
Fixed a bug in processing DVI comments.
829
* cmap_read.c, pst.c, pst_obj.c , t1_load.c:
830
Fixed a bug in postscript number parsing; reported
833
2008-01-06 Matthias Franz
836
Fixed a bug in the computation of glyph width arrays
837
for Type1 and Type1C font dictionaries; reported by
840
2007-12-05 Jin-Hwan Cho
843
Fixed a memory deallocation problem in the ConTeXt sample of
846
2007-12-03 Jin-Hwan Cho
849
Code mappings in CMap may overlap, but succeeding maps
850
superceded preceding maps; reported and patched by Luo Jie.
852
2007-11-27 Jin-Hwan Cho
855
Restored the DVIPDFM code for calculation of kerns;
856
reported by Keiichirou Shikano.
858
2007-11-22 Jin-Hwan Cho
861
Fixed a bug related to calculate kern; reported by
865
Fixed a memory deallocation bug.
867
2007-11-18 Matthias Franz
870
Fixed small memory leak.
872
2007-11-17 Matthias Franz
875
Suppress unnecessary white-space in PDF arrays.
877
* dpxfile.c, dvipdfmx.c, mem.c, mem.h, tfm.c, xbb.c:
878
Fixed some small memory leaks.
880
2007-11-15 Jin-Hwan Cho
883
Add a predefined simplified Chinese font, AdobeHeitiStd-Regular.otf.
886
Fixed a bug causing problems with Type0 fonts;
887
reported by Akira Kakuto.
889
2007-11-13 Jin-Hwan Cho
891
* 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:
892
Applied the memory leak patch by Matthias Franz.
894
* pdfencoding.c, pdfencoding.h, pdffont.c, type1.c, type1c.c, truetype.c, pkfont.c:
895
Applied the encoding patch by Matthias Franz.
898
Introduced new predefined glyphlist.txt; contributed by
901
2007-11-03 Jin-Hwan Cho
904
Fixed a bug in skip_prolog(), which is unable to skip prolog.
905
Now work with "prologues:=3" mode in metapost 1.000.
907
2007-07-03 Jin-Hwan Cho
910
Fixed a bug in pack_real() using work_buffer twice;
911
found by Takanori Uchiyama and reported by Akira Kakuto.
913
2007-06-30 Jin-Hwan Cho
915
* cidtype0.c, cff_dict.h:
916
Fixed a bug checking cid >= CIDCount, which causes a problem
917
with some CJK otf fonts without having the CIDCount value.
919
2007-06-28 Jin-Hwan Cho
922
Modified pack_real() to support musix20.pfb in Mac OS X 10.4 Quartz.
923
It seems that Mac OS X 10.4 Quartz has a bug on reading real numbers
924
in CFF font format. Since Mac OS X 10.4.10 the problem was solved.
926
2007-05-18 Jin-Hwan Cho
928
* jpegimage.c, pngimage.c, pdfximage.c, pdfximage.h, dvipdfmx.c, xbb.c:
929
Updated "xbb" to generate ".xbb" not ".bb". There is a big
930
difference between "xbb" and "ebb" in handling bitmap images.
931
In the case of bitmap images not having density information,
932
there is no way to know the density (or DPI) of the image.
933
"ebb" always assume that the image has 100 DPI so that
934
100 pixels = 1 in = 72 bp. However, in this case, screen
935
capture image does not look clear. Thus, "xbb" follows pdfTeX,
936
which uses density information if exists, otherwise 72 DPI,
937
i.e., 72 pixels = 1 in = 72 bp, is used. With the modified
938
"dvipdfmx.def" driver for the LaTeX graphics package, you can
939
get the same result as pdfTeX.
941
2007-05-04 Jin-Hwan Cho
944
New program "xbb" extending "ebb".
946
2007-05-03 Jin-Hwan Cho
948
* pdfximage.c, pdfximage.h, dvipdfmx.c:
949
Support bbox for "pdf:image" special (experimental).
950
The program "ebb" extracting the bounding box of image files
951
always multiply 72/100 for bitmap images (png and jpg).
952
It causes some trouble with LaTeX graphicx package which read
953
the bounding box from ".bb" file usually generated by "ebb".
954
New experimantal option "-C 0x0020" is introduced. With this
955
option, dvipdfmx no longer multiply 72/100 for bitmap images
956
so that users can get the same result as pdftex.
958
2007-04-25 Jin-Hwan Cho
961
Extended pdf:outline special to support open/close bookmark.
962
The previous version 20070409 had problem because toclevel
963
of part is -1 in some class files.
965
2007-04-24 Jin-Hwan Cho
968
Predefined colors, Black, White, and Gray caused some problem
969
in Adobe Reader 7 and 8; but not in other PDF viewers, e.g.,
970
Previewer.app. It was solved by changing cmyk value to gray value.
972
2007-04-17 Jin-Hwan Cho
974
* dvipdfmx.c, pdfobj.c:
975
The default of the PDF minor version was changed from 3 to 4.
978
A bug was reported from Werner Lemberg (run nfssfont.tex for
979
the font ptmr8y). It happened when any character is used more
980
than one in one encoding file (e.g., texnansi.enc). To fix it,
981
Encoding resource was revived (but Hirata noted that there was
982
some problem with Ghostscript, not confirmed yet) and Widths
983
resource was changed to look up correct glyphs according to the
987
Suppress an annoying warning message if no verbose option is given.
989
2007-04-13 Jin-Hwan Cho
992
Support OpenType with PID=0, EID=3
994
2007-04-09 Jin-Hwan Cho
997
Updated the usage as suggested by Matthias Franz
999
2007-04-03 Jin-Hwan Cho
1001
* pdfobj.c, pdfdoc.h, pdfencrypt.c, pdfencrypt.h, pdfobj.c, pdfobj.h, pdfparse.c, dvipdfmx.c:
1002
Support object stream for PDF v1.5 or higher; contributed by
1003
Matthias Franz. Previewer.app in Mac OS X did not work with
1004
encryption under v1.5, but no problem with Adobe Reader 8
1006
2007-03-26 Jin-Hwan Cho
1009
Support xref stream for PDF v1.5 or higher; contributed by Matthias Franz
1011
2007-03-17 Jin-Hwan Cho
1014
Fixed a bug in reading .enc file; reported by Matthias Franz
1017
2007-02-28 Jin-Hwan Cho
1020
Fixed a problem in handling Cropbox
1022
2007-02-14 Jin-Hwan Cho
1024
* cidtype0.c tt_glyf.c tt_table.h, tt_table.c:
1025
Fixed a bug in reading htmx and vtmx tables; reported by
1026
Jjgod Jiang based on the solution by Jonathan Kew
1028
2007-01-21 Jin-Hwan Cho
1031
Fixed typos found by Jonathan Kew
1033
2007-01-20 Jin-Hwan Cho
1036
Fixed warning message in the IRIX compilation,
1037
reported by Karl Berry and found by Olaf Weber
1039
2007-01-19 Jin-Hwan Cho
1042
Fixed a bug reported by Shigeru Miyata on Dec 28, 2005
1045
Fixed a bug reported by Nobuyuki Tsuchimura on Jan 19, 2007
1047
2006-12-20 Jin-Hwan Cho
1050
Remake using autoconf-2.59
1052
* configure.in config.h.in src/pdfdoc.c:
1053
Apply tm_gmtoff related modifications by Karl Berry
1055
2006-12-15 Jin-Hwan Cho
1057
* configure aclocal.m4 Makefile.in src/Makefile.in data/Makefile.in:
1058
Remake using aclocal-1.6, automake-1.6, and autoconf-2.59
1060
* configure.in src/Makefile.am data/Makefile.am:
1061
Apply configure related modifications by Karl Berry
1063
2006-12-11 Jin-Hwan Cho
1065
* mpost.c, pdfdev.c, pdfdev.h, spc_pdfm.c, pdfcolor.c, pdfcolor.h,
1066
pdfdraw.c, pdfdraw.h:
1067
Temporary implementation for mps files generated by mptopdf.
1069
2006-12-11 Jin-Hwan Cho
1072
Fixed the color bug reported by H. J. Lee and Pablo Rodriguez.
1074
2006-12-07 Jin-Hwan Cho
1077
Fixed a bug with xref, reported by Paul Guyot.
1079
2006-12-06 Jin-Hwan Cho
1082
Modified to work with broken fonts, e.g. belleek/blsy.pfb.
1084
* dvipdfmx.c, dvi.c, dvi.h:
1085
Add xoffset and yoffset specials.
1087
2005-12-18 Jin-Hwan Cho
1090
Fixed a bug found by Karnes Kim.
1092
2005-10-14 Jin-Hwan Cho
1095
Fix a bug on spc_handler_tpic_bk() and spc_handler_tpic_wh();
1096
reported by Akira Kakuto.
1098
2005-08-31 Jin-Hwan Cho
1100
* pdfdoc.c, pdfdraw.c:
1101
Stroke and fill color controls with gsave and grestore.
1103
2005-08-30 Jin-Hwan Cho
1105
* pdfdraw.h, pdfdraw.c, mpost.c:
1106
Fix a bug on MetaPost manipulation.
1109
Allow PDF images generated from Mac OS X.
1112
Fix a bug on PK Type3 font.
1114
2005-08-24 Jin-Hwan Cho
1117
Fix a bug on finding XObject.
1119
2005-08-23 Jin-Hwan Cho
1121
* pdfdraw.h, pdfdraw.c:
1122
Fix a bug on matrix concatenation and inverse matrix.
1125
Fix a bug on giving object name in image.
1127
2005-08-15 Jin-Hwan Cho
1129
* pdfdoc.c, spc_pdfm.c, specials.c:
1130
Fix a bug on article|bead|thread specials.
1132
2005-08-14 Jin-Hwan Cho
1134
* spc_html.c, spc_pdfm.c, specials.c:
1135
Fix a bug causing memory leak, and correct a typo.
1137
2005-08-12 Jin-Hwan Cho
1139
* pdfdev.c, pdfdev.h, spc_dvips.c, spc_pdfm.c, spc_util.c:
1140
Modified transform_info structure using pdf_tmatrix.
1142
2005-08-11 Jin-Hwan Cho
1144
* pdfdoc.c, pdfdraw.c, pdfdraw.h, spc_pdfm.c:
1145
Optimization of changing transform matrices.
1146
The "pdf:literal" special works almost same as pdfTeX's
1147
"\pdfliteral" primitive. But "pdf:literal direct" is slightly
1148
different from pdfTeX's "\pdfliteral direct". It does not
1149
affected by "pdf:literal".
1151
2005-08-08 Jin-Hwan Cho
1154
Test implementation of \special{pdf:literal ...}.
1157
Ignores \special{pos: ...} too.
1160
Modified to fit the changes introduced in 2005-08-08.
1162
2005-08-02 Jin-Hwan Cho
1164
* dvi.c, spc_pdfm.c:
1165
Fixed a few bugs introduced by changes in 2005-08-01.
1167
* dvipdfmx.def, spec-dpx.tex:
1168
Modified to fit the changes introduced in 2005-08-01.
1169
ConTeXt module still has a bug, e.g., \handleMPfshow.
1171
2005-08-01 Shunsaku Hirata
1173
* specials.c, spc_html.c, spc_pdfm.c:
1174
Various minor changes to specials.
1175
Rewriting HTML special support.
1177
2005-07-31 Shunsaku Hirata
1180
Fixed a bug introduced by changes in 2005-07-30.
1181
(@page1 not handled correctly)
1183
2005-07-30 Shunsaku Hirata
1186
Color definitions placed into spc_util.c.
1188
* pdfdev.c, pdfdraw:
1192
set_bgcolor pdfcolor --> pdfdoc.
1195
Force fixedpitch option for printer/acro fonts.
1197
* spc_*, specials.c:
1199
* And many others....
1201
2005-07-28 Shunsaku Hirata
1204
Simply use sprintf for printing numbers.................
1205
Fixed an ancient bug causing very frequent (unnecessary)
1208
2005-07-21 Shunsaku Hirata
1210
* pdfencoding.c: Fixed bugs.
1212
* truetype.c: Update and various changes.
1213
Apply ligature GSUB for glyph name "a_b" and glyph names
1214
with AGL mapping to multiple Unicode character sequence.
1215
Suffixes "liga", "dlig", "frac" ... are always recognized
1216
as feature tag for glyph composition. But for "a_b.vert",
1217
dvipdfmx first compose glyph "a_b" (by some way) and then
1218
apply "vert" substitution to composed glyph. It may often
1219
behaves unexpectedly. Suffixes like "aalt1" is treated as
1220
alternate substitution; e.g., "a.salt1" is interpreted as
1221
first stylistic alternate of default glyph for "a". Those
1222
features are just for completeness. (esp. alternate GSUB)
1223
Reorganized various process of finding glyphs, but still
1224
complicated. TTC is supported (but index is always 0).
1226
2005-07-20 Shunsaku Hirata
1232
Mostly rewritten. Allow .enc file to be specified
1233
in fontmap. But it is not for reencoding but to get
1234
glyph names for ToUnicode creation.
1239
* pdfcolor.c, vf.c: Don't use strcasecmp, strncmp.
1241
2005-07-18 Shunsaku Hirata
1244
Set image format conversion filter to NULL if empty
1245
string "" is given. Put various system dependent things
1249
Creation of temporary files, call other program
1250
via system() to apply filter to file.
1252
* dpxconf.c, dpxconf.h: new files
1253
Currently paper format related codes.
1255
* dvipdfmx.c: cleanup
1256
Papersize handling --> dpxconf.c
1257
Removed undocumented extension for page label.
1260
's' option for MPS-to-PDF conversion mode. Treat page
1261
numbers as suffix. For "dvipdfmx -M -s 1-3 foo",
1262
dvipdfmx first tries to open "foo". If "foo" exists,
1263
it then start conversion of "foo" (ignore 's'), if not,
1264
"foo.1", "foo.2", and "foo.3" is searched and multi-page
1265
PDF file is generated.
1267
2005-07-17 Shunsaku Hirata
1270
Fixes in psfile special.
1272
2005-07-17 Shunsaku Hirata
1274
* dpxutil.c, dpxutil.h:
1275
Added few functions to make fontmap.c independent
1276
from pdfparse.c. Various parse_xxx from pdfparse.c.
1277
mangle_name() removed.
1279
* pdfparse.c, pdfparse.h, dpxutil.c, dpxutil.h, ...:
1280
Several parsing routine moved to dpxutil.c.
1281
parse_c_ident() is not really for "C" ident.
1282
parse_c_string() is not really for "C" string.
1283
And there are too many unclear parse_xxx routines
1284
unrelated to PDF in "pdfparse".
1285
There are many uncertainty in parsing \special too.
1288
skip_white() wrongly used in many places.
1289
skip_white() skips from '%' to newline...
1291
* pdf:tounicode, pdf:mapfile, and pdf:mapline
1292
using very different syntax than other pdf:
1296
Minor changes in debug and error message.
1298
* psimage.c, psimage.h, t1crypt.c, t1crypt.h: Removed.
1300
* t1_load.c: Merge t1crypt
1302
* pdfximage.c, pdfximage.h: Merge psimage
1303
psimage.c is not really for PostScript support.
1304
It just call external program to do conversion form
1305
PS to PDF. There are no reason to restrict this to
1309
Do not use pdfparse.c. Added 'u' option to specify
1310
"ToUnicode". This is for testing. Don't use this.
1313
Read ToUnicode CMap specified in fontmap.
1315
* spc_util.c: HSB color...
1318
* cidtype0.c, cidtype2.c:
1319
Do not use mangle_name in dpxutil.c.
1321
* Various fixes related to pdflimits.h:
1322
This only contains PDF_NAME_LEN_MAX.
1324
2005-07-16 Shunsaku Hirata
1326
* fontmap.c, fontmap.h
1327
Create fontmap entries for each subfont, containing
1328
SFD mapping information and "link" to fontmap entry
1329
"foo@SFD@". Removed pdf_lookup_fontmap_record2().
1331
* dvi.c, mpost.c, pdfdev.c:
1332
Modification needed by changes in fontmap handling.
1335
Minor changes in fontmap specials. Fixed leak in
1338
* subfont.c, subfont.h:
1339
Minor fixes and changes.
1342
Fixed a bug (typo) in mp_setfont.
1344
2005-07-14 Shunsaku Hirata
1346
* subfont.c, subfont.h:
1347
xxx_sfd_yyy -> sfd_xxx_yyy
1348
Added code for testing SFD file handling.
1349
Added various comments.
1352
Check if subfont ID is valid before loading
1353
SFD mapping table for subfonts.
1354
Changes related to the above changes in subfont.c.
1356
2005-07-13 Shunsaku Hirata
1358
* dvipdfmx.c: minor fix
1359
agl_set_verbose() called in pdffont.c too.
1362
Workaround for problems in subfont fontmap lookup.
1363
Delete all conflicting explicit fontmap entries for
1364
subfonts in pdf_insert_fontmap_record() when adding
1365
fontmap entry with @SFD@ extension.
1367
* subfont.c, subfont.h:
1368
Scan SFD file for valid subfont IDs. (Required by
1369
changes made to fontmap.c mentioned above.)
1370
Removed unnecessary file static variables.
1371
Simplified file reading and parsing.
1373
* dvi.c: set_verbose() for subfont.c
1376
Correctly handle fontmap entry like "dmj@DNP@12".
1378
2005-07-11 Shunsaku Hirata
1380
* agl.c: Fixed various small bugs
1382
2005-07-09 Shunsaku Hirata
1384
* fontmap.c, fontmap.h, pdfdev.c: Fake-bold again
1385
'b' option. This is experimental feature.
1388
Graphics state is not properly managed yet.
1389
Fake-bold and set_rule changes linewidth without
1390
using pdf_dev_setlinewidth().
1391
Enclose set_rule with q and Q.
1393
* agl.c: Removed unused variable
1395
2005-07-08 Shunsaku Hirata
1397
* tt_cmap.c: Bug fix
1398
Format 12 cmap subtable support not working...
1400
* fontmap.c: Test for UCS-4
1401
'p' option to specify UCS plane.
1402
This is just for testing purpose. Don't use that.
1404
2005-07-08 Shunsaku Hirata
1406
* tt_cmap.c: Bug fix in ToUnicode creation
1407
ToUnicode CMap creation (inversion of TrueType cmap) was
1408
not working for format 12 cmap subtable.
1410
2005-06-27 Shunsaku Hirata
1413
Add missing font definitions.
1415
* data/config/dvipdfmx.cfg:
1416
Forgot to mention that 'D "..."' line is commented.
1417
Now there are no default setting for image converter,
1418
so PS inclusion will always fail unless you modify
1421
2005-06-26 Shunsaku Hirata
1423
* data/config/cid-x.map: empty
1424
Contained examples for fonts with unclear license.
1425
Not maintained for a long time.
1427
* data/CMap/Adobe-Identity-UCS2: removed
1428
Wrongly named file. Content of this file is
1429
actually identity mapping.
1432
Create dummy ToUnicode CMap "Adobe-Identity-UCS2".
1435
spc_push_object() always create label for objects.
1436
Objects created with pdf:obj should always be written
1439
* ainclude.m4, configure.in:
1440
Define __TDS_VERSION__, require xbasename in kpathsea,
1441
removed unused macros, simplified.
1444
Use __TDS_VERSION__ instead of HAVE_KPSE_ENC_FORMAT
1448
Alwyas use xbasename().
1450
* fontmap.c, fontmap.h:
1451
Fake bold and OTL options removed.
1457
Fake bold option removed. (undocumented)
1459
* configure.in, acinclude.m4:
1460
Various changes. Error if kpathsea library doesn't
1462
Define __TDS_VERSION__, removed HAVE_KPSE_XXX_FORMAT.
1464
* configure and others: recreated
1466
2005-06-20 Shunsaku Hirata
1468
* tt_gsub.c, tt_gsub.h: Alternate substitution
1469
LookupType 3 (Alternate Substitution) GSUB lookup.
1472
2005-06-13 Shunsaku Hirata
1475
Added support for LookupType 7 (Extension Substitution).
1476
Large CJK fonts may want them. Not tested well.
1478
2005-06-09 Shunsaku Hirata
1481
Set top-side bearing to (sTypoAscender - bbox.ury) for
1482
fonts without vmtx table (vertOriginY = sTypoAscender).
1484
2005-06-09 Shunsaku Hirata
1487
Fixes for old kpathsea library.
1489
2005-06-08 Shunsaku Hirata
1491
* dpxfile.c, dpxfile.h:
1492
Fallback to old path searching behaviour.
1493
Warn about files found in old location.
1496
set_verbose() for dpxfile.
1498
2005-06-08 Shunsaku Hirata
1500
* cid_basefont.h: Update for Adobe Reader 7
1502
* cid.c, pdfobj.c: Accept version tag 1.6
1504
2005-06-06 Shunsaku Hirata
1506
* acconfig.h: removed
1508
* data/CMap/glyphlist.txt: --> data/config/
1509
No appropriate place yet.
1512
Fixed a bug in reading CIDSystemInfo dict.
1514
* pdfencoding.c, pdfencoding.h:
1515
pdf_load_ToUnicode_stream(). Load ToUnicode CMap from file and
1516
then create ToUnicode stream object.
1517
See also changes in truetype, type1, type1c, and pdffont.
1520
First try to load ToUnicode CMap with file name 'tfm_name'.
1521
See also changes in truetype, type1, type1c, and pdfencoding.
1523
* truetype.c, type1.c, type1c.c
1524
Don't create ToUnicode if fontdict already have them.
1525
See also changes in pdffont and pdfencoding.
1527
* Makefile.am, data/Makefile.am, src/Makefile.am:
1528
Fixes, simplified, updated...
1529
There are problems in data/Makefile.am yet. Installation
1530
directory for .map and .cmap is not correctly set.
1532
* Makefile.in and others: recreated
1536
2005-05-07 Shunsaku Hirata
1539
Color special without push/pop allowed?
1542
pdf:literal broken for more than 2 years?
1543
Fixed a bug in creating annot.
1545
* data/config/dvipdfmx.cfg:
1548
2005-05-04 Shunsaku Hirata
1553
There were several problems in handling broken PDF files.
1556
There were several problems in handling broken PDF files.
1557
Stream dict is freed twice when parsing stream object failed.
1560
PK font creation was not working due to incorrect design size
1561
value returned by tfm_get_desing_size().
1564
Update and fixes for links. Many sentences doesn't make sense
1565
when the document is printed. Stylesheet default to "plain"
1566
style. Encoding set to "utf-8".
1568
* style.css: renamed to style_dflt.css
1571
Plain style stylesheet.
1573
2005-03-07 Shunsaku Hirata
1576
Color not correctly reset at page break?
1580
Encapsulating docxxx within single struct pdf_doc.
1582
2005-03-05 Shunsaku Hirata
1585
Text handling was not correct for subfonts.
1588
Increased verbose level for ToUnicode warning.
1590
2005-02-03 Jin-Hwan Cho
1592
* otl_conf.c, spc_pdfm.c:
1593
Fixed remaining bugs related to MiKTeX file searching.
1595
* cvs tag: DVIPDFMX-20050201 (revised)
1597
2005-02-01 Jin-Hwan Cho
1600
Fixed a critical bug on the DW entry for CIDType2 fonts.
1602
* cvs tag: DVIPDFMX-20050201
1604
2005-01-06 Jin-Hwan Cho
1606
* dvi.c: Fixed a bug on converting subfont character numbers.
1608
* snapshot: two snapshots
1609
DVIPDFMX-20040824 (release): before full update
1610
DVIPDFMX-20040912 (current): with the bug fix on 2005-01-06
1612
2004-09-12 Shunsaku Hirata
1614
* specials: rewriting...
1615
All \special related files renamed to spc_xxxx and specials.
1616
Use function pointer table rather than doing everything with
1617
if-else or switch-case.
1620
Few functions are expelled from pdfparse.c since they are not
1621
related to PDF parse at all. pdfparse still contains dvipdfmx
1622
only extension and they might be enabled even when parsing
1625
* spc_pdfm, pdfparse:
1626
tounicode special moved to spc_pdfm.
1628
2004-09-08 Shunsaku Hirata
1631
ttf.[ch] -> truetype.[ch], renamed few files, added tt_post.
1633
* unicode, pdfencoding:
1634
ToUnicode support migrated to pdfencoding.
1636
2004-09-05 Shunsaku Hirata
1638
* pdfencoding: encodings -> pdfencoding
1642
* pdflimits: This was not pdflimits nor implementation limit
1643
of PDF viewers at all.
1645
2004-09-02 Shunsaku Hirata
1647
* pngimage, jpegimage:
1648
Improvement on embedded ICC profile support.
1649
Profiles with same MD5 checksum are shared among images.
1652
Added something for managing color space resources.
1655
Depends on tfm.c again.
1657
2004-08-30 Shunsaku Hirata
1660
Mostly independent from dvi interpreter.
1661
pdfparse still depend on dvi.c through pdfspecial.c due to
1662
pdf: special @xpos and @ypos.
1665
Primitive graphics drawing functions and graphics state
1666
management: pdf_dev_moveto, pdf_dev_gsave, pdf_dev_lineto,
1667
pdf_dev_flushpath, and so on (migrated from mpost.c).
1668
PostScript, tpic, and all other graphics specials should not
1669
directly access page content stream but must use those
1670
functions instead. Text state and colors are still managed
1671
completely differently.
1673
* Added many comments in source and headers...
1675
* Rearranged initialization process again.
1676
pdf_init_fontmap: Initialize fontmapping database.
1677
pdf_open_document: Open output file, initialize various
1678
document resource handler, and set default media size...
1679
pdf_init_device: Unit conversion, precision and others.
1680
pdf_doc_begin_page: Initialize graphics state, etc.
1682
2004-08-27 Shunsaku Hirata
1685
Fixed several bugs in Type1 and CFF -> CID CFF converison.
1686
There might be more bugs...
1688
* doc/dpxunicode.pdf: Update.
1690
2004-08-24 Shunsaku Hirata
1692
* cid_basefont.h: Bug fix
1695
* doc/dpxunicode.pdf: Update
1699
2004-08-22 Shunsaku Hirata
1701
* otl_conf.[ch]: New file
1702
OTL feature is managed by configuration file.
1705
-S and -L option removed. Added option -l.
1707
* doc/dpxunicode.pdf: Update.
1709
2004-08-16 Shunsaku Hirata
1711
* Unicode support for CID OpenType.
1713
2004-08-15 Shunsaku Hirata
1716
-f option changed to -S. Added -L for ligature substitution.
1718
* tt_gsub.c and others: New fontmap option -L
1719
Map ligatures not in Unicode to PUA.
1720
ToUnicode support handle substituted glyphs.
1721
See, doc/dpxunicode.pdf for details.
1723
2004-08-14 Shunsaku Hirata
1725
* otl_opt.[ch]: New file
1726
Handle fontmap options for OTL features.
1728
2004-08-11 Shunsaku Hirata
1731
The seac operator support was broken since 2004-8-02.
1733
* fontmap.c: New fontmap option "-f tag" and "-b number".
1734
Specify OpenType layout feature with -f option for "unicode"
1735
endoding font. Glyph substituion specified by -f option is not
1736
reflected in ToUnicode CMap yet. Only single substitution GSUB
1737
subtable is supported.
1738
The "-b" option specifies "boldness" parameter for fake-bold
1739
(stroke line width of fill-then-stroke text).
1742
Changes for new features mentioned above.
1744
2004-08-08 Shunsaku Hirata
1746
* tt_cmap.c, cidtype0.c: Bug fixes
1748
2004-08-08 Shunsaku Hirata
1750
* Makefile.in, Makefile.am:
1751
cmap_parse --> cmap_read.
1753
* cmap_parse.[ch]: Remaned to cmap_read.[ch]
1755
* cmap_write.[ch]: New file
1756
Create CMap PDF stream object. Output is not efficient yet.
1759
Multiply pdf:pagesize special page height and page width by DVI
1760
magnification factor.
1762
* agl.[ch], unicode.[ch], ....:
1765
* dpxfile.[ch]: New file
1768
2004-08-07 Shunsaku Hirata
1770
* Type1 font accept "unicode" encoding.
1771
Converted to CIDFontType 0 CIDFont.
1773
2004-08-02 Shunsaku Hirata
1775
* New files: t1_load.[ch], t1_char.[ch]
1776
type1.c --> type1.c, t1_load.c, t1_char.c.
1777
t1_load: load Type1 font (PFB) into cff_font structure.
1778
t1_char: type 1 charstring interpreter and type 1 to type 2
1779
charstring converter (type 2 encoder). There are many duplicated
1780
code in cs_type2 and t1_char.
1782
2004-07-31 Shunsaku Hirata
1784
* New files: pdfdraw.[ch], pdfcolor.[ch]
1787
Use pdfdraw and pdfcolor.
1790
CTM affects box calculation in dev_expand_box(). Special
1791
bann/eann set correct bounding box for rotated text.
1793
* New keyword "unicode" in fontmap:
1794
The keyword "unicode" can be specified as encoding in fontmap.
1795
With this option dvipdfmx creates Unicode-to-GID mapping CMap
1796
and GID to Unicode (ToUnicode) CMap from TrueType cmap table
1797
(format 4 Windows-UCS2 and format 12 Windows-UCS4 subtable is
1798
supported) for TrueType font. All font with encoding "unicode"
1799
is treated as Type0 font.
1800
Currently supported only for Unicode TrueType font.
1803
2004-07-27 Shunsaku Hirata
1807
* fontmap.c: Bug fix.
1808
Do not increment num_fontmap when replacing duplicate
1812
Support PS operator findfont etc. Not compatible with dvips.
1814
2004-07-18 Shunsaku Hirata
1817
Add/replace/remove fontmap entries.
1818
Added fontmap_add_map_record(). Scan single mapfile line.
1820
* fontmap.c, pdfdev.c:
1821
fontmap_tex_name(), ... abort if invalid value is passed.
1823
* psspecial.c: bmpfile special
1824
This is not PS special...
1826
* pdfobj.[ch], pdfspecial.c:
1827
Added pdf_copy_object(): Copy object data without changing
1828
object label. Dvipdfmx now can handle pdf specials like:
1830
\special{pdf:obj @foo << /Bar @bar >>}
1831
\special{pdf:obj @bar << /Foo @foo >>}
1833
Object reference can appear before definition of object.
1835
2004-07-15 Shunsaku Hirata
1837
* cidtype2.c, type0.c:
1838
Write CID glyph metrics for non-embedded TrueType fonts.
1840
* dvipdfmx.c, cidtype0.[ch], cidtype2.[ch], cid.[ch]:
1841
Treat all CIDFont as fixed pitch font if bit 0x0004 is set
1842
in "-C" option. (for backward compatibility)
1844
2004-07-14 Shunsaku Hirata
1846
* New files: bmpimage.c, bmpimage.h
1847
Windows BMP image format support. (not tested well...)
1848
1/4/8/24-bits per pixel images, uncompressed or 4-bit/8-bit RLE
1849
compressed images are supported.
1852
Added dictionary key "T" to the list of strings to be
1853
converted to Unicode...
1855
2004-07-12 Shunsaku Hirata
1858
Added new option "-C".
1859
Thumbnail support available again.
1862
Spline path ("sp" command) was not handled correctly.
1863
Use (semi-)transparent color for shading, enabled by option
1864
-C 2. (not enabled by default since it requires PDF version
1865
1.4+) Apply shading only to closed paths.
1868
epsbox support was broken.
1870
* pdfdoc.c: Thumbnail supported again
1872
2004-07-04 Shunsaku Hirata
1875
HAVE_KPSE_OPENTYPE_FORMAT and HAVE_KPSE_ENC_FORMAT is not
1876
correctly set when compiled with gcc3.
1878
2004-06-28 Shunsaku Hirata
1881
Do not clip PDF images when "clip" option is not given.
1883
2004-06-27 Shunsaku Hirata
1885
* Workaround for "three dot leader" problem.
1887
2004-06-16 Shunsaku Hirata
1889
* Do not adjust refernece point of included images if users do
1890
not supply bounding box.
1892
* Look for .ofm first.
1893
Workaround for incompatibility introduced on change 2004-01-20.
1895
* pdfdoc.c: Fixed bug that dvipdfmx crushes with null string key in
1898
2004-06-02 Jin-Hwan Cho
1900
* pdfspecial.c: Bug fix on cropbox in do_bxobj().
1902
2004-05-03 Shunsaku Hirata
1904
* jpegimage.c: Uninitialized variable.
1906
2004-04-09 Shunsaku Hirata
1908
* README, index.html: update
1910
* contrib/patches/glyphlist-cm-add.txt: new file
1911
Additional glyphlist for Computer Modern font.
1917
Do not increase line width.
1919
2004-04-03 Shunsaku Hirata
1923
2004-03-25 Shunsaku Hirata
1925
* jpegimage.c: ICC profile
1926
Added APP2 ICC_PROFILE support.
1927
ICC profile is not deleted from JPEG stream.
1929
* Embedded ICC profile support for JPEG and PNG enabled.
1930
ICC profiles are not cached. Alternate color space?
1932
2004-03-24 Shunsaku Hirata
1934
* Thumbnail support removed.
1937
Quick check against WCAG 1.0. Lowercasified all HTML tags for
1941
Dvipdfm/dvipdfmx copyright notice remved from PDF Docinfo's
1942
/Producer string, simplified to "dvipdfmx (VERSION)".
1944
* configure.in, configure:
1947
2004-03-22 Shunsaku Hirata
1949
* pngimage.c: Minor changes.
1951
Remaining things for complete PNG 1.1 support is:
1952
Complete iCCP support. Support tEXt and other metadata chunks
1953
using XML Metadata stream. pHYS (and oFFs) support (in ebb).
1954
Preserve filter (PNG predictor) if possible, but some softwares
1955
using filters very inefficiently. 16-bit RGB/Gray (PDF-1.5).
1957
JPEG (JFIF) can also store ICC profile with APP2. Implementing
1958
very basic ICC profile support might be useful.
1960
2004-03-21 Shunsaku Hirata
1964
* data/config/cid-x.map:
1965
"slant" option -s supported in vertical mode.
1967
* pngimage.c: Fixed a serious bug, more chunks supported.
1969
Gamma obtained by png_get_gAMA() is inverse of screen gamma
1970
that the image is prepared. Gamma is sometimes inverted...
1972
Approximated CalRGB color space used along with /Intent if
1973
sRGB chunk is found (not sure how to treat it).
1975
Experimental iCCP support --enable-iccp.
1976
Doesn't validate ICC profile embedded in PNG.
1977
Range? Rendering Intent?
1980
A line width of zero means thinnest line drawable in target
1981
device. dev_rule() was wrongly changed to increase line width
1982
if the width is too thin.
1984
2004-03-20 Shunsaku Hirata
1986
* unicode.c, agl.c, type0.c: ToUnicode CMap support
1988
Always create ToUnicode CMap for simple fonts regardless of
1989
the existence of glyph list file. If 10% of glyph names can
1990
not be converted to Unicode, ToUnicode CMap is not embedded.
1991
The reason for the (non-zero) limit 10% is; ToUnicode CMap
1992
is shared among fonts using same .enc file. In this case,
1993
Unicode mapping is created for all glyphs in the .enc file
1994
where non-standard glyph names like "visiblespace" is often
1995
expected. But those glyphs are usually not used in the TeX's
1996
output and hence it should be simply ignored if mapping is
1998
Sharing ToUnicode CMap is not so efficient as expected for
1999
simple fonts, "subsetted" ToUnicode CMap might be better.
2001
type0.c search ToUnicode CMap named as REGISTRY-ORDERING-UCS2
2002
or FONTNAME-UCS2, the latter case is for CIDFontType 2 font
2003
using font's internal glyph ordering. It does not care about
2004
the content of CMap at all, especially usecmap is not checked.
2007
* README, data/config/cid-x.map:
2009
Description about -m option removed from README.
2010
This option is no longer necessary for usual cases, and use
2011
of it is not recommended as the original dvipdfm fails to read
2012
fontmap file with this option.
2016
Increment n-1 th byte if n-th byte overflow in bfrange like:
2020
The dstCode string is treated like an integer, but the number
2021
of bytes required for that character code is not increased.
2022
Acrobat's "ToUnicode" CMap contains such bfrange entries and
2023
causing a serious problem in Korean TrueType fonts.
2025
2004-03-18 Shunsaku Hirata
2028
pdf:literal direct should not translate origin.
2030
2004-03-17 Shunsaku Hirata
2032
* type1.c, type1c.c, cmap.c, ...: Memory leak.
2034
2004-03-16 Shunsaku Hirata
2036
* mpost.c, psspecialc.: Fixed bugs.
2038
2004-03-14 Shunsaku Hirata
2041
Scan first page's paper size special first.
2043
* pdfparse.c: \x in PDF string - broken
2045
This (undocumented) extension to the PDF string object disturbs
2046
and interrupts PDF object parsing and subsequent text re-encoding
2047
specified by tounicode special (another extension). And it makes
2048
impossible to separate parsing and re-encoding process ("x" after
2049
backslash representing Unicode hex value...).
2051
Support for this extension was removed since it is desirable to
2052
move (or isolate) tounicode special to the appropriate place, not
2053
pdfparse but pdfspecial, if possible.
2055
Note that this kind of extension might be incompatible with all
2056
other PDF applications, "\x" should be treated as a single "x" in
2057
literal strings (like PostScript).
2059
* pdfspecial.c: Special image/uxobj is partially broken.
2061
Special uxobj doesn't work for external images after the change
2062
made on 2003-08-12. It only works for the grabbed page contents
2063
created by special bxobj/exobj.
2065
Access to XObject reference (but can't be placed in the document)
2066
is now available again. Supporting uxobj is usually not necessary
2067
for external images because they are always reused as a document
2068
resource but allowing access to the (form) XObject's indirect
2069
reference by name like @foo is usefull for using them as an entry
2070
of appearance dictionary in annotations.
2072
* pdfspecial.c, pdfdev.c:
2074
Special bann/eann does not take account of current transformation
2075
matrix correctly. It result in incorrect /Rect for all annotations
2076
created by special bann/eann if transformation is applied.
2080
* pdfparse.c: "ToUnicode" special
2082
Illegal PDF string is expected within pdf: specials. Many users
2083
try to use raw Shift-JIS text without properly escaping backslash
2084
appears in the 2nd byte of double-byte character. The same problem
2085
occurs in many other encodings.
2087
As a workaround for this problem, backslashes are not treated as
2088
"escape" in some situation when the current "ToUnicode" CMap name
2089
contains a substring RKSJ, B5, GBK, or KSC.
2094
2004-03-12 Shunsaku Hirata
2097
Skip until %%EndProlog.
2099
* pdfspecial.c, pdfdev.c, pdfdoc.c:
2100
pdf_doc_set_mediasize()/pdf_doc_get_mediasize().
2103
tfm.c was highly wasteful and inflexible.
2104
Preparing for 31-bits character code support.
2106
2004-03-11 Shunsaku Hirata
2108
* dvipdfmx.c, dvi.[ch], pdfdev.[ch], pdfdoc.[ch],...:
2109
An effort to eliminate complicated initilization chain...
2111
* pdfximage.c, pdfximage.h: New file.
2112
An effort to make image support more flexible.
2113
Included images and grabbed page contents (forms) should be managed by
2114
pdf_ximage as document resource (like font).
2116
* pdfspecial.c, psspecial.c:
2117
Image support moved to pdfximage. (might be broken)
2119
* mpost.[ch], epdf.[ch], pngimage.[ch], jpegimage.[ch], psimage.[ch]:
2120
Image support moved to pdfximage.
2122
* dvipdfmx.c, mpost.[ch]:
2123
Experimental "mpspdfmx" mode -M.
2125
* pdfspecial.c, pdfdev.c, pdfdoc.c:
2126
Hard to explain... There are many misleading/illogical things.
2128
* dvipdfmx.c, dvi.[ch]:
2129
DVI specials related to page/paper size is pre-scanned.
2132
Page selection option "-s" accept page labels.
2133
For example, command line option "-s 1-10/r,11-12/D:2:empty-page-,13-"
2134
set page labels for page 1-10 to lowercase roman numerals, page 11-12
2135
to arabic numerals starting with 2 and with prefix "empty-page-",...
2138
An option for "bookmark open lavel" -O.
2141
Undocumented watermark/page decoration feature. Not completed yet.
2144
I can hardly think that thumbnail support is useful. Acrobat Reader
2145
can create thumbnail image and other PDF viewers like gs* and Xpdf
2146
doesn't support it. Currently broken due to changes in pngimage.c.
2148
* dvipdfmx.c, pdfdev.c:
2149
The default precision set back to 2 fractional digits. Most sensitive
2150
part is dev_set_string() but the accuracy of this part is essentially
2151
limited to 0.01 point in the most cases. Increasing precision above 2
2152
does not give good result (except DVI rules) but merely increases file
2155
2004-03-05 Shunsaku Hirata
2158
Fixed a critical bug introduced on change 2004-02-29:
2159
Consistency check was done after pages are free-ed.
2161
* pdfdoc.c, pdfspecial.c:
2162
special pdf:names. Add name tree entry.
2164
* pdfobj.c, pdfparse.c:
2165
Few functions added for manipulating PDF array.
2167
2004-03-04 Shunsaku Hirata
2169
* pdfparse.c: Added missing () in macro PDF_TOKEN_END()
2171
* pdffont.c: Compiler warning on uninitialized variable.
2173
2004-03-02 Shunsaku Hirata
2176
Groff support was essentially broken. Dvipdfm(x) generated
2177
very inaccurate result due to incorrect choice of scale/unit.
2178
It should be fixed now.
2180
2004-02-29 Shunsaku Hirata
2182
* pdfspecial, pdfdoc, pdfobj, pdfparse:
2183
Partially rewrote...
2186
Moved static ... to static struct { ... } docXXX.
2187
Removed (strange) optimization.
2188
Outline item open/close.
2193
2004-02-25 Shunsaku Hirata
2195
* Too many warnings when compiled with -Wshadow...
2196
pdfdoc.c need to be fixed.
2198
* -Wmissing-prototypes, -Wmissing-declarations
2200
2004-02-21 Shunsaku Hirata
2203
Changes for New TDS/kpathsea.
2204
Fixed a bug in get_tounicode_cmap()...
2206
2004-02-19 Shunsaku Hirata
2208
* cidtype0.c, type0.c:
2209
Write CID glyph metrics for non-embedded CFF/OpenType fonts.
2211
2004-02-18 Shunsaku Hirata
2214
Ignore unpainted path in flush_path().
2215
show_path() output 'n' operator for path without stroking nor filling
2216
to avoid Acrobat error (bug?) "Illegal operation inside a path.".
2218
2004-02-17 Shunsaku Hirata
2220
* pkfont.c, pkfont.h, pdfdev.c:
2221
Removed dependency to TFM in pkfont.
2223
* type1.[ch], type1c.[ch], type0.[ch], ttf.[ch]:
2224
No longer need to know font resource name and remap.
2226
* pdffont.c, pdffont.h:
2229
* type1.[ch], type1c.[ch], ttf.[ch], pkfont.[ch], pdfdev.c, dvipdfmx.c:
2230
Simple font support will be unified to pdffont.c
2232
2004-02-16 Shunsaku Hirata
2234
* type1.c, type1c.c, cidtype0.c:
2235
Remove UniqueID and XUID from CFF Top dict.
2238
Keep original FontBBox instead of replacing it with tight one obtained
2239
from glyph's charstrings to prevent Acrobat 4 from greeking text.
2240
Acrobat 4 may display text drawn with fonts which only contain small
2241
glyphs like period and minus-sign with greeked text.
2244
TrueType output slightly optimized.
2246
* ttf.c, cidtype2.c:
2247
Preserve 'name' table when embedding TrueType font.
2249
2004-02-15 Shunsaku Hirata
2251
* type1c.c, cs_type2.c, cs_type2.h, cidtype0.c:
2252
Dependency to TFM removed. Widths are obtained from font file.
2255
Delete unused strings from CFF string index.
2258
Added tfm_get_codingscheme(). CODINGSCHEME from TFM header.
2260
* agl.c, agl.h, unicode.c, unicode.h, ttf.c:
2261
Handle decomposed (in Unicode) glyphs in AGL and glyph names of a form
2262
XXX_YYY_ZZZ in ToUnicode CMap. The glyph name with suffix, like "x.y",
2263
is sotred as a glyph "x" with a suffix that implies a variant "y" of
2264
"x" in AGL table, not as "x.y" glyph. (for future use)
2266
2004-02-13 Shunsaku Hirata
2269
Bug fix. Skip first four bytes of encrypted PFB section.
2270
Not warn about "dotsection" operator which exist only for
2271
compatibility to Type 1 font rasterizer that can't do hint
2275
Fixed a bug that calculation of tfm_string_height() was incorrect.
2276
ASCII pTeX specific things are put within #ifndef WITHOUT_ASCII_PTEX.
2278
2004-02-12 Shunsaku Hirata
2281
Another bug in flex handling. hmoveto and vmoveto allowed.
2283
* type1c.c, cmap.c, cidtype0.c, encodings.c, fontmap.c:
2284
Changes for new TDS and teTeX/kpathsea.
2286
* encodings.c, encodings.h, pdfdev.c:
2287
Removed get_encoding().
2289
2004-02-10 Shunsaku Hirata
2292
Bug fix. Compression of vhcurveto-hvcurveto was not actually done.
2293
One more bug in flex handling.
2295
2004-02-08 Shunsaku Hirata
2298
paperinit() and paperdone().
2301
Bug fix. Read OFM level 1 header, required by get_design_size().
2303
* dvi.c, dvi.h, vf.c:
2304
DVI specials in virtual fonts (patch by P. TJ MacPhee).
2306
2004-02-05 Shunsaku Hirata
2308
* cid.c, cidtype2.c:
2309
Use font's internal glyph ordering if CSI Adobe-Identity is
2310
specified for TrueType font. This feature is intended to be
2311
used with Identity CMap and /I option in fontmap.
2313
* configure, acinclude.m4, acconfig.h, config.h.in,...:
2314
Check kpse_{enc,cmap,sfd,opentype}_format.
2317
Fixed a bug in flex handling.
2319
2004-02-04 Shunsaku Hirata
2324
* configure, acinclude.m4, acconfig.h, config.h.in:
2325
--with-paper added for configure option. HAVE_LIBPAPER in config.h.
2327
* pdfspecial.c: Added "bp" and "truebp" in units[].
2329
* Accept w<unit>,h<unit> for papersize option.
2331
2004-02-03 Shunsaku Hirata
2334
Counter control (othersubr #12 and #13) supported.
2336
2004-02-01 Shunsaku Hirata
2338
* tt_build.c, tt_build.h, cidtype2.c, ttf.c:
2339
Workaround for Ghostscript's bug.
2340
Ghostscript doesn't handle CIDToGIDMap correctly.
2341
Use Identity CIDToGIDMap.
2344
Removed dependency to TFM. Glyph metric is obtained from font file.
2347
Warn about "seac" operator.
2349
2004-01-31 Shunsaku Hirata
2353
* Added many 'const'.
2355
2004-01-29 Shunsaku Hirata
2357
* type1.c: Type 1 -> Type 1C conversion
2358
PostScript Type 1 font is converted to Type 1C (CFF).
2359
There are few limitations: Ghost hint is not converted to edge
2360
hint. The Type 1 charstring operator "dotsection" is ignored.
2361
The ExpertEncoding is not supported. The "seac" operator is not
2362
supported. Counter control is not supported.
2364
* Makefile.in, Makefile.am, standardenc.h: standardenc.h removed.
2367
Fixed a bug in skip_comments() that cause infinite loop.
2369
2004-01-27 Shunsaku Hirata
2371
* cff.c, cff.h, cff_dict.c, cff_dict.h:
2372
Added few functions for Type 1 -> Type 1C conversion.
2374
2004-01-24 Shunsaku Hirata
2377
Acrobat and MacOS X's Preview have some problem with Type 3 font.
2378
Acrobat cannot handle non-invertible transformation matrix which
2379
happens when PK glyph with width and/or height equals to zero is
2380
embedded as Type 3 font. The preview app. of MacOS X 10.3 cannot
2381
display few glyphs generated by dvipdfm with unknown reasons.
2383
2004-01-21 Shunsaku Hirata
2385
* cs_type2.c: Don't use rint().
2387
2004-01-21 Shunsaku Hirata
2389
* psimage.c, configure.in, config.h.in:
2390
Use mkstemp() if available.
2392
2004-01-20 Shunsaku Hirata
2394
* tt_table.[ch], tt_build.[ch], cidtype[02].c:
2395
CIDFont glyph metrics for embedded font.
2397
2004-01-17 Shunsaku Hirata
2399
* pdfobj.[ch], pdfparse.[ch], mpost.c, pdfencrypt.c, pngimage.c:
2400
Removed pdf_*_stringx().
2402
* pdfobj.c, pdfparse.c: Changes for PDF-1.3 compliance.
2404
2004-01-14 Shunsaku Hirata
2406
* ToUnicode support for CFF/OpenType + built-in encoding.
2408
* Bug fix in cff.c, type1c.c
2410
* Workaround for Shift-JIS string parsing in pdfparse.c.
2412
* pngimage.c don't require PNG-write/MNG-feature/progressive-read.
2414
* Unicode: unsigned short --> long.
2418
2004-01-07 Shunsaku Hirata
2421
Searching order is reversed in fontmap.c.
2422
Last match takes precedence in font mapping now.
2424
* Fixed bug in cff.c, cmap.c, and type1c.c.
2426
2003-12-28 Shunsaku Hirata
2428
* Bug fixes in pdfparse.c and cid_basefont.h.
2430
2003-12-15 Shunsaku Hirata
2434
* Added PDF special "fstream" - create PDF stream object from file.
2435
This allows users to attach files in PDF.
2437
2003-12-07 Shunsaku Hirata
2439
* JPEG moved to jpegimage.c.
2443
2003-12-06 Shunsaku Hirata
2445
* Changes in pdfspecail.c.
2447
* Fixed a bug in mpost.c.
2449
2003-12-02 Shunsaku Hirata
2451
* Added a patch for dvipdfm's ebb.c. (PDF ArtBox support)
2453
2003-11-29 Shunsaku Hirata
2457
* CFF/OpenType support for single-byte font.
2459
2003-11-26 Shunsaku Hirata
2461
* Little enhancement to epdf.c.
2463
* Merged epsbox.sty patch by Noda.
2465
2003-11-25 Shunsaku Hirata
2467
* Many part of font/encoding related code rewrote.
2469
* Unicode support for single-byte font.
2471
2003-11-10 Jin-Hwan Cho
2473
* Fixed a bug on the algorithm converting arc to cubic bezier
2474
curves in arc() (tpic.c), which is reported by Werner Lemberg.
2476
2003-11-04 Shunsaku Hirata
2478
* PNG support completely rewritten. Color pallete images are
2479
now not converted to 24-bit RGB, colorspace Indexed is used
2480
instead. Added tRNS and alpha chunnel (transparency) support.
2481
Experimental gAMA, cHRM and sRGB support.
2483
2003-11-03 Shunsaku Hirata
2485
* Fixed bug that dvipdfmx stops with error "Invalid Subr Index"
2486
when embedding CFF OpenType font.
2488
2003-10-09 Jin-Hwan Cho
2490
* Add a missing line including pdfparse.h in dvi.c, which is
2491
reported by Akira Kakuto.
2493
* Changed the default font map files for teTeX 2.x as suggested
2494
by Haruhiko Okumura.
2496
2003-10-08 Jin-Hwan Cho
2498
* A bug on the paper size checking routine of dvi_paper_size()
2499
in dvi.c is fixed, which is reported by Haruhiko Okumura.
2501
2003-10-06 Jin-Hwan Cho
2503
* A bug on the kerning routine of dev_set_string() in pdfdev.c is
2504
fixed, which is reported by Edward G.J. Lee.
2506
2003-08-12 Jin-Hwan Cho
2508
* Changed to embed images only one time.
2510
* Updated configure.in and config.h.in to support WORDS_BIGENDIAN
2511
and SIZEOF_SHORT, SIZEOF_INT, SIZEOF_LONG.
2513
2003-08-11 Jin-Hwan Cho
2515
* A faked font name was used for TrueType fonts without any PS
2516
font name as suggested by Hin-Tak Leung.
2518
2003-08-05 Jin-Hwan Cho
2520
* Built-in codes (originally from libgcrypt-1.1.42) was used
2521
for PDF encryption instead of the OpenSSL library as suggested
2524
2003-07-28 Jin-Hwan Cho
2526
* A significant bug reported from Haruhiko Okumura is fixed.
2527
The bug occurs only if compiled with gcc 3.x, not gcc 2.x.
2529
2003-03-26 Jin-Hwan Cho
2531
* New feature, hexadecimal Unicode, suggested by iNOUE Koich!
2532
and Akira Kakuto is implemented.
2534
2003-03-13 Jin-Hwan Cho
2536
* Fixed bugs on reading and writing OpenType fonts.
2538
2003-03-12 Jin-Hwan Cho
2540
* Applied changes for MiKTeX in ps_include() (psimage.c).
2542
2003-03-11 Jin-Hwan Cho
2544
* Fixed a bug in cff_charsets_lookup() (cff.c).
2546
2003-02-06 Jin-Hwan Cho
2548
* Fixed a bug in string_mode() (pdfdev.c) reported by iNOUE Koich!.
2550
2002-12-30 Jin-Hwan Cho
2552
* Fixed a bug in writing null array.
2554
* Fixed a bug in reading CMap and encoding files in MiKTeX.
2556
2002-11-28 Jin-Hwan Cho
2558
* Support color shading feature in ConTeXt.
2560
2002-11-25 Jin-Hwan Cho
2562
* New feature pdfdecimaldigits (default=3) is implemented.
2564
* Fixed a missing line in dvipdfmx.c.
2566
* Fixed a bug in page attribute boxes, e.g., CropBox, TrimBox.
2568
2002-11-11 Jin-Hwan Cho
2570
* The "pdf: dest" special reads pdf_object not pdf_array.
2572
* Fixed a bug in finding encoding files with extension.
2574
* Look up the entries in miktex.ini while finding files.
2576
2002-10-31 Jin-Hwan Cho
2578
* Fixed a bug in finding files with the kpathsea library 3.3.7.
2580
2002-10-28 Jin-Hwan Cho
2582
* The project name was changed to dvipdfmx from dvipdfm-cjk.
2584
* Changed the way of finding files (MiKTeX and KPATHSEA)
2585
(contributed by Akira Kakuto).
2587
* Support embedded MetaPost graphics in ConTeXt using new PDF
2588
special \special{pdf:literal [direct|reverse] ...}.
2590
2002-10-25 Jin-Hwan Cho
2592
* Removed all files related to the original dvipdfm,
2593
and all CMap files from Adobe.
2595
* Changed the executable file dvipdfm to dvipdfmx,
2596
the configuration file config to dvipdfmx.cfg,
2597
the Type0 map file cid.map to cid-x.map.
2599
2002-10-24 Jin-Hwan Cho
2601
* It is possible to change the size of each page with the
2602
special command \special{pdf:pagesize ...}. Override the
2603
previous changes if there are two such commands in a page.
2605
2002-10-17 Jin-Hwan Cho
2607
* Fixed a bug in parsing an array in two lines. (mpost.c)
2609
* Changed not to lookup the header to find fonts. (mpost.c)
2611
2002-10-09 Jin-Hwan Cho
2613
* Duplication is allowed for named_references[]. (pdfspecial.c)
2615
2002-06-05 Jin-Hwan Cho
2617
* Fixed a bug in parse_key_val() found by Yasuhiro Okazaki.
2619
2002-05-31 Jin-Hwan Cho
2621
* Bug fixed for ToUnicode conversion in PDF outlines(bookmarks),
2622
docinfo, and text annotations (contributed by Akira Kakuto).
2624
* Included the ToUnicode CMap, EUC-UCS2.
2626
2002-05-22 Jin-Hwan Cho
2628
* Support CJK characters in PDF outlines(bookmarks), docinfo, and
2629
text annotations (contributed by Akira Kakuto).
2631
2002-05-15 Jin-Hwan Cho
2633
* PDF encryption support with the OpenSSL library.
2635
2002-04-30 Jin-Hwan Cho
2637
* ToUnicode CMap (only Unicode) support for Identity-H(V).
2639
* Included the ToUnicode CMap, Adobe-Identity-UCS2.
2641
2002-04-22 Jin-Hwan Cho
2643
* Included two CMaps, UniKSCms-UCS2-H(V) which fix a bug in
2646
2002-04-17 Jin-Hwan Cho
2648
* Changed xxx_set_debug() to #ifdef DEBUG.
2650
2002-04-16 Jin-Hwan Cho
2652
* Improved reading PNG image files.
2654
* Rearranged all files to work with GNU autotools.
2656
* Removed HAVE_TTF_FORMATS and HAVE_OFM_FORMATS.
2658
2002-04-09 Jin-Hwan Cho
2660
* Minor fix on 'source/pkfont.c'.
2662
2002-04-07 Jin-Hwan Cho
2664
* Fixed all warning messages generated with MSVC++.
2666
* Rewrote the functions 'xxx_locate_font()' again.
2668
2002-04-04 Jin-Hwan Cho
2670
* Changed the order of loading virtual and physical fonts as
2671
suggested by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
2672
If map entries are found, virtual fonts will not be used anymore.
2674
2002-04-02 Jin-Hwan Cho
2676
* Implemented no-embedding and stylistic variants for CIDFontType0.
2678
2002-03-31 Jin-Hwan Cho
2680
* Added two CMaps, ETenms-B5-H and ETenms-B5-V.
2682
2002-03-30 Shunsaku Hirata
2684
* Minor fix on the patch by Takanori Uchiyama.
2686
2002-03-29 Jin-Hwan Cho
2688
* Applied the patch by Takanori Uchiyama <uchiyama@appi.keio.ac.jp>,
2689
supporting the direction command of ASCII pTeX's extension in
2692
* Two CMaps, Identity-H and Identity-V are hard-coded in cmap.c.
2694
2002-03-20 Jin-Hwan Cho
2696
* Applied the patch by Jungshik Shin, not embedding the unnecessary
2697
character /.notdef in type1 fonts.
2699
2002-03-20 Shunsaku Hirata
2701
* Modified cid_basefont.h.
2703
2002-03-05 Jin-Hwan Cho
2705
* Support for UTF8 encoding through Identity CMap.
2707
2002-02-25 Jin-Hwan Cho
2709
* Implemented no-embedding feature for CIDFontType2.
2711
* Implemented Bold, Italic, BoldItalic attributes for CIDFontType2
2712
and CID predefined fonts.
2714
2002-02-22 Jin-Hwan Cho
2716
* Implemented subfont approach for CJK and HLaTeX.
2718
2002-01-07 Shunsaku Hirata
2720
* Fixed bug introduced on 2002-01-05.
2722
2002-01-05 Shunsaku Hirata
2724
* Workaround for some bad TrueType fonts that does not have US-English
2725
PostScript font name.
2727
2001-12-27 Shunsaku Hirata
2729
* Changed to parse all charstrings. Check for the SEAC character.
2731
* Minor changes in CFF related codes.
2733
2001-12-26 Shunsaku Hirata
2735
* Merged cmap and cmap_parse.
2737
2001-12-25 Shunsaku Hirata
2739
* Cleaned up TrueType and CFF related codes.
2743
2001-12-23 Shunsaku Hirata
2745
* Fixed bug that always requires Private DICT(s) which may not exist.
2747
* Cleaned up TrueType and CFF related things.
2749
2001-12-18 Shunsaku Hirata
2751
* Biased subroutine number is signed in cs_type2.c.
2753
2001-12-14 Shunsaku Hirata
2755
* macglyphs.h regenerated from apple's TTRefMan.
2757
2001-12-13 Shunsaku Hirata
2761
* Fixed typo (yacture -> yacute, Islash -> lslash) in macglyphs.h.
2763
* Fixed signedness of TureType cmap subtable format 0 data.
2765
2001-12-11 Shunsaku Hirata
2769
* Fixed bug that interpretion of hmtx table is still wrong.
2773
* More improved FontDescriptor for TrueType/OpenType fonts.
2775
* Support for PostScript glyph name in TrueType post table.
2776
Full subsettting is also available for non-CJK TrueType fonts.
2777
Cyrillic and other TrueType fonts can be used.
2778
Requires post table with version 2.0.
2780
2001-12-09 Shunsaku Hirata
2784
2001-12-05 Shunsaku Hirata
2786
* Fixed bug that last entry of the loca table may not be read.
2788
* DW is set to that of missing glyph (CIDFontType 2).
2792
2001-12-04 Shunsaku Hirata
2796
2001-12-03 Shunsaku Hirata
2798
* Minor charnges, cleanups.
2802
2001-12-02 Shunsaku Hirata
2804
* Initial CFF CID-Keyed Font support.
2805
Only Type 2 charstring is supported.
2807
2001-11-27 Shunsaku Hirata
2809
* Minor fixes, cleanups.
2811
2001-11-26 Shunsaku Hirata
2813
* Fixed (serious) bug that hmtx table is incorrectly interpreted.
2815
* Fixed bug that encoding ID of RPC and BIG5 are interchanged.
2817
* Added missing cast in cidtype2.c.
2819
2001-11-25 Shunsaku Hirata
2823
2001-11-24 Shunsaku Hirata
2825
* Added missing free() (RELEASE) in cidtype2.c.
2831
2001-11-22 Shunsaku Hirata
2835
* Allow `Preview & Print' licensed fonts to be embedded.
2836
TrueType OS/2 table is preserved.
2838
2001-11-20 Shunsaku Hirata
2840
* Minor cleanups. Fixed typos.
2842
* Strip out bad strings form PostScript names;
2843
-WIN-RKSJ-H, -WINP-RKSJ-H, -WING-RKSJ-H, and -90pv-RKSJ-H.
2844
Some font uses PostScript name one of above strings appended,
2845
even if Shift-JIS encoding is not used.
2847
2001-11-18 Shunsaku Hirata
2849
* Workaround for Omega: Omega uses setxxx (single-byte char) command
2850
while double-byte font is in use. Pass character type to
2851
dev_set_string() to distinguish single-byte and double-byte.
2852
Maybe, it works with CJK-LaTeX by preparing set of CMaps.
2854
* Write double-byte strings as hex strings.
2855
This makes bit faster and tend to generate smaller PDF in most cases.
2857
* CMap parser uses wrok_buffer in mfileio.
2859
* Reserved w_array and w2_array in struct cid_font for future use.
2861
* Now write /W array for TrueType, proportional latin and kana works
2862
properly. The metric information are taken from font file, not from
2863
TFM, to ensure we always have correct widths. The default width (DW)
2866
* Changed sizeof() appeared in sfnt_put_xxx() to expected values in
2867
sfnt.h. I do not assume LONG to be exactly 32-bit long, ....
2869
2001-11-17 Shunsaku Hirata
2871
* Added Chinese and Korean related stuff again. Chinese and Korean
2872
languages are supported through Omega, or by achieving Ascii pTeX
2875
* Closing CMaps is missing. Added cmap_close_all(), which is invoked by
2876
dev_close_all_fonts() in pdfdev.c.
2878
* Check length of output string for Type 0 font. It must be multiple of
2879
2. Omega uses 8-bit and 16-bit mixed string even for double-byte
2880
fonts. This causes problems.
2882
* Abort if missing/invalid character is used.
2884
2001-11-15 Shunsaku Hirata
2888
2001-11-12 Shunsaku Hirata
2890
* (nearly) Completely rewritten.
2892
* Force Identity CMap. (double-byte character codes are mapped to CID)
2894
* Added CMap parser. (mkcidcct.pl is no longer needed)
2898
2001-10-01 Shunsaku Hirata
2900
* Should return -1 when encoding_id >= 0 in type0_font().
2902
2001-08-08 Shunsaku Hirata
2904
* Fixed a bug that raster images show up incorrectly in vertical
2907
2001-08-07 Shunsaku Hirata
2909
* Removed dev_set_string2(), use dev_set_string() instead.
2911
* set_dev_vwmode() is renamed to set_dev_wmode().
2912
Added dev_wmode() and mp_mode flag in pdfdev.c.
2914
* Support for Japanized MetaPost (pdfparse.h, mpost.c).
2916
2001-07-21 Shunsaku Hirata
2918
* Fixed a bug that do not reset text state in vertical writing.
2920
2001-07-20 Shunsaku Hirata
2922
* Fixed wrong positioning for slanted non-CJK font in vertical writing.
2924
2001-07-19 Shunsaku Hirata
2926
* Support OS/2 table version 0x0002.
2928
2001-07-17 Shunsaku Hirata
2930
* Support multiple parents for a single CID-keyed font
2934
check the consistency of charcter collections.
2936
* Removed entries for unsupported CMaps.
2940
2001-07-15 Shunsaku Hirata
2942
* Better font metric info for CIDFontType2.
2944
* Added (partial) support for vertical writing.
2945
Added wmode flag to struct a_type0_font and dev_font.
2948
GSUB support in CIDFontType2.
2951
* Added support for vertical version of CMaps in mkcidcct.pl
2953
2001-07-07 Shunsaku Hirata
2959
2001-06-30 Shunsaku Hirata
2961
* --> dvipdfm-0.13.2c
2963
2001-06-29 Shunsaku Hirata
2965
* Fixed a bug that select incorrect indexToLocaFormat
2968
* Fixed several bugs in cidtype2.c.
2970
2001-06-27 Shunsaku Hirata
2972
* Added support for CJK-TrueType font embedding.
2974
* Cleaned up Type0 and CID font handling code.