upload webpage to other dir.
[mftrace.git] / ChangeLog
blob20204ace0636d5e5d53f0ef9dd501cf5c0b6169f
1 2006-10-13  Han-Wen Nienhuys  <hanwen@lilypond.org>
3         * configure.in (PYTHON): bump version.
5         * COPYING: GPL.
7         * GNUmakefile.in (FILES): add GPL
9 2006-07-06  Han-Wen Nienhuys  <hanwen@lilypond.org>
11         * GNUmakefile.in (srcdir): split CFLAGS assignment. (Julian Gilbey)
13 2006-06-09  Han-Wen Nienhuys  <hanwen@lilypond.org>
15         * mftrace.py: handle comma in glyph-range too.
17 2006-05-01  Han-Wen Nienhuys  <hanwen@lilypond.org>
19         * mftrace.py: indent 4 iso. 8.
21 2006-04-27  Werner Lemberg  <wl@gnu.org>
23         * mftrace.py <top_level>: Don't define `include_dirs' here. 
24         (parse_command_line) <'-I'>: Destination is `include_dirs', not
25         `includes'.
26         (do_file): Define `include_dirs' here.  Copy command line option
27         values properly and append `origdir' before handling encoding files.
29 2006-04-27  Han-Wen Nienhuys  <hanwen@lilypond.org>
31         * mftrace.py (parse_command_line): move options.encoding_file upwards.
33 2006-04-06  Han-Wen Nienhuys  <hanwen@lilypond.org>
35         * mftrace.py (parse_command_line): use optparse iso. getopt.
36         pychecker cleanups. Now probably requires python 2.x.
38 2006-02-28  Han-Wen Nienhuys  <hanwen@xs4all.nl>
40         * README.texi (Top): patch for README and manpage too.
42         * configure.in (PYTHON): release .19
44         * mftrace.py (font_info): --define. patch by
45         Emmanuel.Beffara@pps.jussieu.fr
47 2006-02-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
49         * GNUmakefile.in (CFLAGS): add srcdir support.
51 2006-01-24  Han-Wen Nienhuys  <hanwen@xs4all.nl>
53         * mftrace.py (find_file): strip the whitespace from output
54         kpsewhich output.
55         (find_file): oops.
57 2005-10-16  Han-Wen Nienhuys  <hanwen@xs4all.nl>
59         * configure.in (PYTHON): release 1.1.17
61         * README.texi (Top): add Thomas Bushnell BSG.
63         * gf2pbm.c (read_GF_char): fix type-punning pointer error.  This
64         fixes GCC4 big-endian -O2 build. Thanks to Thomas Bushnell BSG !
66  2005-08-15  Han-Wen Nienhuys  <hanwen@xs4all.nl>
68         * configure.in (PYTHON): 1.1.16
70         * mftrace.py (make_outputs): generate <fontname>.pfb not <filename>.pfb
72         * configure.in: release 1.1.15
74         * mftrace.py (shell_escape_filename): put offending chars in group. 
76 2005-08-14  Han-Wen Nienhuys  <hanwen@xs4all.nl>
78         * mftrace.py (make_outputs): escape file names with spaces on
79         command line. (Thanks Geoffrey Alan Washburn)
81 2005-08-01  Han-Wen Nienhuys  <hanwen@xs4all.nl>
83         * mftrace.py (coding_dict): set bindir too.
85         * gf2pbm.c: conform to strict aliasing rules (Patch by Stanislav
86         Brabec)
88         * GNUmakefile.in: removes explicit rule for CC (Patch by Stanislav
89         Brabec)
91 2005-07-20  Han-Wen Nienhuys  <hanwen@xs4all.nl>
93         * README.texi (Top): cs.uu.nl -> xs4all.nl everywhere.
95 2005-06-07  Han-Wen Nienhuys  <hanwen@xs4all.nl>
97         * README.texi: doc update by Alexej.
99 2005-06-06  Han-Wen Nienhuys  <hanwen@xs4all.nl>
101         * configure.in: move test to end.
102         (PYTHON): release 1.1.10
104 2005-06-04  Alexej Kryukov  <akrioukov@newmail.ru>
106         * mftrace.py: Implemented a function (get_afm) which allows to
107         generate AFM files without using fontforge. This function requires
108         ghostscript to be present on user's system and uses the same
109         algorithm, as the t12afm.sh script, distributed with TeXtrace.
110         
111         * mftrace.py: mftrace now tries to access fontforge only if any
112         functions which really require passing the font to fontforge are
113         requested. This functions include rounding to integer (note that
114         it *is* enabled by default), simplifying and autohinting, as well
115         as generating any output formats except PFA or PFB. Otherwise the
116         output is generated directly with t1asm. Note that for generating
117         AFM either fontforge or the built-in get_afm function may be used,
118         depending from the factors listed above.
119         
120         * mftrace.py: The --keep-trying option now causes mftrace to
121         ignore not only potrace/autotrace errors, but also METAFONT errors
122         (in case METAFONT reports an error, but, nevertheless, generates a
123         GF file). This may be useful for processing some buggy fonts in
124         heigh resolutions.
125         
126         * mftrace.py: mftrace now recognizes a special `.notavail' glyph
127         name in encoding files which you may specify via its `--encoding'
128         option.  You may use this name to prevent mftrace from processing
129         any specific glyphs (e. g. because they are blank in the
130         corresponding TeX codepage, so that there is no need to trace
131         them). This name is also automatically inserted into the encoding
132         table used by mftrace during the conversion process, if
133         potrace/autotrace fails to process a specific character. Again, by
134         this way we prevent useless blank characters from appearing in the
135         resulting PostScript output.
136           
137 2005-06-04  Han-Wen Nienhuys  <hanwen@xs4all.nl>
139         * mftrace.py (stat): more verbosity.
141 2005-04-20  Han-Wen Nienhuys  <hanwen@xs4all.nl>
143         * configure.in (PYTHON): release 1.1.9
145         * GNUmakefile.in (udist): add cvs commit to target.
147 2005-04-17  Jan Nieuwenhuizen  <janneke@gnu.org>
149         * mftrace.py (make_outputs): Bugfix: do not use global filename.
150         (trace_font): Make --verbose usable by printing character
151         generating commands only once.
153 2005-04-05  Han-Wen Nienhuys  <hanwen@xs4all.nl>
155         * configure.in (PYTHON): release 1.1.8
157         * mftrace.1: new man page (Julian Gilbey).
159         * mftrace.py (find_file): remove --truetype option.
160         
161 2005-03-30  Andrey V. Panov  <panov@canopus.iacp.dvo.ru>
163         * mftrace.py: add possibility to pass glyph ranges with --glyph
164         option.
166 2005-03-27  Han-Wen Nienhuys  <hanwen@xs4all.nl>
168         * mftrace.py: prepend exec_prefix to gf2pbm call.  Patch by Jeff
169         Smith <whydoubt@yahoo.com>
170         
171 2005-03-08  Han-Wen Nienhuys  <hanwen@xs4all.nl>
173         * configure.in: detect missing potrace/autotrace.
174         (PYTHON): release 1.1.6
176 2005-03-06  Han-Wen Nienhuys  <hanwen@xs4all.nl>
178         * mftrace.py (get_fontforge_command): another fix.
180 2005-03-05  Han-Wen Nienhuys  <hanwen@xs4all.nl>
182         * mftrace.py (check_pfaedit_scripting): whoops, only call
183         fontforge_cmd if nonnull. 
184         (get_fontforge_command): change calling convention: return binary name.
186         * configure.in (PYTHON): release 1.1.3
188         * mftrace.py (make_outputs): copy if fontforge nonexistent
189         (get_binary): search PATH for fontforge
191 2005-01-02  Han-Wen Nienhuys  <hanwen@xs4all.nl>
193         * mftrace.py (ec_guess_font_info): handle stretch and weight
194         separately.
195         (guess_fontinfo): default weight Regular. 
196         (ec_guess_font_info): lose "designed at" string.
197         (cm_guess_font_info): change Family to Computer Modern.
199         * configure.in (PYTHON): release 1.1.2
201         * mftrace.py (ec_guess_font_info): new function
202         (cm_guess_font_info): handle isFixedPitch.
203         (derive_font_name): make fontname similar to Adobe fonts, i.e.
204         Family-QualifierQualifierAbbrv
206 2004-12-21  Han-Wen Nienhuys  <hanwen@xs4all.nl>
208         * configure.in (PYTHON): release 1.1.1
210         * mftrace.py (option_definitions): add  --no-afm option
212 2004-12-19  Jan Nieuwenhuizen  <janneke@gnu.org>
214         * GNUmakefile.in (GNUmakefile): Depend on configure
215         (configure): Run ./configure after running autoconf (not
216         config.status, which has old, cached values).
218 2004-12-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
220         * configure.in (PYTHON): bump version to 1.1.0; release.
222         * mftrace.py (to_type1): always create .pfa.raw
223         (make_outputs): generate all outputs in one script. Add SVG output.
224         (glyph_range): use --formats, remove other options. 
226 2004-12-02  Han-Wen Nienhuys  <hanwen@xs4all.nl>
228         * mftrace.py (make_ttf): call AddExtrema() too.
230 2004-11-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
232         * configure.in (PYTHON): release .35 
234         * mftrace.py (abs_path): use lexmarks 1200dpi; ljfour is not
235         neutral
236         (cleanup_font): RoundToInt() only if round_to_int is set 
237         (autotrace_path_to_type1_ops): subtract inv_scale iso. 1. (Andrey
238         V. Panov).
240 2004-11-06  Han-Wen Nienhuys  <hanwen@xs4all.nl>
242         * mftrace.py (stat): rewrite redirection.
244 2004-11-05  Han-Wen Nienhuys  <hanwen@xs4all.nl>
246         * mftrace.py (stat): redirect stderr.
247         
248 2004-08-15  Han-Wen Nienhuys   <hanwen@xs4all.nl>
250         * configure.in (PYTHON): release .34
252         * mftrace.py (cleanup_font): add RoundToInt command.
254         * GNUmakefile.in (uninstall): add more targets.
256 2004-07-16  Jan Nieuwenhuizen  <janneke@gnu.org>
258         * mftrace.py (abs_path): Bugfix: leave empty path entry alone.
260 2004-07-13  Jan Nieuwenhuizen  <janneke@gnu.org>
262         * mftrace (abs_path): Remove debugging code.
264 2004-07-08  Jan Nieuwenhuizen  <janneke@gnu.org>
266         * mftrace.py (stat): Add cwd to include path before (ugh?)
267         changing to /tmp.
268         (gen_pixel_font): Check for log file before reading it.
269         Make dirs in paths absolute.
271 2004-06-21  Jan Nieuwenhuizen  <janneke@gnu.org>
273         * mftrace.py: Remove dead --output-base option.  Small cleanups
274         (use TAB for indent, space after comma, not before, space before
275         parentheses, not after, etc).
277         * GNUmakefile.in (install): Use install instead of cp.
279         * configure.in: Substitute EXEEXT.  Fixes install.
281 2004-06-11  Han-Wen Nienhuys   <hanwen@xs4all.nl>
283         * configure.in (PYTHON): release .33
285 2004-06-11  Andrey V. Panov  <panov@canopus.iacp.dvo.ru>
287         * mftrace.py (autotrace_path_to_type1_ops,
288         potrace_path_to_type1_ops): denominator for coordinates is divided
289         by inv_scale. This fixes rounding errors.
291 2004-06-04  Andrey V. Panov  <panov@canopus.iacp.dvo.ru>
293         * mftrace.py: add possibility to pass options to a backend program and not to round 
294         coordinates of control points to integer values.
296 2004-05-05  Han-Wen Nienhuys   <hanwen@xs4all.nl>
298         * GNUmakefile.in: patch by Roman Stawski
299         <roman.stawski@fr.adp.com> for cygwin installation.
301 2004-03-21  Han-Wen Nienhuys   <hanwen@xs4all.nl>
303         * tfm.py (compose_tfm_number): use long. 
305 2004-03-08  Werner Lemberg  <wl@gnu.org>
307         * mftrace.py: Preserve all PBM and EPS files if keep_temp_dir_p is
308         set.
310         * mftrace.1: Updated and revised.
311         
312 2004-03-08  Han-Wen Nienhuys   <hanwen@xs4all.nl>
314         * mftrace.py (check_pfaedit_scripting): fontforge detection
315         bugfix.
317 2004-03-07  Han-Wen Nienhuys   <hanwen@xs4all.nl>
319         * mftrace.py (coding_dict): add tetex encodings. 
321         * README.texi (Top): more renaming.
323         * mftrace.py (fontforge_cmd): add fontforge support.
325 2004-01-21  Han-Wen Nienhuys   <hanwen@xs4all.nl>
327         * autogen.sh: remove --prefix=$HOME/usr/pkg/mftrace 
329 2004-01-16  Han-Wen Nienhuys   <hanwen@xs4all.nl>
331         * mftrace.py (potrace_path_to_type1_ops): 
332         opps. Init z.y to size_y - off_y. This fixes descender boxes.
333         (potrace_path_to_type1_ops): rewrite, following autotrace model.
334         use rounding as last step.
336 2004-01-13  Han-Wen Nienhuys   <hanwen@xs4all.nl>
338         * mftrace.py (cm_guess_font_info): italic angle is -14 / -12 .
340 2004-01-12  Han-Wen Nienhuys   <hanwen@xs4all.nl>
342         * mftrace.py (keep_trying_p): use potrace_scale = 1 to avoid
343         artefacts of rounding.  Thanks to Guenther Spahlinger for this bug
344         report.
345         (get_discrete_dz): new function. Don't accumulate rounding errors.
346         
348 2003-12-29  Han-Wen Nienhuys   <hanwen@cs.uu.nl>
350         * GNUmakefile.in (uninstall): don't use install-sh; it moves,
351         doesn't copy.
353 2003-12-18  Han-Wen Nienhuys   <hanwen@cs.uu.nl>
355         * gf2pbm.c: add header.
357 2003-12-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
359         * mftrace.py (potrace_path_to_type1_ops): handle different
360         components correctly
362         * GNUmakefile.in (FILES): add & use install-sh
364         * gf2pbm.c: use unistd.h for getopt
366 2003-12-16  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
368         * mftrace.py (potrace_path_to_type1_ops): handle empty glyphs
369         correctly
371 2003-12-14  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
373         * mftrace.py (stat): detect tracing program
374         (potrace_path_to_type1_ops): potrace support
376 2003-09-30  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
378         * mftrace.py (do_autotrace_one): return nonzero for failed glyphs.
380 2003-07-17  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
382         * mftrace.py (coding_dict): default to feta-braces10.enc for
383         feta-braces.
384         (coding_dict): revert.
386 2003-04-20  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
388         * mftrace.py (cm_guess_font_info): always define ItalicAngle.
390 2003-04-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
392         * mftrace.py (cm_guess_font_info): set family for cmss. 
393         (to_type1): write ItalicAngle to output too. 
395 2003-04-16  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
397         * mftrace.py (cm_guess_font_info): guess info for CM fonts.
398         (guess_fontinfo): put fontinfo generation in a separate function.
399         (gen_unique_id): generate UniqueID by hashing FullName into the
400         free range of the T1 UniqueID space.
401         (to_type1): actually, don't generate UniqueID at all, since it is
402         optional.
403         (cm_guess_font_info): put design size in FullName too.
404         (guess_fontinfo): rename afm to prevent name clashes. 
406 2003-03-31  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
408         * README.texi (Top): add note about MFINPUTS variable
410 2003-03-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
412         * mftrace.py (Font_info.__getitem__): call find_file () for gf_file.
414 2003-03-13  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
416         * mftrace.py (glyph_range): apply --gffile patch from Karl Berry
417         with minor mods.
419 2003-02-27  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
421         * mftrace.py (autotrace_font): gf_fontname support (thanks to Karl
422         Berry)
423         
424 2002-11-26  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
426         * GNUmakefile.in: suse patch: use DESTDIR as a prefix. 
428 2002-11-24  Jan Nieuwenhuizen  <janneke@gnu.org>
430         * .cvsignore: Add.
432         * mftrace.py (coding_dict): Add feta-braces, feta-nummer.
434 2002-11-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
436         * mftrace.py (to_type1): add version to comment.
438 2002-11-19  Ralf Stubner <ralf.stubner@physik.uni-erlangen.de>
440         * mftrace.py: tell pfaedit to use the kerning data from the TFM
441         file and save the produced AFM file.
442         
443 2002-11-16  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
445         * mftrace.py (coding_dict): add parmesan encoding.
447         * mftrace.py (gen_pixel_font): show error log if MetaFont failed.
449 2002-10-18  Jan Nieuwenhuizen  <janneke@gnu.org>
451         * mftrace.py (popen, system): Fix for verbose output.
452         (Font_info.set_defaults): Add EncodingScheme.
454 2002-10-16  Jan Nieuwenhuizen  <janneke@gnu.org>
456         * mftrace.py: Use afm to set more sensible font names.  Allow
457         generating multiple fonts from one trace.
459         * GNUmakefile.in: Add afm.py.
461         * afm.py: New file.
463 2002-10-10  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
465         * mftrace.spec.in (Prereq): use %{_mandir}.
467         * mftrace.py: don't overwrite encoding file for
468         every next file.
470 2002-08-21  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
472         * mftrace.py: take multiple arguments.
474 2002-08-20  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
476         * mftrace.py (option_definitions): Patch by Jesse Pavel
477         <jpavel@alum.mit.edu>: don't change bbox or font-matrix for
478         --magnification
481 2002-08-08  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
483         * mftrace.py (make_ttf): add TrueType conversion.
484         (func): add miktex kpathsea support.
486         * configure.in: Change name to mftrace.
488 2002-04-10  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
490         * pktrace.py: add magnification so yinit can be traced.
491         (do_autotrace_one): stop if autotrace is interupted with ^C.
493 2002-03-24  Han-Wen  <hanwen@cs.uu.nl>
495         * pktrace.py (find_file): add -I, --include option for files.
496         Make one function for finding files. 
498         * Add feta-music encoding.
500 2002-03-19  Han-Wen Nienhuys  <hanwen@cs.uu.nl>
502         * pktrace.py (cleanup_font): More verbose pfaedit reporting.
504         * Change version to 1.0
506         * Machinery to guess .enc file from TFM coding string.
508         * Doco updates
510         * pktrace.spec: RedHat .spec
512         * Include working dir into path
514         * Allow variable size encodings
516         * Man page (Thanks julian)
518         * gf2pbm.c: Fix on other-endian (PPC)  machines (Thanks Jan).
520         * Support pfaedit -script to simplify and hint font;
521         turned off for now, since pfaedit is not reliable enough yet.
523         * Oops. Produce font also  when --verbose is off
525         * --glyphs option
527         * Even better autotrace bugreporting 
529         * Make clean removes tfm.pyc
531         * Capture mktextfm output for font location 
533         * Don't create NUMBER.pbm when gf2pbm is run with -s 
535         * `test' makefile target
537         * Handle autotrace fails better, and add --keep-trying option
539         * Output PFA by default  
541         * Fix -e option
543         * Escape fontname in regexp.
545         * Run kpsewhich on encoding argument. 
547         * Fix permissions on temporary directory.
549         * Test output on GhostScript and PostScript printer too (only
550         tried pfaedit before)
552         * Fix FontBBox calculation
554         * Don't crash on (nearly) empty glyphs
556         * Install .pyc  as well.
558         * Fix t1asm warning.
561 Release 0.6
563         * type1fix.pl: remove. Dump perl dependency.
565         * gf2pbm.c: use to dump the bitmap info. Dump pktype dependency. 
567         * trace2.ps: removed.  Dump the Ghostscript dependency. 
569         * call mktextfm if no TFM found.
571         * Big/Little endian fixes. Now gf2pbm works on PowerPC as well.
573 Release 0.4
575         * gf2pbm.c: hack to have robust bitmap extraction.
577         * Uninstall target
579         * -p bugfix
581         * texinfo Readme.
583 Release 0.3
585         * tfm.py: a Python interface to the TeX TFM file format.
587         * Use TFM widths for the bounding box. Bugfix for the
588         Y-coordinates of the bbox.
591 Release 0.2
593         * Don't read/write dimension file.
595         * Read encoding file into python, and only once. This
596 reduces tracing time. 
598         * For non-existant glyphs, write fake Char String directly.
600 Release 0.1
602         * --pfa option
604         * --encoding option
606         * Fold t1d2gsx into pktrace.