Thursday, December 27, 2007

Apple Mac OSX, Darwine Font Problems, freetype

There is no doubt that running windows application under Mac OSX can be really useful. The commercial method is either to use Parallels or VMWare as virtual machines. An alternative is to use an API layer such as WINE.

Wine for OSX on Intel has two versions, Darwine and Crossover. Darwine is free (GPL) while Crossover is not. Darwine simply runs the API layer, Crossover has the concept of 'bottles' to keep some separation.

When I tried to use Darwine I got the following error, and my chosen test W32 application failed to launch:

'Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.'

So off I went to see if I can get freetype.

Turns out that an installer has been created which sorts all this out. THANKS!!

The reason this is not needed with Crossover is that Crossover uses its own X system.

UPDATE: well this got rid of most of the errors. After a bit more searching I decided to download and make the required freetype stuff:

1 - Download freetype:

2 - doubleclick in the finder and it extracts the tar and then the bz2

3 - CD into wherever you parked it and then

4 - ./configure && make && sudo make install

I restart X11 for good measure.


Zee said...

Maybe you should try using freetype 2.3.5 instead of 2.1.x? It's newer and all.. Also thats the version the installer you linked to uses.

QuiteTall said...

Good idea... I have a new laptop, I'll give it a go!

Healey said...

Zee, this post was a year or two ago,I think that would be the latest version of the time =P