Freetype2 (for Windows)

welcome | personal | zeberdee | freetype

welcome | personal | zeberdee | for Windows

# Freetype (for Windows)

## Information

To learn all about Freetype, visit here.

## Freetype for Windows

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++.

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.

The usual rules apply:

- These files should be considered to be under the same licence agreement as The FreeType Project itself.
- Don’t blame me if they don’t work on your system... but please do contact me and I’ll try to sort things out.
- YMMV

## Download

You can download:

- Just the workspace and project files (for Freetype2 beta 8)

## How to use the Workspace and Project Files

These are some quick note that I’ve put together to help you get started. I hope they make sense ;-)

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.

Note the following:

- The workspace and project files should be put in your ‘freetype’ directory.
- It is assumed that the sample applications are in a directory called ‘demos’ in your ‘freetype’ directory.

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.

The ‘freetype’ project build a static library. There are four build options, which will result in the following being generated into the ‘lib’ directory in your ‘freetype’ directory):

- freetype200b8.lib - release build; single-threaded
- freetype200b8_D.lib - debug build; single-threaded
- freetype200b8MT.lib - release build; multi-threaded
- freetype200b8MT_D.lib - debug build; multi-threaded

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.