forked from hanwen/mftrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
619 lines (359 loc) · 16.7 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
2019-09-17 Han-Wen Nienhuys <[email protected]>
* Remove pfaedit references
2019-09-15 Han-Wen Nienhuys <[email protected]>
* Migrate to python3
* Add manpage for gf2pbm
2006-10-13 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): bump version.
* COPYING: GPL.
* GNUmakefile.in (FILES): add GPL
2006-07-06 Han-Wen Nienhuys <[email protected]>
* GNUmakefile.in (srcdir): split CFLAGS assignment. (Julian Gilbey)
2006-06-09 Han-Wen Nienhuys <[email protected]>
* mftrace.py: handle comma in glyph-range too.
2006-05-01 Han-Wen Nienhuys <[email protected]>
* mftrace.py: indent 4 iso. 8.
2006-04-27 Werner Lemberg <[email protected]>
* mftrace.py <top_level>: Don't define `include_dirs' here.
(parse_command_line) <'-I'>: Destination is `include_dirs', not
`includes'.
(do_file): Define `include_dirs' here. Copy command line option
values properly and append `origdir' before handling encoding files.
2006-04-27 Han-Wen Nienhuys <[email protected]>
* mftrace.py (parse_command_line): move options.encoding_file upwards.
2006-04-06 Han-Wen Nienhuys <[email protected]>
* mftrace.py (parse_command_line): use optparse iso. getopt.
pychecker cleanups. Now probably requires python 2.x.
2006-02-28 Han-Wen Nienhuys <[email protected]>
* README.texi (Top): patch for README and manpage too.
* configure.in (PYTHON): release .19
* mftrace.py (font_info): --define. patch by
2006-02-19 Han-Wen Nienhuys <[email protected]>
* GNUmakefile.in (CFLAGS): add srcdir support.
2006-01-24 Han-Wen Nienhuys <[email protected]>
* mftrace.py (find_file): strip the whitespace from output
kpsewhich output.
(find_file): oops.
2005-10-16 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release 1.1.17
* README.texi (Top): add Thomas Bushnell BSG.
* gf2pbm.c (read_GF_char): fix type-punning pointer error. This
fixes GCC4 big-endian -O2 build. Thanks to Thomas Bushnell BSG !
2005-08-15 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): 1.1.16
* mftrace.py (make_outputs): generate <fontname>.pfb not <filename>.pfb
* configure.in: release 1.1.15
* mftrace.py (shell_escape_filename): put offending chars in group.
2005-08-14 Han-Wen Nienhuys <[email protected]>
* mftrace.py (make_outputs): escape file names with spaces on
command line. (Thanks Geoffrey Alan Washburn)
2005-08-01 Han-Wen Nienhuys <[email protected]>
* mftrace.py (coding_dict): set bindir too.
* gf2pbm.c: conform to strict aliasing rules (Patch by Stanislav
Brabec)
* GNUmakefile.in: removes explicit rule for CC (Patch by Stanislav
Brabec)
2005-07-20 Han-Wen Nienhuys <[email protected]>
* README.texi (Top): cs.uu.nl -> xs4all.nl everywhere.
2005-06-07 Han-Wen Nienhuys <[email protected]>
* README.texi: doc update by Alexej.
2005-06-06 Han-Wen Nienhuys <[email protected]>
* configure.in: move test to end.
(PYTHON): release 1.1.10
2005-06-04 Alexej Kryukov <[email protected]>
* mftrace.py: Implemented a function (get_afm) which allows to
generate AFM files without using fontforge. This function requires
ghostscript to be present on user's system and uses the same
algorithm, as the t12afm.sh script, distributed with TeXtrace.
* mftrace.py: mftrace now tries to access fontforge only if any
functions which really require passing the font to fontforge are
requested. This functions include rounding to integer (note that
it *is* enabled by default), simplifying and autohinting, as well
as generating any output formats except PFA or PFB. Otherwise the
output is generated directly with t1asm. Note that for generating
AFM either fontforge or the built-in get_afm function may be used,
depending from the factors listed above.
* mftrace.py: The --keep-trying option now causes mftrace to
ignore not only potrace/autotrace errors, but also METAFONT errors
(in case METAFONT reports an error, but, nevertheless, generates a
GF file). This may be useful for processing some buggy fonts in
heigh resolutions.
* mftrace.py: mftrace now recognizes a special `.notavail' glyph
name in encoding files which you may specify via its `--encoding'
option. You may use this name to prevent mftrace from processing
any specific glyphs (e. g. because they are blank in the
corresponding TeX codepage, so that there is no need to trace
them). This name is also automatically inserted into the encoding
table used by mftrace during the conversion process, if
potrace/autotrace fails to process a specific character. Again, by
this way we prevent useless blank characters from appearing in the
resulting PostScript output.
2005-06-04 Han-Wen Nienhuys <[email protected]>
* mftrace.py (stat): more verbosity.
2005-04-20 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release 1.1.9
* GNUmakefile.in (udist): add cvs commit to target.
2005-04-17 Jan Nieuwenhuizen <[email protected]>
* mftrace.py (make_outputs): Bugfix: do not use global filename.
(trace_font): Make --verbose usable by printing character
generating commands only once.
2005-04-05 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release 1.1.8
* mftrace.1: new man page (Julian Gilbey).
* mftrace.py (find_file): remove --truetype option.
2005-03-30 Andrey V. Panov <[email protected]>
* mftrace.py: add possibility to pass glyph ranges with --glyph
option.
2005-03-27 Han-Wen Nienhuys <[email protected]>
* mftrace.py: prepend exec_prefix to gf2pbm call. Patch by Jeff
Smith <[email protected]>
2005-03-08 Han-Wen Nienhuys <[email protected]>
* configure.in: detect missing potrace/autotrace.
(PYTHON): release 1.1.6
2005-03-06 Han-Wen Nienhuys <[email protected]>
* mftrace.py (get_fontforge_command): another fix.
2005-03-05 Han-Wen Nienhuys <[email protected]>
* mftrace.py (check_pfaedit_scripting): whoops, only call
fontforge_cmd if nonnull.
(get_fontforge_command): change calling convention: return binary name.
* configure.in (PYTHON): release 1.1.3
* mftrace.py (make_outputs): copy if fontforge nonexistent
(get_binary): search PATH for fontforge
2005-01-02 Han-Wen Nienhuys <[email protected]>
* mftrace.py (ec_guess_font_info): handle stretch and weight
separately.
(guess_fontinfo): default weight Regular.
(ec_guess_font_info): lose "designed at" string.
(cm_guess_font_info): change Family to Computer Modern.
* configure.in (PYTHON): release 1.1.2
* mftrace.py (ec_guess_font_info): new function
(cm_guess_font_info): handle isFixedPitch.
(derive_font_name): make fontname similar to Adobe fonts, i.e.
Family-QualifierQualifierAbbrv
2004-12-21 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release 1.1.1
* mftrace.py (option_definitions): add --no-afm option
2004-12-19 Jan Nieuwenhuizen <[email protected]>
* GNUmakefile.in (GNUmakefile): Depend on configure
(configure): Run ./configure after running autoconf (not
config.status, which has old, cached values).
2004-12-19 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): bump version to 1.1.0; release.
* mftrace.py (to_type1): always create .pfa.raw
(make_outputs): generate all outputs in one script. Add SVG output.
(glyph_range): use --formats, remove other options.
2004-12-02 Han-Wen Nienhuys <[email protected]>
* mftrace.py (make_ttf): call AddExtrema() too.
2004-11-19 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release .35
* mftrace.py (abs_path): use lexmarks 1200dpi; ljfour is not
neutral
(cleanup_font): RoundToInt() only if round_to_int is set
(autotrace_path_to_type1_ops): subtract inv_scale iso. 1. (Andrey
V. Panov).
2004-11-06 Han-Wen Nienhuys <[email protected]>
* mftrace.py (stat): rewrite redirection.
2004-11-05 Han-Wen Nienhuys <[email protected]>
* mftrace.py (stat): redirect stderr.
2004-08-15 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release .34
* mftrace.py (cleanup_font): add RoundToInt command.
* GNUmakefile.in (uninstall): add more targets.
2004-07-16 Jan Nieuwenhuizen <[email protected]>
* mftrace.py (abs_path): Bugfix: leave empty path entry alone.
2004-07-13 Jan Nieuwenhuizen <[email protected]>
* mftrace (abs_path): Remove debugging code.
2004-07-08 Jan Nieuwenhuizen <[email protected]>
* mftrace.py (stat): Add cwd to include path before (ugh?)
changing to /tmp.
(gen_pixel_font): Check for log file before reading it.
Make dirs in paths absolute.
2004-06-21 Jan Nieuwenhuizen <[email protected]>
* mftrace.py: Remove dead --output-base option. Small cleanups
(use TAB for indent, space after comma, not before, space before
parentheses, not after, etc).
* GNUmakefile.in (install): Use install instead of cp.
* configure.in: Substitute EXEEXT. Fixes install.
2004-06-11 Han-Wen Nienhuys <[email protected]>
* configure.in (PYTHON): release .33
2004-06-11 Andrey V. Panov <[email protected]>
* mftrace.py (autotrace_path_to_type1_ops,
potrace_path_to_type1_ops): denominator for coordinates is divided
by inv_scale. This fixes rounding errors.
2004-06-04 Andrey V. Panov <[email protected]>
* mftrace.py: add possibility to pass options to a backend program and not to round
coordinates of control points to integer values.
2004-05-05 Han-Wen Nienhuys <[email protected]>
* GNUmakefile.in: patch by Roman Stawski
<[email protected]> for cygwin installation.
2004-03-21 Han-Wen Nienhuys <[email protected]>
* tfm.py (compose_tfm_number): use long.
2004-03-08 Werner Lemberg <[email protected]>
* mftrace.py: Preserve all PBM and EPS files if keep_temp_dir_p is
set.
* mftrace.1: Updated and revised.
2004-03-08 Han-Wen Nienhuys <[email protected]>
* mftrace.py (check_pfaedit_scripting): fontforge detection
bugfix.
2004-03-07 Han-Wen Nienhuys <[email protected]>
* mftrace.py (coding_dict): add tetex encodings.
* README.texi (Top): more renaming.
* mftrace.py (fontforge_cmd): add fontforge support.
2004-01-21 Han-Wen Nienhuys <[email protected]>
* autogen.sh: remove --prefix=$HOME/usr/pkg/mftrace
2004-01-16 Han-Wen Nienhuys <[email protected]>
* mftrace.py (potrace_path_to_type1_ops):
opps. Init z.y to size_y - off_y. This fixes descender boxes.
(potrace_path_to_type1_ops): rewrite, following autotrace model.
use rounding as last step.
2004-01-13 Han-Wen Nienhuys <[email protected]>
* mftrace.py (cm_guess_font_info): italic angle is -14 / -12 .
2004-01-12 Han-Wen Nienhuys <[email protected]>
* mftrace.py (keep_trying_p): use potrace_scale = 1 to avoid
artefacts of rounding. Thanks to Guenther Spahlinger for this bug
report.
(get_discrete_dz): new function. Don't accumulate rounding errors.
2003-12-29 Han-Wen Nienhuys <[email protected]>
* GNUmakefile.in (uninstall): don't use install-sh; it moves,
doesn't copy.
2003-12-18 Han-Wen Nienhuys <[email protected]>
* gf2pbm.c: add header.
2003-12-17 Han-Wen Nienhuys <[email protected]>
* mftrace.py (potrace_path_to_type1_ops): handle different
components correctly
* GNUmakefile.in (FILES): add & use install-sh
* gf2pbm.c: use unistd.h for getopt
2003-12-16 Han-Wen Nienhuys <[email protected]>
* mftrace.py (potrace_path_to_type1_ops): handle empty glyphs
correctly
2003-12-14 Han-Wen Nienhuys <[email protected]>
* mftrace.py (stat): detect tracing program
(potrace_path_to_type1_ops): potrace support
2003-09-30 Han-Wen Nienhuys <[email protected]>
* mftrace.py (do_autotrace_one): return nonzero for failed glyphs.
2003-07-17 Han-Wen Nienhuys <[email protected]>
* mftrace.py (coding_dict): default to feta-braces10.enc for
feta-braces.
(coding_dict): revert.
2003-04-20 Han-Wen Nienhuys <[email protected]>
* mftrace.py (cm_guess_font_info): always define ItalicAngle.
2003-04-19 Han-Wen Nienhuys <[email protected]>
* mftrace.py (cm_guess_font_info): set family for cmss.
(to_type1): write ItalicAngle to output too.
2003-04-16 Han-Wen Nienhuys <[email protected]>
* mftrace.py (cm_guess_font_info): guess info for CM fonts.
(guess_fontinfo): put fontinfo generation in a separate function.
(gen_unique_id): generate UniqueID by hashing FullName into the
free range of the T1 UniqueID space.
(to_type1): actually, don't generate UniqueID at all, since it is
optional.
(cm_guess_font_info): put design size in FullName too.
(guess_fontinfo): rename afm to prevent name clashes.
2003-03-31 Han-Wen Nienhuys <[email protected]>
* README.texi (Top): add note about MFINPUTS variable
2003-03-19 Han-Wen Nienhuys <[email protected]>
* mftrace.py (Font_info.__getitem__): call find_file () for gf_file.
2003-03-13 Han-Wen Nienhuys <[email protected]>
* mftrace.py (glyph_range): apply --gffile patch from Karl Berry
with minor mods.
2003-02-27 Han-Wen Nienhuys <[email protected]>
* mftrace.py (autotrace_font): gf_fontname support (thanks to Karl
Berry)
2002-11-26 Han-Wen Nienhuys <[email protected]>
* GNUmakefile.in: suse patch: use DESTDIR as a prefix.
2002-11-24 Jan Nieuwenhuizen <[email protected]>
* .cvsignore: Add.
* mftrace.py (coding_dict): Add feta-braces, feta-nummer.
2002-11-19 Han-Wen Nienhuys <[email protected]>
* mftrace.py (to_type1): add version to comment.
2002-11-19 Ralf Stubner <[email protected]>
* mftrace.py: tell pfaedit to use the kerning data from the TFM
file and save the produced AFM file.
2002-11-16 Han-Wen Nienhuys <[email protected]>
* mftrace.py (coding_dict): add parmesan encoding.
* mftrace.py (gen_pixel_font): show error log if MetaFont failed.
2002-10-18 Jan Nieuwenhuizen <[email protected]>
* mftrace.py (popen, system): Fix for verbose output.
(Font_info.set_defaults): Add EncodingScheme.
2002-10-16 Jan Nieuwenhuizen <[email protected]>
* mftrace.py: Use afm to set more sensible font names. Allow
generating multiple fonts from one trace.
* GNUmakefile.in: Add afm.py.
* afm.py: New file.
2002-10-10 Han-Wen Nienhuys <[email protected]>
* mftrace.spec.in (Prereq): use %{_mandir}.
* mftrace.py: don't overwrite encoding file for
every next file.
2002-08-21 Han-Wen Nienhuys <[email protected]>
* mftrace.py: take multiple arguments.
2002-08-20 Han-Wen Nienhuys <[email protected]>
* mftrace.py (option_definitions): Patch by Jesse Pavel
<[email protected]>: don't change bbox or font-matrix for
--magnification
2002-08-08 Han-Wen Nienhuys <[email protected]>
* mftrace.py (make_ttf): add TrueType conversion.
(func): add miktex kpathsea support.
* configure.in: Change name to mftrace.
2002-04-10 Han-Wen Nienhuys <[email protected]>
* pktrace.py: add magnification so yinit can be traced.
(do_autotrace_one): stop if autotrace is interupted with ^C.
2002-03-24 Han-Wen <[email protected]>
* pktrace.py (find_file): add -I, --include option for files.
Make one function for finding files.
* Add feta-music encoding.
2002-03-19 Han-Wen Nienhuys <[email protected]>
* pktrace.py (cleanup_font): More verbose pfaedit reporting.
* Change version to 1.0
* Machinery to guess .enc file from TFM coding string.
* Doco updates
* pktrace.spec: RedHat .spec
* Include working dir into path
* Allow variable size encodings
* Man page (Thanks julian)
* gf2pbm.c: Fix on other-endian (PPC) machines (Thanks Jan).
* Support pfaedit -script to simplify and hint font;
turned off for now, since pfaedit is not reliable enough yet.
* Oops. Produce font also when --verbose is off
* --glyphs option
* Even better autotrace bugreporting
* Make clean removes tfm.pyc
* Capture mktextfm output for font location
* Don't create NUMBER.pbm when gf2pbm is run with -s
* `test' makefile target
* Handle autotrace fails better, and add --keep-trying option
* Output PFA by default
* Fix -e option
* Escape fontname in regexp.
* Run kpsewhich on encoding argument.
* Fix permissions on temporary directory.
* Test output on GhostScript and PostScript printer too (only
tried pfaedit before)
* Fix FontBBox calculation
* Don't crash on (nearly) empty glyphs
* Install .pyc as well.
* Fix t1asm warning.
Release 0.6
* type1fix.pl: remove. Dump perl dependency.
* gf2pbm.c: use to dump the bitmap info. Dump pktype dependency.
* trace2.ps: removed. Dump the Ghostscript dependency.
* call mktextfm if no TFM found.
* Big/Little endian fixes. Now gf2pbm works on PowerPC as well.
Release 0.4
* gf2pbm.c: hack to have robust bitmap extraction.
* Uninstall target
* -p bugfix
* texinfo Readme.
Release 0.3
* tfm.py: a Python interface to the TeX TFM file format.
* Use TFM widths for the bounding box. Bugfix for the
Y-coordinates of the bbox.
Release 0.2
* Don't read/write dimension file.
* Read encoding file into python, and only once. This
reduces tracing time.
* For non-existant glyphs, write fake Char String directly.
Release 0.1
* --pfa option
* --encoding option
* Fold t1d2gsx into pktrace.