Added copyright messages to all Makefiles. Added documentation to FT_Get_Sfnt_* stuff (in ftnames.[ch]) minor other doc fixes
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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165
diff --git a/Makefile b/Makefile
index a7c4b56..04881c0 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,16 @@
#
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Project names
#
PROJECT := freetype
diff --git a/builds/ansi/ansi-def.mk b/builds/ansi/ansi-def.mk
index a20dbd3..3a35255 100644
--- a/builds/ansi/ansi-def.mk
+++ b/builds/ansi/ansi-def.mk
@@ -1,7 +1,18 @@
#
-# configuration rules for a `normal' ANSI system
+# FreeType 2 configuration rules for a `normal' ANSI system
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
ifndef TOP
TOP := .
endif
diff --git a/builds/ansi/ansi.mk b/builds/ansi/ansi.mk
index 8944753..92cbadf 100644
--- a/builds/ansi/ansi.mk
+++ b/builds/ansi/ansi.mk
@@ -2,6 +2,17 @@
# FreeType 2 configuration rules for a `normal' pseudo ANSI compiler/system
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/ansi/ansi-def.mk
include $(TOP)/builds/compiler/ansi-cc.mk
diff --git a/builds/compiler/ansi-cc.mk b/builds/compiler/ansi-cc.mk
index 6faeab1..3e4a125 100644
--- a/builds/compiler/ansi-cc.mk
+++ b/builds/compiler/ansi-cc.mk
@@ -1,8 +1,18 @@
-# Copyright 2000 David Turner
#
-# generic pseudo ANSI compiler
+# FreeType 2 generic pseudo ANSI compiler
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Compiler command line name
#
CC := cc
diff --git a/builds/compiler/gcc-dev.mk b/builds/compiler/gcc-dev.mk
index 12ec3a6..c03b29b 100644
--- a/builds/compiler/gcc-dev.mk
+++ b/builds/compiler/gcc-dev.mk
@@ -1,8 +1,18 @@
-# Copyright 2000 David Turner
#
-# gcc-specific with NO OPTIMIZATIONS + DEBUGGING
+# FreeType 2 gcc-specific with NO OPTIMIZATIONS + DEBUGGING
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Compiler command line name
#
CC := gcc
diff --git a/builds/compiler/gcc.mk b/builds/compiler/gcc.mk
index e1d4706..8fb4a96 100644
--- a/builds/compiler/gcc.mk
+++ b/builds/compiler/gcc.mk
@@ -1,8 +1,18 @@
-# Copyright 2000 David Turner
#
-# gcc-specific definitions
+# FreeType 2 gcc-specific definitions
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Compiler command line name
#
CC := gcc
diff --git a/builds/compiler/visualage.mk b/builds/compiler/visualage.mk
index 7a745cf..7d5533b 100644
--- a/builds/compiler/visualage.mk
+++ b/builds/compiler/visualage.mk
@@ -1,7 +1,18 @@
#
-# Visual Age C++ specific definitions
+# FreeType 2 Visual Age C++ specific definitions
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# command line compiler name
#
CC := icc
diff --git a/builds/compiler/visualc.mk b/builds/compiler/visualc.mk
index e0630b6..432f7af 100644
--- a/builds/compiler/visualc.mk
+++ b/builds/compiler/visualc.mk
@@ -1,7 +1,18 @@
#
-# Visual C++ definitions
+# FreeType 2 Visual C++ definitions
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# compiler command line name
#
CC := cl
diff --git a/builds/compiler/win-lcc.mk b/builds/compiler/win-lcc.mk
index b734882..6772686 100644
--- a/builds/compiler/win-lcc.mk
+++ b/builds/compiler/win-lcc.mk
@@ -1,7 +1,18 @@
#
-# Win32-LCC specific definitions
+# FreeType 2 Win32-LCC specific definitions
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Command line name
#
CC := lcc
diff --git a/builds/cygwin/cygwin-dev.mk b/builds/cygwin/cygwin-dev.mk
index b9d7a5b..a38367c 100644
--- a/builds/cygwin/cygwin-dev.mk
+++ b/builds/cygwin/cygwin-dev.mk
@@ -5,6 +5,17 @@
# and no installation
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/cygwin/cygwinddef.mk
include $(TOP)/builds/compiler/gcc-dev.mk
include $(TOP)/builds/link_std.mk
diff --git a/builds/cygwin/cygwin.mk b/builds/cygwin/cygwin.mk
index 659a25f..916d12d 100644
--- a/builds/cygwin/cygwin.mk
+++ b/builds/cygwin/cygwin.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 configuration file for CygWin host platform.
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/cygwin/cygwin-def.mk
include $(TOP)/builds/cygwin/cygwin-cc.mk
diff --git a/builds/cygwin/cygwinddef.mk b/builds/cygwin/cygwinddef.mk
index 1b2dba1..3e9d918 100644
--- a/builds/cygwin/cygwinddef.mk
+++ b/builds/cygwin/cygwinddef.mk
@@ -1,8 +1,9 @@
#
# FreeType 2 configuration rules templates for
-# development under Unix with no configure (gcc only)
+# development under Unix-like platforms with no configure script (gcc only)
#
+
# Copyright 1996-2000 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
@@ -12,6 +13,7 @@
# indicate that you have read the license and understand and accept it
# fully.
+
ifndef TOP
TOP := .
endif
diff --git a/builds/cygwin/install.mk b/builds/cygwin/install.mk
index 93ef183..ae6a85f 100644
--- a/builds/cygwin/install.mk
+++ b/builds/cygwin/install.mk
@@ -1,8 +1,18 @@
#
-# installation instructions for Unix systems
-# this file is FreeType-specific
+# FreeType 2 installation instructions for Unix-like systems
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Unix installation and deinstallation targets.
install: $(PROJECT_LIBRARY)
diff --git a/builds/dos/dos-def.mk b/builds/dos/dos-def.mk
index a705562..000bcd2 100644
--- a/builds/dos/dos-def.mk
+++ b/builds/dos/dos-def.mk
@@ -1,8 +1,17 @@
#
-# Copyright 2000 David Turner <david.turner@freetype.org>
+# FreeType 2 DOS specific definitions
#
-# DOS specific definitions
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
DELETE := del
HOSTSEP := $(strip \ )
diff --git a/builds/dos/dos-gcc.mk b/builds/dos/dos-gcc.mk
index cd068ef..c283bab 100644
--- a/builds/dos/dos-gcc.mk
+++ b/builds/dos/dos-gcc.mk
@@ -2,6 +2,17 @@
# FreeType 2 configuration rules for the DJGPP compiler
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
SEP := /
CLEAN_LIBRARY := $(DELETE) $@
include $(TOP)/builds/dos/dos-def.mk
diff --git a/builds/link_dos.mk b/builds/link_dos.mk
index 87d0e39..ee6fe69 100644
--- a/builds/link_dos.mk
+++ b/builds/link_dos.mk
@@ -2,6 +2,17 @@
# Link instructions for Dos-like systems (Dos, Win32, OS/2)
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
ifdef BUILD_PROJECT
# Now include the main sub-makefile. It contains all the rules used to
diff --git a/builds/link_std.mk b/builds/link_std.mk
index 06fcfb5..d9fc955 100644
--- a/builds/link_std.mk
+++ b/builds/link_std.mk
@@ -2,6 +2,17 @@
# Link instructions for standard systems
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
ifdef BUILD_PROJECT
# Now include the main sub-makefile. It contains all the rules used to
diff --git a/builds/modules.mk b/builds/modules.mk
index 729d7bc..68f3d6b 100644
--- a/builds/modules.mk
+++ b/builds/modules.mk
@@ -2,6 +2,7 @@
# FreeType 2 modules sub-Makefile
#
+
# Copyright 1996-2000 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
diff --git a/builds/os2/os2-def.mk b/builds/os2/os2-def.mk
index 284aae7..486b978 100644
--- a/builds/os2/os2-def.mk
+++ b/builds/os2/os2-def.mk
@@ -1,8 +1,17 @@
#
-# Copyright 2000 David Turner <david.turner@freetype.org>
+# FreeType 2 OS/2 specific definitions
#
-# OS/2 specific definitions
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
DELETE := del
HOSTSEP := $(strip \ )
diff --git a/builds/toplevel.mk b/builds/toplevel.mk
index fb2c5dd..fc7461f 100644
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -2,7 +2,15 @@
# FreeType build system -- top-level sub-Makefile
#
-# Copyright 2000 by David Turner
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
# This file is designed for GNU Make, do not use it with another Make tool!
diff --git a/builds/unix/install.mk b/builds/unix/install.mk
index c512925..24037a3 100644
--- a/builds/unix/install.mk
+++ b/builds/unix/install.mk
@@ -1,8 +1,18 @@
#
-# installation instructions for Unix systems --
-# this file is FreeType-specific
+# FreeType 2 installation instructions for Unix systems
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# Unix installation and deinstallation targets.
install: $(PROJECT_LIBRARY)
$(MKINSTALLDIRS) $(libdir) \
diff --git a/builds/unix/unix-dev.mk b/builds/unix/unix-dev.mk
index cc06f84..1dcd9ee 100644
--- a/builds/unix/unix-dev.mk
+++ b/builds/unix/unix-dev.mk
@@ -2,9 +2,20 @@
# FreeType 2 Configuration rules for Unix + GCC
#
# Development version without optimizations & libtool
-# and no installation..
+# and no installation.
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/unix/unixddef.mk
include $(TOP)/builds/compiler/gcc-dev.mk
include $(TOP)/builds/link_std.mk
diff --git a/builds/unix/unix.mk b/builds/unix/unix.mk
index 540ebf8..f904548 100644
--- a/builds/unix/unix.mk
+++ b/builds/unix/unix.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 configuration rules for UNIX platforms
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/unix/unix-def.mk
include $(TOP)/builds/unix/unix-cc.mk
diff --git a/builds/unix/unixddef.mk b/builds/unix/unixddef.mk
index 6b78ca6..242e965 100644
--- a/builds/unix/unixddef.mk
+++ b/builds/unix/unixddef.mk
@@ -3,6 +3,7 @@
# development under Unix with no configure script (gcc only)
#
+
# Copyright 1996-2000 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
diff --git a/builds/win32/w32-dev.mk b/builds/win32/w32-dev.mk
index f3f117c..fc3ed10 100644
--- a/builds/win32/w32-dev.mk
+++ b/builds/win32/w32-dev.mk
@@ -1,5 +1,5 @@
#
-# FreeType 2 Configuration rules for Win32 + GCC
+# FreeType 2 configuration rules for Win32 + GCC
#
# Development version without optimizations.
#
@@ -13,7 +13,8 @@
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
# indicate that you have read the license and understand and accept it
# fully.
-#
+
+
# NOTE: This version requires that GNU Make is invoked from the Windows
# Shell (_not_ Cygwin BASH)!
#
diff --git a/builds/win32/w32-gcc.mk b/builds/win32/w32-gcc.mk
index 70eec1a..0aed554 100644
--- a/builds/win32/w32-gcc.mk
+++ b/builds/win32/w32-gcc.mk
@@ -1,7 +1,18 @@
#
-# FreeType 2 Configuration rules for Win32 + GCC
+# FreeType 2 configuration rules for Win32 + GCC
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
# the separator must be set before including win32-def
# as it defaults to "\" on Win32
SEP := /
diff --git a/builds/win32/w32-icc.mk b/builds/win32/w32-icc.mk
index 54fe5bb..49812ed 100644
--- a/builds/win32/w32-icc.mk
+++ b/builds/win32/w32-icc.mk
@@ -1,7 +1,18 @@
#
-# FreeType 2 Configuration rules for Win32 + IBM Visual Age C++
+# FreeType 2 configuration rules for Win32 + IBM Visual Age C++
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
include $(TOP)/builds/win32/win32-def.mk
include $(TOP)/builds/compiler/visualage.mk
diff --git a/builds/win32/w32-lcc.mk b/builds/win32/w32-lcc.mk
index 731b7c6..29473bc 100644
--- a/builds/win32/w32-lcc.mk
+++ b/builds/win32/w32-lcc.mk
@@ -1,7 +1,18 @@
#
-# Configuration rules for Win32 + LCC
+# FreeType 2 configuration rules for Win32 + LCC
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
SEP := /
include $(TOP)/builds/win32/win32-def.mk
include $(TOP)/builds/compiler/win-lcc.mk
diff --git a/builds/win32/w32-vcc.mk b/builds/win32/w32-vcc.mk
index 6e6e595..516b028 100644
--- a/builds/win32/w32-vcc.mk
+++ b/builds/win32/w32-vcc.mk
@@ -1,7 +1,18 @@
#
-# Visual C++ on Win32
+# FreeType 2 Visual C++ on Win32
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
SEP := /
include $(TOP)/builds/win32/win32-def.mk
include $(TOP)/builds/compiler/visualc.mk
diff --git a/builds/win32/win32-def.mk b/builds/win32/win32-def.mk
index c31b5e8..d1ba599 100644
--- a/builds/win32/win32-def.mk
+++ b/builds/win32/win32-def.mk
@@ -1,8 +1,18 @@
-# Copyright 2000 David Turner <david.turner@freetype.org>
#
-# Win32 specific definitions
+# FreeType 2 Win32 specific definitions
#
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
DELETE := del
HOSTSEP := $(strip \ )
BUILD := $(TOP)$(SEP)config$(SEP)win32
diff --git a/include/freetype/ftnames.h b/include/freetype/ftnames.h
index 642c166..ce3bf49 100644
--- a/include/freetype/ftnames.h
+++ b/include/freetype/ftnames.h
@@ -3,7 +3,7 @@
/* ftnames.h */
/* */
/* Simple interface to access SFNT name tables (which are used */
-/* to hold font names, copyright info, notices, etc.). */
+/* to hold font names, copyright info, notices, etc.) (specification). */
/* */
/* This is _not_ used to retrieve glyph names! */
/* */
@@ -31,6 +31,34 @@
#endif
+ /*************************************************************************/
+ /* */
+ /* <Struct> */
+ /* FT_SfntName */
+ /* */
+ /* <Description> */
+ /* A structure used to model an SFNT `name' table entry. */
+ /* */
+ /* <Fields> */
+ /* platform_id :: The platform ID for `string'. */
+ /* */
+ /* encoding_id :: The encoding ID for `string'. */
+ /* */
+ /* language_id :: The language ID for `string'. */
+ /* */
+ /* name_id :: An identifier for `string'. */
+ /* */
+ /* string :: The `name' string. Note that this string is in */
+ /* Pascal convention, i.e., the string hasn't a final */
+ /* null byte. */
+ /* */
+ /* string_len :: The length of `string' in bytes. */
+ /* */
+ /* <Note> */
+ /* Possible values for `platform_id', `encoding_id', `language_id', */
+ /* and `name_id' are given in the file `ttnameid.h'. For details */
+ /* please refer to the TrueType or OpenType specification. */
+ /* */
typedef struct FT_SfntName_
{
FT_UShort platform_id;
@@ -38,14 +66,56 @@
FT_UShort language_id;
FT_UShort name_id;
- FT_Byte* string;
+ FT_Byte* string; /* this string is *not* null-terminated! */
FT_UInt string_len; /* in bytes */
} FT_SfntName;
+ /*************************************************************************/
+ /* */
+ /* <Function> */
+ /* FT_Get_Sfnt_Name_Count */
+ /* */
+ /* <Description> */
+ /* Retrieves the number of name strings in the SFNT `name' table. */
+ /* */
+ /* <Input> */
+ /* face :: A handle to the source face. */
+ /* */
+ /* <Return> */
+ /* The number of strings in the `name' table. */
+ /* */
FT_EXPORT_DEF( FT_UInt ) FT_Get_Sfnt_Name_Count( FT_Face face );
-
+
+
+ /*************************************************************************/
+ /* */
+ /* <Function> */
+ /* FT_Get_Sfnt_Name */
+ /* */
+ /* <Description> */
+ /* Retrieves a string of the SFNT `name' table for a given index. */
+ /* */
+ /* <Input> */
+ /* face :: A handle to the source face. */
+ /* */
+ /* index :: The index of the `name' string. */
+ /* */
+ /* <Output> */
+ /* aname :: The indexed FT_SfntName structure. */
+ /* */
+ /* <Return> */
+ /* FreeType error code. 0 means success. */
+ /* */
+ /* <Note> */
+ /* The `string' array returned in the `aname' structure is not */
+ /* null-terminated. */
+ /* */
+ /* Use FT_Get_Sfnt_Name_Count() to get the total number of available */
+ /* `name' table entries, then do a loop until you get the right */
+ /* platform, encoding, and name ID. */
+ /* */
FT_EXPORT_DEF( FT_Error ) FT_Get_Sfnt_Name( FT_Face face,
FT_UInt index,
FT_SfntName* aname );
diff --git a/include/freetype/ftrender.h b/include/freetype/ftrender.h
index fe5acd2..cbdce39 100644
--- a/include/freetype/ftrender.h
+++ b/include/freetype/ftrender.h
@@ -174,10 +174,10 @@
/* */
/* This doesn't change the current renderer for other formats. */
/* */
- FT_EXPORT_DEF(FT_Error) FT_Set_Renderer( FT_Library library,
- FT_Renderer renderer,
- FT_UInt num_params,
- FT_Parameter* parameters );
+ FT_EXPORT_DEF( FT_Error ) FT_Set_Renderer( FT_Library library,
+ FT_Renderer renderer,
+ FT_UInt num_params,
+ FT_Parameter* parameters );
#ifdef __cplusplus
diff --git a/include/freetype/ttnameid.h b/include/freetype/ttnameid.h
index 6bd0815..b6aeb46 100644
--- a/include/freetype/ttnameid.h
+++ b/include/freetype/ttnameid.h
@@ -1,6 +1,6 @@
/***************************************************************************/
/* */
-/* ttmakeid.h */
+/* ttnameid.h */
/* */
/* TrueType name ID definitions (specification only). */
/* */
diff --git a/src/autohint/module.mk b/src/autohint/module.mk
index 71e5ee3..adbdc23 100644
--- a/src/autohint/module.mk
+++ b/src/autohint/module.mk
@@ -1,3 +1,21 @@
+#
+# FreeType 2 auto-hinter module definition
+#
+
+
+# Copyright 2000 Catharon Productions Inc.
+# Author: David Turner
+#
+# This file is part of the Catharon Typography Project and shall only
+# be used, modified, and distributed under the terms of the Catharon
+# Open Source License that should come with this file under the name
+# `CatharonLicense.txt'. By continuing to use, modify, or distribute
+# this file you indicate that you have read the license and
+# understand and accept it fully.
+#
+# Note that this license is compatible with the FreeType license.
+
+
make_module_list: add_autohint_module
add_autohint_module:
diff --git a/src/base/ftnames.c b/src/base/ftnames.c
index 852409f..2791e7c 100644
--- a/src/base/ftnames.c
+++ b/src/base/ftnames.c
@@ -3,7 +3,7 @@
/* ftnames.c */
/* */
/* Simple interface to access SFNT name tables (which are used */
-/* to hold font names, copyright info, notices, etc.). */
+/* to hold font names, copyright info, notices, etc.) (body). */
/* */
/* This is _not_ used to retrieve glyph names! */
/* */
@@ -26,12 +26,53 @@
#ifdef TT_CONFIG_OPTION_SFNT_NAMES
+ /*************************************************************************/
+ /* */
+ /* <Function> */
+ /* FT_Get_Sfnt_Name_Count */
+ /* */
+ /* <Description> */
+ /* Retrieves the number of name strings in the SFNT `name' table. */
+ /* */
+ /* <Input> */
+ /* face :: A handle to the source face. */
+ /* */
+ /* <Return> */
+ /* The number of strings in the `name' table. */
+ /* */
FT_EXPORT_FUNC( FT_UInt ) FT_Get_Sfnt_Name_Count( FT_Face face )
{
return face && ( FT_IS_SFNT( face ) ? ((TT_Face)face)->num_names : 0 );
}
+ /*************************************************************************/
+ /* */
+ /* <Function> */
+ /* FT_Get_Sfnt_Name */
+ /* */
+ /* <Description> */
+ /* Retrieves a string of the SFNT `name' table for a given index. */
+ /* */
+ /* <Input> */
+ /* face :: A handle to the source face. */
+ /* */
+ /* index :: The index of the `name' string. */
+ /* */
+ /* <Output> */
+ /* aname :: The indexed FT_SfntName structure. */
+ /* */
+ /* <Return> */
+ /* FreeType error code. 0 means success. */
+ /* */
+ /* <Note> */
+ /* The `string' array returned in the `aname' structure is not */
+ /* null-terminated. */
+ /* */
+ /* Use FT_Get_Sfnt_Name_Count() to get the total number of available */
+ /* `name' table entries, then do a loop until you get the right */
+ /* platform, encoding, and name ID. */
+ /* */
FT_EXPORT_FUNC( FT_Error ) FT_Get_Sfnt_Name( FT_Face face,
FT_UInt index,
FT_SfntName* aname )
diff --git a/src/cff/module.mk b/src/cff/module.mk
index 9bc5c8f..aae9bd7 100644
--- a/src/cff/module.mk
+++ b/src/cff/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 CFF module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_cff_driver
add_cff_driver:
diff --git a/src/cid/module.mk b/src/cid/module.mk
index 3d13c9c..f59d8a9 100644
--- a/src/cid/module.mk
+++ b/src/cid/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 CID module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_type1cid_driver
add_type1cid_driver:
diff --git a/src/psaux/module.mk b/src/psaux/module.mk
index cbc52c2..29c3e28 100644
--- a/src/psaux/module.mk
+++ b/src/psaux/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 PSaux module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_psaux_module
add_psaux_module:
diff --git a/src/psaux/rules.mk b/src/psaux/rules.mk
index b314a05..ae182e2 100644
--- a/src/psaux/rules.mk
+++ b/src/psaux/rules.mk
@@ -1,5 +1,5 @@
#
-# FreeType 2 PSAUX driver configuration rules
+# FreeType 2 PSaux driver configuration rules
#
diff --git a/src/psnames/module.mk b/src/psnames/module.mk
index 3d33c12..e1e59c4 100644
--- a/src/psnames/module.mk
+++ b/src/psnames/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 PSnames module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_psnames_module
add_psnames_module:
diff --git a/src/raster1/module.mk b/src/raster1/module.mk
index c1ceb21..351b843 100644
--- a/src/raster1/module.mk
+++ b/src/raster1/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 renderer module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_raster1_module
add_raster1_module:
diff --git a/src/sfnt/module.mk b/src/sfnt/module.mk
index 48b494f..52607e2 100644
--- a/src/sfnt/module.mk
+++ b/src/sfnt/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 SFNT module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_sfnt_module
add_sfnt_module:
diff --git a/src/smooth/module.mk b/src/smooth/module.mk
index b93bc4d..ead77cf 100644
--- a/src/smooth/module.mk
+++ b/src/smooth/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 smooth renderer module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_smooth_renderer
add_smooth_renderer:
diff --git a/src/smooth/rules.mk b/src/smooth/rules.mk
index a81d60a..62febfa 100644
--- a/src/smooth/rules.mk
+++ b/src/smooth/rules.mk
@@ -1,5 +1,5 @@
#
-# FreeType 2 renderer module build rules
+# FreeType 2 smooth renderer module build rules
#
diff --git a/src/truetype/module.mk b/src/truetype/module.mk
index 79072bb..bb042be 100644
--- a/src/truetype/module.mk
+++ b/src/truetype/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 TrueType module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_truetype_driver
add_truetype_driver:
diff --git a/src/type1z/module.mk b/src/type1z/module.mk
index 545887d..a9f9de4 100644
--- a/src/type1z/module.mk
+++ b/src/type1z/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 Type1z module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_type1_driver
add_type1_driver:
diff --git a/src/winfonts/module.mk b/src/winfonts/module.mk
index 5c12eb6..99be845 100644
--- a/src/winfonts/module.mk
+++ b/src/winfonts/module.mk
@@ -1,3 +1,18 @@
+#
+# FreeType 2 Windows FNT/FON module definition
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
make_module_list: add_windows_driver
add_windows_driver: