-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog.20
2613 lines (1832 loc) · 89.4 KB
/
ChangeLog.20
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
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2002-02-09 Werner Lemberg <[email protected]>
* README: Fix typo.
* docs/CHANGES: Minor fixes.
* Version 2.0.8 released.
=========================
2002-02-08 David Turner <[email protected]>
* docs/CHANGES: Updating for 2.0.8.
* include/freetype/freetype.h: Setting `PATCH_LEVEL' to 8 and
removing `FT_Get_Next_Char' from the API (temporarily).
* include/freetype/freetype.h: Adding comments to FT_Get_Next_Char;
note that this function might temporarily be removed for the 2.0.8
release.
2002-02-07 David Turner <[email protected]>
* src/pcf/pcfread.c (pcf_load_font): Removed immature support of
the AVERAGE_WIDTH property.
2002-02-06 David Turner <[email protected]>
* src/sfnt/sfobjs.c (SFNT_Load_Face): Since many fonts embedded in
PDF documents do not include 'cmap', 'post' and 'name' tables, the
SFNT face loader has been changed to not immediately report an
error if these are not present.
Note that the specification _requires_ these tables, but Adobe
seems to ignore it completely.
* src/sfnt/ttcmap.c: Removing compiler warnings.
* src/pcf/pcfread.c (pcf_read_TOC): Use FT_UInt.
(pcf_parse_metric, pcf_parse_compressed_metric): Removed. Code
is now in ...
(pcf_get_metric): Here.
(pcfSeekToType): Renamed to ...
(pcf_seek_to_table_type): This.
Use FT_Int.
(pcfHasType): Renamed to ...
(pcf_has_table_type): This.
Use FT_Int.
(find_property): Renamed to ...
(pcf_find_property): This.
Use FT_Int.
(pcf_get_bitmaps, pcf_get_encodings): Handle invalid PCF fonts
better (delaying format checks out of FT_Access_Frame ..
FT_Forget_Frame blocks to avoid leaving the stream in an incorrect
state when encountering an invalid PCF font).
* src/pcf/pcfdriver.c (PCF_Done_Face): Renamed to ...
(PCF_Face_Done): This.
(PCF_Init_Face): Renamed to ...
(PCF_Face_Init): This.
(PCF_Get_Char_Index): Renamed to ...
(PCF_Char_Get_Index): This.
(PCF_Get_Next_Char): Renamed to ...
(PCF_Char_Get_Next): This.
(pcf_driver_class): Updated.
* src/pcf/pcf.h (PCF_Done_Face): Removed.
2002-02-06 Detlef Würkner <[email protected]>
* src/pcf/pcfdriver.c (FT_Done_Face): Fixed small memory leak.
* src/pcf/pcfread.c (pcf_load_font): Now handles the `AVERAGE_WIDTH'
property to return correct character pixel (width/height) pairs for
embedded bitmaps.
2002-02-04 Keith Packard <[email protected]>
Adding the function `FT_Get_Next_Char', doing the obvious thing
w.r.t. the selected charmap.
* include/freetype/freetype.h: Add prototype.
* include/freetype/internal/ftdriver.h: Add `FTDriver_getNextChar'
typedef.
(FT_Driver_Class): Use it.
* include/freetype/internal/psnames.h: Add `PS_Next_Unicode_Func'
typedef.
(PSNames_Interface): Use it.
* include/freetype/internal/tttypes.h: Add `TT_CharNext_Func'
typedef.
(TT_CMapTable): Use it.
* src/base/ftobjs.c (FT_Get_Next_Char): New function, implementing
high-level API.
* src/cff/cffdrivr.c (cff_get_next_char): New function.
(cff_driver_class): Add it.
* src/cid/cidriver.c (Cid_Get_Next_Char): New function.
(t1cid_driver_class): Add it.
* src/pcf/pcfdriver.c (PCF_Get_Next_Char): New function.
(pcf_driver_class): Add it.
* src/psnames/psmodule.c (PS_Next_Unicode): New function.
(psnames_interface): Add it.
* src/sfnt/ttcmap.c (code_to_next0, code_to_next2, code_to_next4,
code_to_next6, code_to_next_8_12, code_to_next_10): New auxiliary
functions.
(TT_CharMap_Load): Use them.
* src/truetype/ttdriver.c (Get_Next_Char): New function.
(tt_driver_class): Add it.
* src/type1/t1driver.c (Get_Next_Char): New function.
(t1_driver_class): Add it.
* src/winfonts/winfnt.c (FNT_Get_Next_Char): New function.
(winfnt_driver_class): Add it.
* src/pcf/pcfread.c (pcf_load_font): For now, report Unicode for
Unicode and Latin 1 encodings.
2002-02-02 Keith Packard <[email protected]>
* builds/unix/freetype-config.in: Add missing `fi'.
* Version 2.0.7 released.
=========================
2002-02-01 David Turner <[email protected]>
* include/freetype/freetype.h: Increasing FREETYPE_PATCH to 7
for the new release.
2002-01-31 David Turner <[email protected]>
* README, README.UNX, docs/CHANGES: Updating documentation for the
2.0.7 release.
2002-01-30 David Turner <[email protected]>
* INSTALL: Moved to ...
* docs/INSTALL: Here to avoid conflicts with the `install' script on
Windows, where the filesystem doesn't preserve case.
2002-01-29 David Turner <[email protected]>
* configure: Fixed the script. It previously didn't accept more
than one argument correctly. For example, when typing:
./configure --disable-shared --disable-nls
the `--disable-nls' was incorrectly sent to the `make' program.
2002-01-29 Werner Lemberg <[email protected]>
* README.UNX: Fix typo.
* builds/unix/install.mk (uninstall): Fix library name for libtool.
2002-01-28 Francesco Zappa Nardelli <[email protected]>
* src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of
the face object (face->toc.tables, face->root.family_name,
face->root.available_size, face->charset_encoding,
face->charset_registry are now freed). Thanks to Niels Moseley.
2002-01-28 Roberto Alameda <[email protected]>
* src/type1/t1load.c (parse_encoding): Set `loader->num_chars'.
2002-01-28 Werner Lemberg <[email protected]>
* src/type1/t1load.c (parse_subrs, parse_charstrings): Use copy
of `base' string for decrypting to not modify the original data.
Based on a patch by Jakub Bogusz <[email protected]>.
2002-01-27 Giuliano Pochini <[email protected]>
* src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
bad rendering of thin lines (less than one pixel thick).
2002-01-25 Werner Lemberg <[email protected]>
* src/cff/cffdrivr.c (cff_get_name_index): Make last patch work
actually.
2002-01-25 Martin Zinser <[email protected]>
* src/cache/ftccache.c (ftc_node_done, ftc_node_destroy): Fix
compilation warnings.
* src/base/descrip.mms (OBJS): Add `ftmm.obj'.
* src/cache/descrip.mms (ftcache.obj): Dependencies added.
2002-01-25 WANG Yi <[email protected]>
* src/cff/cffdrivr.c (cff_get_name_index): Fix deallocation bug.
2002-01-21 Antoine Leca <[email protected]>
* docs/PATENTS: Typo fixed (thanks to Detlef `Hawkeye' Würkner) in
the URL for the online resource.
2002-01-18 Ian Brown <[email protected]>
* builds/win32/ftdebug.c: New file.
* builds/win32/visualc/freetype.dsp: Updated.
2002-01-18 Detlef Würkner <[email protected]>
* builds/amiga/src/base/ftsystem.c: Updated for AmigaOS 3.9.
* builds/amiga/README: Updated.
2002-01-18 Ian Brown <[email protected]>
* builds/win32/visualc/freetype.dsp: Updated.
2002-01-13 Werner Lemberg <[email protected]>
* builds/unix/freetype2.a4: The script was still buggy.
* builds/unix/freetype-config.in: Make it really work for any install
prefix.
2002-01-10 Werner Lemberg <[email protected]>
* builds/unix/freetype2.a4: Fix some serious bugs.
2002-01-09 David Turner <[email protected]>
* builds/unix/configure.ac: Build top-level Jamfile.
2002-01-09 Maxim Shemanarev <[email protected]>
* src/smooth/ftgrays.c (gray_render_line): Small optimization to
the smooth anti-aliased renderer that deals with vertical segments.
This results in a 5-7% speedup in rendering speed.
2002-01-08 David Turner <[email protected]>
Added some wrapper scripts to make the installation more
Unix-friendly.
* configure, install: New files.
* INSTALL, README.UNX: Updated installation documentation to use the
new 'configure' and 'install' scripts.
2002-01-07 David Turner <[email protected]>
* Version 2.0.6 released.
=========================
* docs/BUGS, docs/CHANGES: Updating documentation for 2.0.6 release.
* src/tools/docmaker.py: Fixed HTML quoting in sources.
(html_format): Replaced with ...
(html_quote): New function.
(html_quote0): New function.
(DocCode::dump_html): Small improvement.
(DocParagraph::dump, DocBlock::html): Use html_quote0 and html_quote.
* include/freetype/config/ftoption.h: Setting default options for
a release build (debugging off, bytecode interpreter off).
* src/base/ftobjs.c, src/base/ftoutln.c, src/cache/ftccmap.c,
src/cff/cffload.c, src/cff/cffobjs.c, src/pshinter/pshalgo2.c,
src/sfnt/ttload.c, src/sfnt/ttsbit.c: Removing small compiler
warnings (in pedantic compilation modes).
2002-01-05 David Turner <[email protected]>
* src/autohint/ahhint.c (ah_align_linked_edge): Modified computation
of auto-hinted stem widths; this avoids color fringes in
`ClearType-like' rendering.
* src/truetype/ttgload.c (TT_Load_Glyph_Header,
TT_Load_Simple_Glyph, TT_Load_Composite_Glyph, load_truetype_glyph):
Modified the TrueType loader to make it more paranoid; this avoids
nasty buffer overflows in the case of invalid glyph data (as
encountered in the output of some buggy font converters).
2002-01-04 David Turner <[email protected]>
* README.UNX: Added special README file for Unix users.
* builds/unix/ftsystem.c (FT_New_Stream): Fixed typo.
* src/base/ftobjs.c: Added #include FT_OUTLINE_H to get rid
of compiler warnings.
* src/base/ftoutln.c (FT_Outline_Check): Remove compiler warning.
2002-01-03 Werner Lemberg <[email protected]>
* src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler
warning.
2002-01-03 Keith Packard <[email protected]>
* builds/unix/ftsystem.c (FT_New_Stream): Added a fix to ensure that
all FreeType input streams are closed in child processes of a `fork'
on Unix systems. This is important to avoid (potential) access
control issues.
2002-01-03 David Turner <[email protected]>
* src/type1/t1objs.c (T1_Face_Init): Fixed a bug that crashed the
library when dealing with certain weird fonts like `Stalingrad', in
`sadn.pfb' (this font has no full font name entry).
* src/base/ftoutln.c, include/freetype/ftoutln.h (FT_Outline_Check):
New function to check the consistency of outline data.
* src/base/ftobjs.c (FT_Load_Glyph): Use `FT_Outline_Check' to
ensure that loaded glyphs are valid. This allows certain fonts like
`tt1095m_.ttf' to be loaded even though it appears they contain
really funky glyphs.
There still is a bug there, though.
* src/truetype/ttgload.c (load_truetype_glyph): Fix error condition.
2001-12-30 David Turner <[email protected]>
* src/autohint/ahhint.c (ah_hinter_load): Fix advance width
computation of auto-hinted glyphs. This noticeably improves the
spacing of letters in KDE and Gnome.
2001-12-25 Antoine Leca <[email protected]>
* builds/dos/detect.mk: Correcting the order for Borland compilers:
16-bit bcc was never selected, always overridden by 32-bit bcc32.
2001-12-22 Francesco Zappa Nardelli <[email protected]>
* src/pfc/pcfread.c (pcf_load_font): Handle property `POINT_SIZE'
and fix incorrect computation of `available_sizes'.
2001-12-22 David Turner <[email protected]>
* src/autohint/ahhint.c (ah_hinter_load): Auto-hinted glyphs had an
incorrect glyph advance in the case of mono-width fonts (like
Courier, Andale Mono, and others).
2001-12-22 Detlef Würkner <[email protected]>
* builds/amiga/*: Adaptations to latest changes.
Support added for MorphOS.
2001-12-22 Werner Lemberg <[email protected]>
* src/pshinter/pshrec.c (FT_COMPONENT): Redefine to `trace_pshrec'.
(ps_mask_table_merge, ps_hints_open, ps_hints_stem,
ps_hints_t1stem3, ps_hints_t2mask, ps_hints_t2counter): Fix
FT_ERROR messages.
* src/pshinter/pshalgo1.c (FT_COMPONENT): Define as
`trace_pshalgo1'.
* src/pshinter/pshalgo2.c (FT_COMPONENT): Define as
`trace_pshalgo2'.
* include/freetype/internal/ftdebug.h (FT_Trace): Updated.
* docs/modules.txt: New file.
2001-12-21 David Turner <[email protected]>
* src/pshinter/pshrec.c (ps_hints_t2mask, ps_hints_t2counter):
Ignore invalid `hintmask' and `cntrmask' operators (instead of
returning an error). Glyph 2028 of the CFF font `MSung-Light-Acro'
couldn't be rendered otherwise (it seems its charstring is buggy,
though this requires more analysis).
(FT_COMPONENT): Define.
* src/cff/cffgload.c (CFF_Parse_CharStrings), src/psaux/t1decode.c
(T1_Decoder_Parse_Charstrings), src/pshinter/pshalgo2.c (*), Fixed a
bug where the X and Y axis where inverted in the postscript hinter.
This caused problem when displaying on non-square surfaces.
* src/pshinter/pshalgo2.c: s/vertical/dimension/.
* src/pshinter/pshglob.c (psh_globals_new): Replaced a floating
point constant with a fixed-float equivalent. For some reasons not
all compilers are capable of directly computing a floating pointer
constant casted to FT_Fixed, and will link a math library instead.
2001-12-20 Werner Lemberg <[email protected]>
* src/cache/ftccache.c (ftc_node_destroy, ftc_cache_lookup): Fix
tracing strings.
* src/cache/ftccmap.c (ftc_cmap_family_init): Ditto.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
ftc_family_table_free, FTC_Manager_Check): Ditto.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Ditto.
* src/base/ftobjs.c (FT_Done_Library): Remove compiler warning.
2001-12-20 David Turner <[email protected]>
Added PostScript hinter support to the CFF and CID drivers.
* include/freetype/internal/cfftypes.h (CFF_Font): New member
`pshinter'.
* src/cff/cffload.c (CFF_Get_Standard_Encoding): New function.
* src/cff/cffload.h: Updated.
* src/cff/cffgload.c (CFF_Init_Builder): Renamed to ...
(CFF_Builder_Init): This.
Added new argument `hinting'.
(CFF_Done_Builder): Renamed to ...
(CFF_Builder_Done): This.
(CFF_Init_Decoder): Added new argument `hinting'.
(CFF_Parse_CharStrings): Implement vstem support.
(CFF_Load_Glyph): Updated.
Add hinting support.
(cff_lookup_glyph_by_stdcharcode): Use CFF_Get_Standard_Encoding().
(cff_argument_counts): Updated.
* src/cff/cffgload.h: Updated.
* src/cff/cffobjs.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
(CFF_Size_Get_Globals_Funcs, CFF_Size_Done, CFF_Size_Init,
CFF_Size_Reset, CFF_GlyphSlot_Done, CFF_GLyphSlot_Init): New
functions.
(CFF_Init_Face): Renamed to ...
(CFF_Face_Init): This.
Add hinter support.
(CFF_Done_Face): Renamed to ...
(CFF_Face_Done): This.
(CFF_Init_Driver): Renamed to ...
(CFF_Driver_Init): This.
(CFF_Done_Driver): Renamed to ...
(CFF_Driver_Done): This.
* src/cff/cffobjs.h: Updated.
* src/cff/cffdrivr.c (cff_driver_class): Updated.
* include/freetype/internal/t1types.h (CID_FaceRec): New member
`pshinter'.
* src/cid/cidgload.c (CID_Load_Glyph): Add hinter support.
* src/cid/cidobjs.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
(CID_GlyphSlot_Done, CID_GlyphSlot_Init, CID_Size_Get_Globals_Funcs,
CID_Size_Done, CID_Size_Init, CID_Size_Reset): New functions.
(CID_Done_Face): Renamed to ...
(CID_Face_Done): This.
(CID_Init_Face): Renamed to ...
(CID_Face_Init): This.
Add hinting support.
(CID_Init_Driver): Renamed to ...
(CID_Driver_Init): This.
(CID_Done_Driver): Renamed to ...
(CID_Driver_Done): This.
* src/cid/cidobjs.h: Updated.
* src/cidriver.c: Updated.
* src/pshinter/pshrec.c (t2_hint_stems): Fixed.
* src/base/ftobjs.c (FT_Done_Library): Fixed a stupid bug that
crashed the library on exit.
* src/type1/t1gload.c (T1_Load_Glyph): Enable font matrix
transformation of hinted glyphs.
* src/cid/cidload.c (cid_read_subrs): Fix error condition.
* src/cid/cidobjs.c (CID_Face_Done): Fixed a memory leak; the subrs
routines were never released when CID faces were destroyed.
* src/cff/cffload.h, src/cff/cffload.c, src/cff/cffgload.c: Updated
to move the definition of encoding tables back within `cffload.c'
instead of making them part of a shared header (causing problems in
`multi' builds). This reverts change 2001-08-08.
* docs/CHANGES: Updated for 2.0.6 release.
* docs/TODO: Added `stem3 and counter hints support' to the TODO
list for the Postscript hinter.
* docs/BUGS: Closed the AUTOHINT-NO-SBITS bug.
2001-12-19 David Turner <[email protected]>
* include/freetype/cache/ftcache.h: Added comments to indicate that
some of the exported functions should only be used by applications
that need to implement custom cache types.
* src/truetype/ttgload.c (cur_to_org, org_to_cur): Fixed a nasty bug
that prevented composites from loading correctly, due to missing
parentheses around macro parameters.
* src/sfnt/sfobjs.c (SFNT_Load_Face): Make the `post' and `name'
tables optional to load PCL fonts properly.
* src/truetype/ttgload.c (TT_Load_Glyph), src/base/ftobjs.c
(FT_Load_Glyph), include/freetype/freetype.h (FT_LOAD_SBITS_ONLY):
`Fixed' the bug that prevented embedded bitmaps to be loaded when
the auto-hinter is used. This actually is a hack but will be enough
until the internal re-design scheduled for FreeType 2.1.
* src/raster/ftrend1.c (ft_raster1_render): Fixed a nasty outline
shifting bug in the monochrome renderer.
* README: Updated version numbers to 2.0.6.
2001-12-17 Werner Lemberg <[email protected]>
* src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
glyph header.
2001-12-15 Werner Lemberg <[email protected]>
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Remove compiler warning.
* include/freetype/ftcache.h (FTC_Node_Unref): Removed. It is
already in ftcmanag.h.
* src/cache/ftcsbits.c (ftc_sbit_node_load): Remove unused variable
`gfam'.
* src/cache/ftcmanag.c (ftc_family_table_alloc,
* ftc_family_table_free): Use FT_EXPORT_DEF.
* include/freetype/cache/ftcmanag.h: Updated.
* src/cache/ftccache.c (ftc_node_destroy): Use FT_EXPORT_DEF.
* src/cache/ftccmap.c (ftc_cmap_node_init): Remove unused variable
`cfam'.
Remove compiler warning.
(FTC_CMapCache_Lookup): Remove compiler warnings.
(ftc_cmap_family_init): Ditto.
(FTC_CMapCache_Lookup): Ditto.
* builds/unix/configure.ac: Increase `version_info' to 8:0:2.
* builds/unix/configure: Regenerated.
2001-12-14 Werner Lemberg <[email protected]>
* builds/mac/README: Updated.
2001-12-14 Scott Long <[email protected]>
* src/truetype/ttgload.c (load_truetype_glyph): Fixing crash when
dealing with invalid fonts (i.e. glyph size < 10 bytes).
2001-12-14 Sam Latinga <[email protected]>
* builds/mac/freetype.make: A new Makefile to build with MPW on
MacOS classic.
2001-12-14 David Turner <[email protected]>
* src/truetype/ttgload.c (TT_Load_Glyph), src/type1/t1gload.c
(T1_Load_Glyph), src/cid/cidgload.c (CID_Load_Glyph),
src/cff/cffgload.c (CFF_Load_Glyph): Fixed a serious bug common to
all font drivers (the advance width was never hinted when it
should).
* include/freetype/freetype.h (FREETYPE_PATCH): New macro.
* src/base/ftdbgmem.c (debug_mem_dummy) [!FT_DEBUG_MEMORY]: Don't
use `extern' keyword.
2001-12-12 David Turner <[email protected]>
* src/pshinter/pshglob.c (psh_blues_scale_zones, psh_blues_snap_stem
psh_globals_new): Adding correct BlueScale/BlueShift support, plus
family blues processing.
* src/pshinter/pshglob.h (PSH_BluesRec): Updated.
Started adding support for the Postscript hinter in the CFF module.
* src/cff/cffgload.c: Include FT_INTERNAL_POSTSCRIPT_HINTS_H.
(CFF_Parse_CharStrings): Implement it.
* src/cff/cffgload.h: Updated.
2001-12-12 Werner Lemberg <[email protected]>
* builds/unix/freetype2.m4: Some portability fixes.
2001-12-11 Jouk Jansen <[email protected]>
* src/base/descrip.mms (OBJS): Add ftdebug.obj.
2001-12-11 Werner Lemberg <[email protected]>
* src/sfnt/ttload.c (TT_Load_Generic_Header): Typos.
2001-12-11 David Turner <[email protected]>
* builds/unix/freetype-config.in: Modified the script to prevent
passing `-L/usr/lib' to gcc.
* docs/FTL.TXT: Simple fix (change `LICENSE.TXT' to `FTL.TXT').
* builds/unix/freetype2.m4: New file for checking configure paths.
We need to install it in $(prefix)/share/aclocal/freetype2.m4 but I
didn't modify builds/unix/install.mk yet.
* INSTALL: Updated the instructions to build shared libraries with
Jam. They were simply wrong.
* src/base/fttrigon.c (FT_Cos): Fixed a small bug that caused
slightly improper results for `FT_Cos' and `FT_Sin' (example:
FT_Sin(0) == -1!).
2001-12-11 Detlef Würkner <[email protected]>
* include/freetype/internal/ftstream.h (GET_LongLE, GET_ULongLE):
Fixed incorrect argument types.
2001-12-10 Francesco Zappa Nardelli <[email protected]>
* src/pcf/pcfdriver.c (PCF_Init_Face): Allow Xft to use PCF fonts
by setting the `face->metrics.max_advance' correctly.
2001-12-07 David Turner <[email protected]>
* include/freetype/cache/ftccmap.h, src/cache/ftccmap.c: Added new
charmap cache.
* src/cache/ftcache.c: Updated.
* src/autohint/ahhint.c (ah_hinter_hint_edges): s/UNUSED/FT_UNUSED/.
2001-12-06 Leonard Rosenthol <[email protected]>
Added support for reading .dfont files on Mac OS X. Also added a
new routine which looks up a given font by name in the Mac OS and
returns the disk file where it resides.
* src/base/ftmac.c: Include <Files.h> and <TextUtils.h>.
(is_dfont): New auxiliary function.
(FT_New_Face_From_dfont): New function.
(FT_GetFile_From_Mac_Name): New exported function.
(FT_New_Face): Updated.
* include/freetype/ftmac.h: Updated.
2001-12-06 David Turner <[email protected]>
* src/cache/Jamfile, src/cache/rules.mk: Updated.
2001-12-06 Werner Lemberg <[email protected]>
* INSTALL: Small update.
2001-12-05 David Turner <[email protected]>
* src/base/ftglyph.c (FT_Glyph_To_Bitmap): Re-ordered code for
debugging purposes.
Comment out use of `origin'.
* src/smooth/ftsmooth.c (ft_smooth_render): Fixed a nasty hidden bug
where outline shifting wasn't correctly undone after bitmap
rasterization. This created problems with certain glyphs (like '"'
of certain fonts) and the cache system.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Fix typo.
* src/pshinter/pshalgo2.c (psh2_hint_table_init): Fix typo.
(ps2_hints_apply): Small fix.
2001-12-05 David Turner <[email protected]>
* src/pshinter/pshalgo2.c (psh2_hint_table_init),
src/pshinter/pshalgo1.c (psh1_hint_table_init): Removed compiler
warnings.
* include/freetype/ftcache.h, include/freetype/cache/*, src/cache/*:
Yet another massive rewrite of the caching sub-system in order to
both increase performance and allow simpler cache sub-classing. As
an example, the code for the image and sbit caches is now much
simpler.
I still need to update the documentation in
www/freetype2/docs/cache.html to reflect the new design though.
* include/freetype/config/ftheader.h (FT_CACHE_CHARMAP_H): New
macro.
(FT_CACHE_INTERNAL_CACHE_H): Updated.
2001-12-05 David Krause <[email protected]>
* docs/license.txt: s/X Windows/X Window System/.
2001-12-04 Werner Lemberg <[email protected]>
* src/raster/ftraster.c: Fix definition condition of MEM_Set().
* src/smooth/ftgrays.c (M_Y): Change value to 192.
* src/base/ftdbgmem.c (ft_mem_table_destroy): Fix printf() parameter.
Remove unused variable.
* src/cache/ftcimage.c (ftc_image_node_init,
ftc_image_node_compare): Remove unused variables.
* src/cache/ftcsbits.c (ftc_sbit_node_weight): Remove unused
variable.
* src/raster/ftraster.c (MEM_Set): Move definition down to avoid
compiler warning.
* src/autohint/ahhint.c (ah_hinter_hint_edges): Use UNUSED() to
avoid compiler warnings.
* src/pcf/pcfread.c (tableNames): Use `const'.
(pcf_read_TOC): Change counter name to avoid compiler warning.
Use `const'.
* src/pshinter/pshrec.c (ps_hints_close): Remove redundant
declaration.
* src/pshinter/pshalgo1.c (psh1_hint_table_init): Rename variables
to avoid shadowing.
* src/pshinter/pshalgo2.c (psh2_hint_table_activate_mask): Ditto.
* src/type1/t1objs.h: Remove double declarations of `T1_Size_Init()'
and `T1_Size_Done()'.
2001-11-20 Antoine Leca <[email protected]>
* include/freetype/ttnameid.h: Added some new Microsoft language
codes and LCIDs as found in MSDN (Passport SDK). Also added
comments about the meaning of bit 57 of the `OS/2' table
(TT_UCR_SURROGATES) which (with OpenType v.1.3) now means `there is
a character beyond 0xFFFF in this font'. Thanks to Detlef Würkner
<[email protected]> for noticing this.
2001-11-20 David Turner <[email protected]>
* src/pshinter/{pshalgo2.c, pshalgo1.c}: Fixed stupid bug in sorting
routine that created nasty alignment artefacts.
* src/pshinter/pshrec.c, tests/gview.c: Debugging updates.
* src/smooth/ftgrays.c: De-activated experimental gamma support.
Apparently, `optimal' gamma tables depend on the monitor type,
resolution and general karma, so it's better to compute them outside
of the rasterizer itself.
(gray_convert_glyph): Use `volatile' keyword.
2001-10-29 David Turner <[email protected]>
Adding experimental `gamma' support. This produces smoother glyphs
at small sizes for very little cost.
* src/smooth/ftgrays.c (grays_init_gamma): New function.
(gray_raster_new): Use it.
Various fixes to the auto-hinter. They merely improve the output of
sans-serif fonts. Note that there are still problems with serifed
fonts and composites (accented characters).
* src/autohint/ahglyph.c (ah_outline_load,
ah_outline_link_segments): Implement it.
Fix typos.
(ah_outline_save, ah_outline_compute_segments): Fix typos.
* src/autohint/ahhint.c (ah_align_serif_edge): New argument
`vertical'. Implement improvement.
(ah_hint_edges_3, ah_hinter_hint_edges): Implement it.
Fix typos.
(ah_hinter_align_strong_points, ah_hinter_align_weak_points): Fix
typos.
(ah_hinter_load): Set `ah_debug_hinter' if DEBUG_HINTER is defined.
* src/autohint/ahmodule.c: Implement support for DEBUG_HINTER macro.
* src/autohint/ahtypes.h: Ditto.
(AH_Hinter): Remove `disable_horz_edges' and `disable_vert_edges'
(making them global as `ah_debug_disable_horz' and
`ah_debug_disable_vert').
Fix typos.
* tests/gview.c: Updated the debugging glyph viewer to show the
hints generated by the `autohint' module.
2001-10-27 David Turner <[email protected]>
* src/cache/ftcchunk.c (ftc_chunk_cache_lookup): Fixed a bug that
considerably lowered the performance of the abstract chunk cache.
2001-10-26 David Turner <[email protected]>
* include/freetype/ftcache.h, include/freetype/cache/*.h,
src/cache/*.c: Major re-design of the cache sub-system to provide
better performance as well as an `Acquire'/`Release' API. Seems to
work well here, but probably needs a bit more testing.
2001-10-26 Leonard Rosenthol <[email protected]>
* builds/mac/README: Updated to reflect my taking over the project
and that is now being actively maintained.
* src/base/ftmac.c (parse_fond): Applied patches from Paul Miller
<[email protected]> to support loading a face other than the
first from a FOND resource.
(FT_New_Face_From_FOND): Updated.
2001-10-25 Leonard Rosenthol <[email protected]>
* builds/mac/ftlib.prj: Update of CodeWarrior project file for Mac
OS for latest version (7) of CWPro and for recent changes to the FT
source tree.
2001-10-25 David Turner <[email protected]>
* include/freetype/config/ftoption.h: Updated comments to explain
precisely how to use project-specific macro definitions without
modifying this file manually.
(FT_CONFIG_FORCE_INT64): Define.
(FT_DEBUG_MEMORY): New macro.
2001-10-24 Tom Kacvinsky <[email protected]>
* builds/unix/ftsystem.c (FT_New_Memory): Added a missing `{'.
2001-10-23 David Turner <[email protected]>
* include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
Improvements to the memory debugger to report more information in
case of errors. Also, some allocations that occurred through REALLOC
couldn't be previously caught correctly.
* src/autohint/ahglyph.c (ah_outline_compute_segments,
ah_outline_compute_edges), src/raster/ftraster.c (ft_black_new),
src/smooth/ftgrays.c (gray_render_span, gray_raster_new): Replaced
liberal uses of memset() by the MEM_Set() macro.
2001-10-23 David Turner <[email protected]>
* src/raster/ftraster.c (Update): Removed to be inlined in ...
(Sort): Updated.
2001-10-22 David Turner <[email protected]>
* builds/unix/ftsystem.c (FT_New_Memory, FT_Done_Memory),
builds/vms/ftsystem.c (FT_New_Memory, FT_Done_Memory),
builds/amiga/ftsystem.c (FT_New_Memory, FT_Done_Memory),
src/base/ftdbgmem.c: Updated the memory debugger and
platform-specific implementations of `ftsystem' in order to be able
to debug memory allocations on Unix, VMS and Amiga too!
* src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): Removed
some bogus warnings.
* include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c:
Modified the debugging memory manager to report the location (source
file name + line number) where leaked memory blocks are allocated in
the source file.
* src/base/ftdbgmem.c: New debugging memory manager. You must
define the FT_DEBUG_MEMORY macro in `ftoption.h' to enable it. It
will record every memory block allocated and report simple errors
like memory leaks and double deletes.
* src/base/Jamfile: Include ftdbgmem.
* src/base/rules.mk: Ditto.
* src/base/ftbase.c: Include ftdbgmem.c.
* include/freetype/config/ftoption.h: Added the FT_DEBUG_MEMORY
macro definition.
* src/base/ftsystem.c (FT_New_Memory, FT_Done_Memory): Modified the
base component to use the debugging memory manager when the macro
FT_DEBUG_MEMORY is defined.
2001-10-21 Tom Kacvinsky <[email protected]>
* src/cff/cffload.c (CFF_Done_Font): Free subfonts array only if
we are working with a CID keyed CFF font. Otherwise, a variable
that was never allocated memory might freed. This is a correction
to the previous patch for freeing subfonts.
2001-10-21 Tom Kacvinsky <[email protected]>
* src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to
avoid a memory leak.
2001-10-21 David Turner <[email protected]>
* src/pshinter/pshalgo2.c, src/pshinter/pshalgo1.c,
src/pshinter/pshglob.c: Removing compiler warnings in pedantic modes
(in multi-object compilation mode, mainly).
2001-10-20 Tom Kacvinsky <[email protected]>
* src/type1/t1load.c (parse_encoding): Add a test to make sure
that custom encodings (i.e., neither StandardEncoding nor
ExpertEncoding) are not loaded twice when the Type 1 font is
synthetic.
* src/type1/t1load.c (parse_font_name, parse_subrs): Added a test
for when loading synthetic fonts to make sure that the font name
and subroutines are not loaded twice. This is to remove a memory
leak that occurred because the original memory blocks for these
objects were not deallocated when the objects were parsed the
second time.
2001-10-19 David Turner <[email protected]>
* src/smooth/ftgrays.c, src/pshinter/pshglob.h,
src/pshinter/pshrec.c, src/pshinter/pshalgo2.c: Getting rid of
compiler warnings.
* src/pshinter/module.mk, src/pshinter/rules.mk: Adding control
files to build the PostScript hinter with the `old' build system.
2001-10-19 Jacob Jansen <[email protected]>
* descrip.mms, src/pshinter/descrip.mms: Updates to the VMS build
files.
2001-10-18 David Turner <[email protected]>
* src/psnames/pstables.h, src/tools/glnames.py: Rewrote the
`glnames.py' script used to generate the `pstables.h' header file.
The old one contained a serious bug that made FreeType return
incorrect glyph names for certain glyphs.
* src/truetype/ttdriver.c (Set_Char_Sizes): Changing computation of
pixel size from character size to use rounding. This is an
experiment to see whether this gives values similar to Windows for
scaled ascent/descent/etc.
* src/base/ftcalc.c (FT_Div64by32): Changed the implementation
slightly since the original code was mis-compiled on Mac machines
using the MPW C compiler.
* src/base/ftobjs.c (FT_Realloc): When a memory block was grown
through FT_Realloc(), the new bytes were not set to 0, which created
some strange bugs in the PostScript hinter.
(destroy_face): Don't deallocate unconditionally.
* src/cid/cidgload.c (CID_Compute_Max_Advance, CID_Load_Glyph):
Adding support to new PostScript hinter.
* include/freetype/internal/psglobal.h,
include/freetype/internal/pshints.h,
include/freetype/config/ftmodule.h, src/pshinter/Jamfile,
src/pshinter/pshalgo.h, src/pshinter/pshalgo1.h,
src/pshinter/pshalgo1.c, src/pshinter/pshalgo2.h,
src/pshinter/pshalgo2.c, src/pshinter/pshglob.h,
src/pshinter/pshglob.c, src/pshinter/pshinter.c,
src/pshinter/pshmod.c, src/pshinter/pshmod.h, src/pshinter/pshrec.c,
src/pshinter/pshrec.h: Adding new PostScript hinter module.
* include/freetype/internal/ftobjs.h,
include/freetype/internal/internal.h,
include/freetype/internal/psaux.h,
include/freetype/internal/t1types.h, src/psaux/psobjs.c,
src/psaux/psobjs.h, src/psaux/t1decode.h, src/psaux/t1decode.c,
src/type1/t1driver.c, src/type1/t1gload.c, src/type1/t1objs.c,
src/type1/t1objs.h: Updates to use the new PostScript hinter.
* tests/Jamfile, tests/gview.c: Adding a new glyph hinting
viewer/debugger to the source tree. Note that you will _not_ be
able to compile it since it depends on an unavailable graphics
library named `Nirvana' to render vector images.
2001-10-17 David Turner <[email protected]>
* Version 2.0.5 released.
=========================
* include/freetype/freetype.h, include/internal/ftobjs.h,
src/base/ftobjs.c, src/type1/t1driver.c: Adding a new function named
'FT_Get_Postscript_Name' to retrieve the PostScript name of a given
font. Should work with all formats except pure CFF/CEF fonts (this
will be added soon).
* src/cid/cidriver (cid_get_postscript_name): New function.
(CID_Get_Interface): Handle `postscript_name' interface.
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): New function.
(SFNT_Get_Interface): Handle `postscript_name' interface.
* src/type1/t1driver.c (t1_get_ps_name): New function.
(Get_Interface): Handle `postscript_name' interface.
* README, docs/CHANGES: Updated for 2.0.5 release.
2001-10-08 David Turner <[email protected]>
Fixed a bug in `glnames.py' that prevented it from generating
correct glyph names tables. This resulted in the unavailability of
certain glyphs like `Cacute', `cacute' and `lslash' in Unicode
charmaps, even if these were present in the font (causing problems
for Polish users).
* src/tools/glnames.py (mac_standard_names): Fixed.
(t1_standard_strings): Some fixes and renamed to ...
(sid_standard_names): This.
(t1_expert_encoding): Fixed.
(the_adobe_glyph_list): Renamed to ...
(adobe_glyph_names): This.
(the_adobe_glyphs): Renamed to ...
(adobe_glyph_values): This.
(dump_mac_indices, dump_glyph_list, dump_unicode_values, main):
Updated.
* src/psnames/pstables.h: Regenerated.
* src/psnames/psmodule.c (PS_Unicode_Value): Fix offset.
Fix return value.
Use `sid_standard_table' and `ps_names_to_unicode' instead of
`t1_standard_glyphs' and `names_to_unicode'.
(PS_Macintosh_Name): Use `ps_glyph_names' instead of
`standard_glyph_names'.
(PS_Standard_Strings): Use `sid_standard_names' instead of
`t1_standard_glyphs'.
* doc/BUGS, doc/TODO: New documents.
2001-10-07 Richard Barber <[email protected]>
* src/cache/ftlru.c (FT_Lru_Lookup_Node): Fixed a bug that prevented
correct LRU behaviour.
2001-10-07 David Turner <[email protected]>
setjmp() and longjmp() are now used for rollback (i.e. when memory
pool overflow occurs).
Function names are now all uniformly prefixed with `gray_'.
* src/smooth/ftgrays.c: Include <setjmp.h>.
(ErrRaster_MemoryOverflow): New macro.
(TArea): New type to store area values in each cell (using `int' was
too small on 16-bit systems). <limits.h> is included to properly