* builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html: updated the Visual C++ project (for the 2.0.4 release) * builds/unix/detect.mk: added rule for AIX detection (which uses /usr/sbin/init instead of /sbin/init, go figure..)
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
diff --git a/ChangeLog b/ChangeLog
index 47f9291..810dda2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2001-06-19 David Turner <david@freetype.org>
+ * builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html:
+ updated the Visual C++ project (for the 2.0.4 release)
+
+ * builds/unix/detect.mk: added rule for AIX detection (which uses
+ /usr/sbin/init instead of /sbin/init, go figure..)
+
* include/freetype/fterrors.h: updated some of the error macros to
simplify Werner's latest tricks :o)
diff --git a/builds/unix/detect.mk b/builds/unix/detect.mk
index 5f53f84..6af635c 100644
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -18,7 +18,7 @@ ifeq ($(PLATFORM),ansi)
# Note: this test is duplicated in "builds/toplevel.mk".
#
- is_unix := $(strip $(wildcard /sbin/init) $(wildcard /hurd/auth))
+ is_unix := $(strip $(wildcard /sbin/init) $(wildcard /usr/sbin/init) $(wildcard /hurd/auth))
ifneq ($(is_unix),)
PLATFORM := unix
diff --git a/builds/win32/visualc/freetype.dsp b/builds/win32/visualc/freetype.dsp
index 831bc18..b7a1cb1 100644
--- a/builds/win32/visualc/freetype.dsp
+++ b/builds/win32/visualc/freetype.dsp
@@ -43,7 +43,7 @@ RSC=rc.exe
# PROP Intermediate_Dir "..\..\..\objs\release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
-# ADD CPP /nologo /Za /W3 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /c
+# ADD CPP /nologo /Za /W4 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
@@ -52,7 +52,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype202.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype204.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Debug"
@@ -67,7 +67,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "..\..\..\objs\debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
-# ADD CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /FD /GZ /c
+# ADD CPP /nologo /Za /W4 /Gm /GX /ZI /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
@@ -76,7 +76,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype202_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype204_D.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Debug Multithreaded"
@@ -92,7 +92,7 @@ LIB32=link.exe -lib
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Za /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /GZ /c
# SUBTRACT BASE CPP /X
-# ADD CPP /nologo /MTd /Za /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /FD /GZ /c
+# ADD CPP /nologo /MTd /Za /W4 /Gm /GX /ZI /Od /I "..\..\..\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_DEBUG_LEVEL_ERROR" /D "FT_DEBUG_LEVEL_TRACE" /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
@@ -101,7 +101,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"lib\freetype200b8_D.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype202MT_D.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype204MT_D.lib"
!ELSEIF "$(CFG)" == "freetype - Win32 Release Multithreaded"
@@ -116,7 +116,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "..\..\..\objs\release_mt"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /Za /W3 /GX /O2 /I "..\freetype\include\\" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "FT_FLAT_COMPILE" /YX /FD /c
-# ADD CPP /nologo /MT /Za /W3 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /c
+# ADD CPP /nologo /MT /Za /W4 /GX /O2 /I "..\..\..\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /c
# SUBTRACT CPP /YX
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
@@ -125,7 +125,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LIB32=link.exe -lib
# ADD BASE LIB32 /nologo /out:"lib\freetype200b8.lib"
-# ADD LIB32 /nologo /out:"..\..\..\objs\freetype202MT.lib"
+# ADD LIB32 /nologo /out:"..\..\..\objs\freetype204MT.lib"
!ENDIF
@@ -141,17 +141,6 @@ LIB32=link.exe -lib
# Begin Source File
SOURCE=..\..\..\src\autohint\autohint.c
-
-!IF "$(CFG)" == "freetype - Win32 Release"
-
-!ELSEIF "$(CFG)" == "freetype - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "freetype - Win32 Debug Multithreaded"
-
-!ELSEIF "$(CFG)" == "freetype - Win32 Release Multithreaded"
-
-!ENDIF
-
# End Source File
# Begin Source File
diff --git a/builds/win32/visualc/freetype.dsw b/builds/win32/visualc/freetype.dsw
index f81ae05..b1b375d 100644
--- a/builds/win32/visualc/freetype.dsw
+++ b/builds/win32/visualc/freetype.dsw
@@ -7,10 +7,6 @@ Project: "freetype"=.\freetype.dsp - Package Owner=<4>
Package=<5>
{{{
- begin source code control
- "$/DEV/freetype", KAOAAAAA
- .
- end source code control
}}}
Package=<4>
@@ -19,71 +15,10 @@ Package=<4>
###############################################################################
-Project: "ftdump"=.\ftdump.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- "$/DEV/freetype", KAOAAAAA
- .
- end source code control
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name freetype
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "ftstring"=.\ftstring.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- "$/DEV/freetype", KAOAAAAA
- .
- end source code control
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name freetype
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "ftview"=.\ftview.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
- begin source code control
- "$/DEV/freetype", KAOAAAAA
- .
- end source code control
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name freetype
- End Project Dependency
-}}}
-
-###############################################################################
-
Global:
Package=<5>
{{{
- begin source code control
- "$/DEV/freetype", KAOAAAAA
- .
- end source code control
}}}
Package=<3>
diff --git a/builds/win32/visualc/ftdump.dsp b/builds/win32/visualc/ftdump.dsp
deleted file mode 100644
index ca34a4a..0000000
--- a/builds/win32/visualc/ftdump.dsp
+++ /dev/null
@@ -1,118 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ftdump" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ftdump - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ftdump.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ftdump.mak" CFG="ftdump - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ftdump - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ftdump - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""$/DEV/freetype", KAOAAAAA"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ftdump - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "demos/obj/ftdump/release"
-# PROP Intermediate_Dir "demos/obj/ftdump/release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "..\freetype\include\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8.lib /nologo /subsystem:console /machine:I386
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftdump\release\ftdump.exe
-TargetName=ftdump
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ELSEIF "$(CFG)" == "ftdump - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "ftdump___Win32_Debug"
-# PROP BASE Intermediate_Dir "ftdump___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "demos/obj/ftdump/debug"
-# PROP Intermediate_Dir "demos/obj/ftdump/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8_D.lib /nologo /subsystem:console /debug /machine:I386 /out:"demos/obj/ftdump/debug/ftdump_D.exe" /pdbtype:sept
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftdump\debug\ftdump_D.exe
-TargetName=ftdump_D
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ENDIF
-
-# Begin Target
-
-# Name "ftdump - Win32 Release"
-# Name "ftdump - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\demos\src\common.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\src\ftdump.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/builds/win32/visualc/ftstring.dsp b/builds/win32/visualc/ftstring.dsp
deleted file mode 100644
index 9e0e68f..0000000
--- a/builds/win32/visualc/ftstring.dsp
+++ /dev/null
@@ -1,142 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ftstring" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ftstring - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ftstring.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ftstring.mak" CFG="ftstring - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ftstring - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ftstring - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""$/DEV/freetype", KAOAAAAA"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ftstring - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "demos/obj/ftstring/release"
-# PROP Intermediate_Dir "demos/obj/ftstring/release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "..\freetype\include\\" /I "demos\graph" /I "demos\graph\win32" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "FT_FLAT_COMPILE" /D "DEVICE_WIN32" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8.lib /nologo /subsystem:console /machine:I386
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftstring\release\ftstring.exe
-TargetName=ftstring
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ELSEIF "$(CFG)" == "ftstring - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "ftstring___Win32_Debug"
-# PROP BASE Intermediate_Dir "ftstring___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "demos/obj/ftstring/debug"
-# PROP Intermediate_Dir "demos/obj/ftstring/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /I "demos\graph" /I "demos\graph\win32" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "FT_FLAT_COMPILE" /D "DEVICE_WIN32" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8_D.lib /nologo /subsystem:console /debug /machine:I386 /out:"demos/obj/ftstring/debug/ftstring_D.exe" /pdbtype:sept
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftstring\debug\ftstring_D.exe
-TargetName=ftstring_D
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ENDIF
-
-# Begin Target
-
-# Name "ftstring - Win32 Release"
-# Name "ftstring - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\demos\src\common.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\src\ftstring.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grblit.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grdevice.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grfont.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grinit.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grobjs.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\win32\grwin32.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/builds/win32/visualc/ftview.dsp b/builds/win32/visualc/ftview.dsp
deleted file mode 100644
index 4959216..0000000
--- a/builds/win32/visualc/ftview.dsp
+++ /dev/null
@@ -1,142 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ftview" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=ftview - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ftview.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ftview.mak" CFG="ftview - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ftview - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "ftview - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""$/DEV/freetype", KAOAAAAA"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ftview - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "demos/obj/ftview/release"
-# PROP Intermediate_Dir "demos/obj/ftview/release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "..\freetype\include\\" /I "demos\graph" /I "demos\graph\win32" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "FT_FLAT_COMPILE" /D "DEVICE_WIN32" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8.lib /nologo /subsystem:console /machine:I386
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftview\release\ftview.exe
-TargetName=ftview
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ELSEIF "$(CFG)" == "ftview - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "ftview___Win32_Debug"
-# PROP BASE Intermediate_Dir "ftview___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "demos/obj/ftview/debug"
-# PROP Intermediate_Dir "demos/obj/ftview/debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\freetype\include\\" /I "demos\graph" /I "demos\graph\win32" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "FT_FLAT_COMPILE" /D "DEVICE_WIN32" /YX /FD /GZ /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib lib\freetype200b8_D.lib /nologo /subsystem:console /debug /machine:I386 /out:"demos/obj/ftview/debug/ftview_D.exe" /pdbtype:sept
-# Begin Special Build Tool
-TargetPath=.\demos\obj\ftview\debug\ftview_D.exe
-TargetName=ftview_D
-SOURCE="$(InputPath)"
-PostBuild_Cmds=echo copy $(TargetPath) .\demos\bin\$(TargetName).exe copy $(TargetPath) .\demos\bin\$(TargetName).exe
-# End Special Build Tool
-
-!ENDIF
-
-# Begin Target
-
-# Name "ftview - Win32 Release"
-# Name "ftview - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\demos\src\common.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\src\ftview.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grblit.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grdevice.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grfont.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grinit.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\grobjs.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\demos\graph\win32\grwin32.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/builds/win32/visualc/index.html b/builds/win32/visualc/index.html
index a47fee5..4f365c9 100644
--- a/builds/win32/visualc/index.html
+++ b/builds/win32/visualc/index.html
@@ -1,91 +1,27 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- saved from url=(0043)http://www.homepages.lu/somers/freetype.htm -->
-<HTML lang=en><HEAD><TITLE>Freetype2 (for Windows)</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=utf-8">
-<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
-<BODY text=#000000 vLink=#800080 link=#0000ff bgColor=#ffff00><!-- site navigation links -->
-<TABLE cellSpacing=2 cellPadding=2 summary="site navigation links">
- <TBODY>
- <TR>
- <TD align=left><A
- href="http://www.homepages.lu/somers/index.htm"><B>welcome</B></A></TD>
- <TD align=left><A
- href="http://www.homepages.lu/somers/bio-whoami.htm"><B>personal</B></A></TD>
- <TD align=left><A
- href="http://www.homepages.lu/somers/zeb-intro.htm"><B>zeberdee</B></A></TD>
- <TD align=left bgColor=maroon><FONT
- color=white><B>freetype</B></FONT></TD></TR></TBODY></TABLE>
-<TABLE cellSpacing=2 cellPadding=2 summary="site navigation links">
- <TBODY>
- <TR>
- <TD align=left><FONT color=#ffff00><B>welcome</B></FONT></TD>
- <TD align=left><FONT color=#ffff00><B>personal</B></FONT></TD>
- <TD align=left><FONT color=#ffff00><B>zeberdee</B></FONT></TD>
- <TD align=left bgColor=maroon><FONT color=white><B>for
- Windows</B></FONT></TD></TR></TBODY></TABLE><BR><!-- topic -->
-<HR>
+<html>
+<header>
+<title>FreeType 2 Project Files for Visual C++</title>
+</header>
+<body>
-<H1>Freetype (for Windows)</H1><!-- block -->
-<HR>
+<h1>FreeType 2 Project Files for Visual C++</h1>
-<H2>Information</H2>
-<P>To learn all about Freetype, visit <A
-href="http://www.freetype.org">here</A>.</P><!-- block -->
-<HR>
+<p>This directory contains a project file for Visual C++, named
+ <tt>freetype.dsp</tt>. It will compile the following libraries
+ from the FreeType 2.0.4 sources:</p>
+
+<ul>
+ <pre>
+ freetype204.lib - release build; single threaded
+ freetype204_D.lib - debug build; single threaded
+ freetype204MT.lib - release build; multi-threaded
+ freetype204MT_D.lib - debug build; multi-threaded
+ </pre>
+</ul>
-<H2>Freetype for Windows</H2>
-<P>One of the problems with The Freetype Project is that it doesn’t come with
-any nice workspace and project files for use with MS Visual C++.</P>
-<P>So, as I’ve been using Freetype within some of my own software, I’ve had to
-create these file for myself, and I herewith provide them back to the open
-source community.</P>
-<P>The usual rules apply:</P>
-<UL type=square>
- <LI>These files should be considered to be under the same licence agreement as
- The FreeType Project itself.
- <LI>Don’t blame me if they don’t work on your system... but please do <A
- href="http://www.homepages.lu/somers/bio-contact.htm">contact</A> me and I’ll
- try to sort things out.
- <LI>YMMV </LI></UL><!-- block -->
-<HR>
+<p>Build directories are placed in the top-level "objs" directory</p>
-<H2>Download</H2>
-<P>You can download:
-<P>
-<UL type=square>
- <LI><A href="http://www.homepages.lu/somers/freetype200b8-msvc.zip">Just the
- workspace and project files</A> (for Freetype2 beta 8) </LI></UL><!-- block -->
-<HR>
+<p>Enjoy :-)</p>
-<H2>How to use the Workspace and Project Files</H2>
-<P>These are some quick note that I’ve put together to help you get started. I
-hope they make sense ;-)</P>
-<P>The project files have been set up in such a manner than no changes are
-necessary to either the Freetype2 source code, or any environment or VC settings
-for things like include folders, etc... in other words, this is a very clean
-implementation.</P>
-<P>Note the following:</P>
-<UL type=square>
- <LI>The workspace and project files should be put in your ‘freetype’
- directory.
- <LI>It is assumed that the sample applications are in a directory called
- ‘demos’ in your ‘freetype’ directory. </LI></UL>
-<P>When you open up the workspace, and perhaps also the project files within,
-you might get some error message to do with Visual Source Safe... do not panic,
-and simply ignore these warnings, choose not to use VSS in future, save the
-workspace/project files, and all should be well.</P>
-<P>The ‘freetype’ project build a <B>static</B> library. There are four build
-options, which will result in the following being generated into the ‘lib’
-directory in your ‘freetype’ directory):</P>
-<UL type=square>
- <LI>freetype200b8.lib - release build; single-threaded
- <LI>freetype200b8_D.lib - debug build; single-threaded
- <LI>freetype200b8MT.lib - release build; multi-threaded
- <LI>freetype200b8MT_D.lib - debug build; multi-threaded </LI></UL>
-<P>The ‘ftdump’, ‘ftstring’, and ‘ftview’ projects build the respective sample
-applications. The binaries are placed into the ‘bin’ directory in the ‘demos’
-directory. Note that if you build the debug versions, the filenames have a ‘_D’
-suffix.</P><!-- validated -->
-<HR>
-<BR>
-<!-- --></BODY></HTML>
+</body>
+</html>
\ No newline at end of file
diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c
index d60f723..1b1f4d2 100644
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -563,7 +563,7 @@ THE SOFTWARE.
FT_Long* offsets;
FT_Long bitmapSizes[GLYPHPADOPTIONS];
FT_ULong format, size;
- int nbitmaps, i, sizebitmaps;
+ int nbitmaps, i, sizebitmaps = 0;
char* bitmaps;